# Contributor: Duncan Bellamy # Maintainer: Duncan Bellamy pkgname=py3-pytest-httpbin pkgver=2.0.0_rc1 pkgrel=0 pkgdesc="Easily test your HTTP library against a local copy of httpbin" url="https://github.com/kevin1024/pytest-httpbin" arch="noarch" license="MIT" depends="py3-httpbin py3-six" makedepends="py3-setuptools" 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/_/}" build() { python3 setup.py build } check() { # https://github.com/kevin1024/pytest-httpbin/issues/64 python3 -m pytest -k 'not test_redirect_location_is_https_for_secure_server' } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 7ba6248925566a664074ee4dd1c582e36a9ba909ff95b6a5717b486c0c75d0a11e6b109edc6acba1c70a3973751588a1fc797f91cafa416d89f6cbc360d2fa29 pytest-httpbin-2.0.0rc1.tar.gz "