diff options
author | prspkt <prspkt@protonmail.com> | 2019-08-10 20:47:39 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-08-10 20:47:39 +0300 |
commit | 99edc11a68461994d902fb373fe34eb290e313c2 (patch) | |
tree | 07173626c9a12c7194171b2f247d36ca970df5c9 | |
parent | c7bb316fe9061367ebb5bc2b2d8949a2c160f9a6 (diff) | |
download | aports-99edc11a68461994d902fb373fe34eb290e313c2.tar.bz2 aports-99edc11a68461994d902fb373fe34eb290e313c2.tar.xz |
testing/py3-pycountry: upgrade to 19.7.15
Signed-off-by: prspkt <prspkt@protonmail.com>
-rw-r--r-- | testing/py3-pycountry/APKBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/testing/py3-pycountry/APKBUILD b/testing/py3-pycountry/APKBUILD index b4cc543ede..f98c7a898e 100644 --- a/testing/py3-pycountry/APKBUILD +++ b/testing/py3-pycountry/APKBUILD @@ -2,14 +2,15 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py3-pycountry _pkgname=pycountry -pkgver=18.12.8 -pkgrel=2 +pkgver=19.7.15 +pkgrel=0 pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations" url="https://pypi.org/project/pycountry" arch="noarch" -license="LGPL-2.1-or-later" +license="LGPL-2.1-only" depends="python3" makedepends="py3-setuptools" +checkdepends="py3-pytest" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver @@ -20,8 +21,12 @@ build() { python3 setup.py build } +check() { + PYTHONPATH="$builddir/build/lib" py.test-3 -v +} + package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="9797688ada8ea54c1a56a2cf4d0ad765001816c822c40077953fa71e3af285114c4b5beaf739a24432b9c6ea794952ce347a40ae0bcd9a2c00d12ddc7b45261e pycountry-18.12.8.tar.gz" +sha512sums="504ddf66747817a0bf7f9420e541c5589e3dacf818095af0b9de7ffdb66040345445900009349d5564647d33ec6941090aadbdc5931160314f621935d2556d99 pycountry-19.7.15.tar.gz" |