aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-astroid/APKBUILD
blob: 9eef087f3768418182c66eac31b3ddbd4f529e9d (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-astroid
pkgver=2.5.8
pkgrel=0
pkgdesc="A new abstract syntax tree from Python's ast"
url="https://www.astroid.org"
arch="noarch"
license="LGPL-2.1-or-later"
depends="py3-lazy-object-proxy py3-typed-ast py3-wrapt"
replaces="py-logilab-astng"
makedepends="py3-setuptools py3-setuptools_scm"
checkdepends="py3-pytest py3-pytest-runner"
source="https://files.pythonhosted.org/packages/source/a/astroid/astroid-$pkgver.tar.gz"
builddir="$srcdir/astroid-$pkgver"
options="!check" # PyPI archive doesn't contain tests anymore

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
d57a07d7398a4d65ef8c760ada30d62eaf65717d0820a8f0ea11701ceddb8ca20712fd36d1be00ee5ff3f637d08089bcb93db1ba1413d45c2c695a1522772916  astroid-2.5.8.tar.gz
"