1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/community/py3-astroid/APKBUILD
2021-08-04 11:30:43 +00:00

32 lines
955 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-astroid
pkgver=2.6.5
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="
0f2096f2a823c748f229c2c7b55194c50e41442c0b13659696b320f768c99702e02524ee150127369cf321d3e595bd9389689cf3847a4948cb1284fea3786852 astroid-2.6.5.tar.gz
"