X-Git-Url: https://git.sev.monster/aports.git/blobdiff_plain/967cdf8e2fc7087383a5a3b31106987bc14a7074..c5369960598d383f75e5bc5ee570dbd136444bc9:/testing/py3-iso3166/APKBUILD?ds=sidebyside diff --git a/testing/py3-iso3166/APKBUILD b/testing/py3-iso3166/APKBUILD index 7b018d8..297e854 100644 --- a/testing/py3-iso3166/APKBUILD +++ b/testing/py3-iso3166/APKBUILD @@ -1,5 +1,5 @@ -# Contributor: sev -# Maintainer: sev +# Contributor: sev +# Maintainer: sev _pkgname=iso3166 pkgname=py3-$_pkgname pkgver=2.1.1 @@ -14,6 +14,10 @@ checkdepends="py3-pytest" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver +check() { + PYTHONPATH="$builddir"/build/lib py.test +} + build() { python3 setup.py build } @@ -22,9 +26,6 @@ package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -check() { - PYTHONPATH=build/lib${PYTHONPATH:+:$PYTHONPATH} python3 -m pytest -} sha512sums=" b427c58ab44abd21a985b0d2b0ea48576cd0fd0d4383d7c53492961d3649c7829acebff66984ce74a02b4f3315c3cfc57dc29fd033f6d6dd7606aca43bfb6401 iso3166-2.1.1.tar.gz "