# Maintainer: pkgname=py3-responses _pkgname=responses pkgver=0.10.6 pkgrel=0 pkgdesc="Utility library for mocking out the requests Python library" url="https://pypi.python.org/pypi/responses/" arch="noarch" license="Apache-2.0" depends="py3-requests py3-six" makedepends="py3-setuptools" checkdepends="py3-flake8 py3-pytest py3-pytest-cov py3-pytest-localserver py3-werkzeug" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces=py-responses # Backwards compatibility provides=py-responses=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } check() { py.test-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="7f56d4aded3425f7eef969b44ae1afb3495d521cd32f0554a5edbb51510bdd51fe358938e126f6fe45f465b316d53cb64185873bd9060c4acacfafca9f7f6365 responses-0.10.6.tar.gz"