# Contributor: Duncan Bellamy # Maintainer: Duncan Bellamy pkgname=py3-pytest-httpbin pkgver=1.0.2 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 --prefix=/usr --root="$pkgdir" } sha512sums=" d1982830766916b9aeae0e931862c7dc603fb98a89ff6e7e2735dfe25c81b6353af8a834dec13989312c53efe6fd829ea038eae84552099b86505289033f4efb pytest-httpbin-1.0.2.tar.gz "