]> git.sev.monster Git - aports.git/blobdiff - testing/py3-iso3166/APKBUILD
testing/mympd: upgrade to 18.1.2
[aports.git] / testing / py3-iso3166 / APKBUILD
index a4f08d670aa4d4bdc632ac607218731cba93271e..18023b0d5b488f5e396ffa8008ef212751671672 100644 (file)
@@ -1,9 +1,9 @@
-# Contributor: sev <alpine@sev.monster>
-# Maintainer: sev <alpine@sev.monster>
+# Contributor: sev <sev+alpine@sev.monster>
+# Maintainer: sev <sev+alpine@sev.monster>
 _pkgname=iso3166
 pkgname=py3-$_pkgname
-pkgver=2.0.2
-pkgrel=0
+pkgver=2.1.1
+pkgrel=2
 pkgdesc="Self-contained ISO 3166-1 country definitions."
 url="https://github.com/deactivated/python-iso3166"
 arch="noarch"
@@ -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() {
-       python3 -m pytest
-}
 sha512sums="
-eb5c27c69e29c4312f3a5146206032aae49ee489d9a5987fce1fb66bae9d93ec252bf7fd1119403a278f66adaa5ce1c77fe8d3a1622c46ae4a291d73e5c9fb21  iso3166-2.0.2.tar.gz
+b427c58ab44abd21a985b0d2b0ea48576cd0fd0d4383d7c53492961d3649c7829acebff66984ce74a02b4f3315c3cfc57dc29fd033f6d6dd7606aca43bfb6401  iso3166-2.1.1.tar.gz
 "
This page took 0.029545 seconds and 4 git commands to generate.