@@ 2,13 2,14 @@
pkgname=py3-iso3166
_pyname=iso3166
pkgver=1.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="Self-contained ISO 3166-1 country definitions for Python"
url="https://github.com/deactivated/python-iso3166"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
+checkdepends="py3-pytest"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
@@ 18,7 19,7 @@ build() {
}
check() {
- python3 setup.py test
+ PYTHONPATH=. pytest-3
}
package() {