summaryrefslogtreecommitdiffstats
path: root/testing/py-logilab-astng/APKBUILD
blob: 8866b4e76215e51a3bb0d927598563471699ee75 (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
31
32
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-logilab-astng
_realname=logilab-astng
pkgver=0.24.3
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="f0dd5dee1d5053939da174e1bfe69388  logilab-astng-0.24.3.tar.gz"
sha256sums="e08fba39689e5a4dfa175749874811e516f019656544874defe05154073f69d4  logilab-astng-0.24.3.tar.gz"
sha512sums="fb1e46ebf7111d727cd9d187968cb349dc23dfba0d4d8c6c793a8c081d4506f11e488074cc51b632c525aa264cfa50279dda90f0cf35dc2120ebbf4714902525  logilab-astng-0.24.3.tar.gz"