Unverified Commit d3e5ad76 authored by prspkt's avatar prspkt

testing/py3-hyperlink: add checkdepends and run test suite

parent ed6a96e1
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment