diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-20 10:28:03 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-20 10:30:46 +0300 |
commit | a97734964f05854da5ae7e5e3b91475f4c52b9f8 (patch) | |
tree | 8b0ac818fd82b99a6d0700ee498901dd0b6655df /testing/py3-python-stdnum | |
parent | 164dceb8c2bacc8e2dfeae84b843ca7be88b2dba (diff) | |
download | aports-a97734964f05854da5ae7e5e3b91475f4c52b9f8.tar.bz2 aports-a97734964f05854da5ae7e5e3b91475f4c52b9f8.tar.xz |
testing/py3-python-stdnum: upgrade to 1.11
* Add checkdepends and run test suite.
Diffstat (limited to 'testing/py3-python-stdnum')
-rw-r--r-- | testing/py3-python-stdnum/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/testing/py3-python-stdnum/APKBUILD b/testing/py3-python-stdnum/APKBUILD index 6a21094bb4..c7ef261f43 100644 --- a/testing/py3-python-stdnum/APKBUILD +++ b/testing/py3-python-stdnum/APKBUILD @@ -2,14 +2,15 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py3-python-stdnum _pkgname=python-stdnum -pkgver=1.5 -pkgrel=2 +pkgver=1.11 +pkgrel=0 pkgdesc="Python module to handle standardized numbers and codes" url="https://arthurdejong.org/python-stdnum" arch="noarch" license="LGPL-2.0-or-later" depends="python3" makedepends="py3-setuptools" +checkdepends="py3-nose" 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() { + nosetests +} + package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="8d6394d7039fc5a2e3785eb95ef1793038ae75443224fc5af7f1cae2cb575c2f4e5451bd9668304ba95d3ee3f87dc0103ccf6c35837220f9729cbe1a3e13f656 python-stdnum-1.5.tar.gz" +sha512sums="1369c38c93575aefdf727f831f68f7858390d9d29d5f1c1caba0de12afd994a5c6e9b89f76cff30a694ae056b19816c813e9c42f8a7a882f5b9257c374dcbad1 python-stdnum-1.11.tar.gz" |