aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-logilab-astng/APKBUILD
blob: 31fc3f4a811e972feeecf870355d64ac793f4f96 (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
_pkgname=logilab-astng
pkgver=0.24.3
pkgrel=1
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="python2-dev py-logilab-common"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/logilab-astng-$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"