diff options
-rw-r--r-- | testing/py3-astroid/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/testing/py3-astroid/APKBUILD b/testing/py3-astroid/APKBUILD index 10f4042059..38f2c5b1c1 100644 --- a/testing/py3-astroid/APKBUILD +++ b/testing/py3-astroid/APKBUILD @@ -2,15 +2,16 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py3-astroid _pkgname=astroid -pkgver=1.6.0 -pkgrel=1 +pkgver=2.2.5 +pkgrel=0 pkgdesc="A new abstract syntax tree from Python's ast" -url="http://www.astroid.org/" +url="https://www.astroid.org" arch="noarch" -license="LGPL-2.0-or-later" +license="LGPL-2.1-or-later" depends="py3-lazy-object-proxy py3-six py3-typed-ast py3-wrapt" replaces="py-logilab-astng" makedepends="py3-setuptools" +checkdepends="py3-pytest py3-pytest-runner" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver @@ -18,8 +19,12 @@ build() { python3 setup.py build } +check() { + python3 -m pytest -v +} + package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="6a384b2bd3b4ee686c2f9a69d10f4391e5950869d75808312b2715a620ba7caa706bd88a5e021ea2250cf16ff8013cf0b332faee0b07dd7b5e1baf11e65d0ac3 astroid-1.6.0.tar.gz" +sha512sums="71c8c26314f666e2b9519a83dd9476fbfe0ad7d72f5308f6a94b83c5442dc695bc3e51155df45586ff2ff0eec522a02286d00ac566d542f0b82e5e0d0d7d9c65 astroid-2.2.5.tar.gz" |