diff options
-rw-r--r-- | testing/py3-hyperlink/APKBUILD | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/py3-hyperlink/APKBUILD b/testing/py3-hyperlink/APKBUILD index 377485354b..024caffdbe 100644 --- a/testing/py3-hyperlink/APKBUILD +++ b/testing/py3-hyperlink/APKBUILD @@ -10,6 +10,7 @@ arch="noarch" license="MIT" depends="py3-idna python3" makedepends="py3-setuptools python3-dev" +checkdepends="py3-pytest" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/"$_pkgname-$pkgver @@ -18,6 +19,11 @@ build() { python3 setup.py build } + +check() { + py.test-3 +} + package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" |