aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-logilab-astng/APKBUILD
blob: b74b989a480df59e9ace6fb804fdac165faa662b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-logilab-astng
_realname=logilab-astng
pkgver=0.24.1
pkgrel=0
pkgdesc="Rebuild a new abstract syntax tree from Python's ast"
url="http://pypi.python.org/pypi/logilab-astng"
arch="noarch"
license="GPL2+"
depends="python py-logilab-common"
depends_dev=""
makedepends="python-dev py-logilab-common"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/l/"$_realname"/"$_realname"-$pkgver.tar.gz"
_builddir="$srcdir"/"$_realname"-$pkgver

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
	rm -f "$pkgdir"/usr/lib/python2.?/site-packages/logilab/__init__.*
}

md5sums="ddaf66e4d85714d9c47a46d4bed406de  logilab-astng-0.24.1.tar.gz"