diff --git a/community/py3-pytest-httpbin/APKBUILD b/community/py3-pytest-httpbin/APKBUILD index f9dcbb8e63a2825bdbe2682ec78ffe0bff9d15c5..a5fc525d1c25b1c875d7655549a660ebc4756ac5 100644 --- a/community/py3-pytest-httpbin/APKBUILD +++ b/community/py3-pytest-httpbin/APKBUILD @@ -1,16 +1,15 @@ # Contributor: Duncan Bellamy <dunk@denkimushi.com> # Maintainer: Duncan Bellamy <dunk@denkimushi.com> pkgname=py3-pytest-httpbin -pkgver=1.0.0 -pkgrel=2 +pkgver=1.0.1 +pkgrel=0 pkgdesc="Easily test your HTTP library against a local copy of httpbin" -options="!check" # No testsuite on pypi tarball url="https://github.com/kevin1024/pytest-httpbin" arch="noarch" license="MIT" depends="py3-httpbin py3-six" makedepends="py3-setuptools" -checkdepends="py3-pytest" +checkdepends="py3-pytest py3-requests" source="https://files.pythonhosted.org/packages/source/p/pytest-httpbin/pytest-httpbin-$pkgver.tar.gz" builddir="$srcdir/pytest-httpbin-$pkgver" @@ -18,8 +17,14 @@ build() { python3 setup.py build } +check() { + python3 -m pytest +} + package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="5e890de7f90917c81ea99f5389ff955bc751a8852ced33dc16a4b950ed8966807af58e8ddee5f285e1c94254d90c07f51be619747631bb684a9123746f295d7f pytest-httpbin-1.0.0.tar.gz" +sha512sums=" +3c2589e309bf34dd623051ce15cf09ccb23e7a11c160ed40f2379f11fb54618d77f03c9100faae1755f9a58c402ac10798f1c0ea28e11ff86408e2c2aaf82f15 pytest-httpbin-1.0.1.tar.gz +"