PKGBUILDs/extra/python-logilab-astng/PKGBUILD

23 lines
697 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 33689 2009-04-04 16:23:11Z alexanderf $
# Maintainer: Alexander Fehr <pizzapunk gmail com>
pkgname=python-logilab-astng
pkgver=0.19.0
pkgrel=1
pkgdesc="Extend python's abstract syntax tree"
arch=('i686' 'x86_64')
url="http://www.logilab.org/project/logilab-astng"
license=('GPL')
depends=('python-logilab-common')
source=(ftp://ftp.logilab.org/pub/astng/logilab-astng-$pkgver.tar.gz)
md5sums=('9478141bd45c1a1e72621797c94f18d3')
build() {
cd "$srcdir/logilab-astng-$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
# Resolve conflict with python-logilab-common
rm -f "$pkgdir/usr/lib/python2.6/site-packages/logilab/__init__.py" || return 1
}