aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-astroid/APKBUILD
blob: 7da186c70bd216270ac08792ca8754450f114693 (plain) (blame)
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.4.3
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="python2-dev py-setuptools py-logilab-common"
install=""
subpackages=""
source="https://files.pythonhosted.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="71a7f3c1d0effab87e83299ef7f244c2  astroid-1.4.3.tar.gz"
sha256sums="8e9ce4e925a17442cec085a7fce05478b99e482c13819c619b7cdd793777bf6b  astroid-1.4.3.tar.gz"
sha512sums="a4c607ef16bda0561254fa177c319e6f139de12385a277e780c8db641a4aac3cc49712be3bf9b529609f3e303194d1caa7ba44b564662aaf32c6847aab4808d0  astroid-1.4.3.tar.gz"