aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-astroid/APKBUILD
blob: 54f7c3859f7af12287256a4f1db43b3a5d3e5e6a (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
33
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-astroid
_pkgname=astroid
pkgver=1.1.1
pkgrel=0
pkgdesc="A new abstract syntax tree from Python's ast"
url="http://www.astroid.org/"
arch="noarch"
license="LGPL2+"
depends="python py-logilab-common"
depends_dev=""
replaces="py-logilab-astng"
makedepends="python-dev py-setuptools py-logilab-common"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/"$_pkgname"-$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="b8153df72670f62bd8d6bc8be99cd184  astroid-1.1.1.tar.gz"
sha256sums="780735cb451f5ae982bfa8a6b80866305e3eb9cbdd68e58d79afd94feb00e1f4  astroid-1.1.1.tar.gz"
sha512sums="98d3c2aaa6686a5080886f74da33fb72842ad90ee6ed5ea4a74fce974b3745e351609a6be1565543ba4dd29b6b793cbb8629426fed39587d99d5e3f2bca92ff6  astroid-1.1.1.tar.gz"