# Maintainer: Keith Maxwell pkgname=py3-responses pkgver=0.23.1 pkgrel=0 pkgdesc="Utility library for mocking out the requests Python library" url="https://pypi.org/project/responses/" arch="noarch" license="Apache-2.0" depends=" py3-requests py3-toml py3-urllib3 py3-yaml " makedepends="py3-setuptools" checkdepends=" py3-flake8 py3-pytest py3-pytest-cov py3-pytest-localserver py3-werkzeug " subpackages="$pkgname-pyc" source="https://github.com/getsentry/responses/archive/$pkgver/responses-$pkgver.tar.gz" builddir="$srcdir/responses-$pkgver" replaces=py-responses # Backwards compatibility provides=py-responses=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } check() { pytest \ --ignore responses/tests/test_responses.py \ --ignore responses/tests/test_recorder.py } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 589bb2b6e5f259ec56ae8e4575f9c7dbfc915cf5ed622c9cb48492f34e13035164daea3806c7393533217237dbabf99e436754e9944f518bbfc5658391cc2e84 responses-0.23.1.tar.gz "