# Contributor: Antoine Fontaine # Maintainer: pkgname=py3-aioresponses pkgver=0.7.4 pkgrel=1 pkgdesc="Helper to mock/fake web requests in the aiohttp package" url="https://github.com/pnuckowski/aioresponses" arch="noarch" license="MIT" depends="python3 py3-pbr" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="aioresponses-$pkgver.tar.gz::https://github.com/pnuckowski/aioresponses/archive/$pkgver.tar.gz" builddir="$srcdir/aioresponses-$pkgver" options="!check" # requires dependencies yet to be packaged build() { export PBR_VERSION=$pkgver python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" dcb387f5f04d5bb7c2795c5d6416e0346015eaff2b3809f5fe93eafa864d0fb0c92b8e8e2e3635e4032f76cc9119f772fc86582c4cbd9895caaf023a47075622 aioresponses-0.7.4.tar.gz "