# Contributor: Duncan Bellamy # Maintainer: Duncan Bellamy pkgname=py3-vcrpy pkgver=4.2.1 pkgrel=1 pkgdesc="Automatically mock your HTTP interactions to simplify and speed up testing" options="!check" # Tests fail on the builders url="https://github.com/kevin1024/vcrpy" arch="noarch" license="MIT" depends="py3-yarl py3-yaml py3-six py3-wrapt" makedepends="py3-setuptools" checkdepends="py3-pytest py3-pytest-httpbin" source="https://files.pythonhosted.org/packages/source/v/vcrpy/vcrpy-$pkgver.tar.gz" builddir="$srcdir/vcrpy-$pkgver" build() { python3 setup.py build } check() { # ssl errors when test_requests.py is run python3 -m pytest --deselect=tests/integration/test_requests.py } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" ba8b85d397349e167d3ba6244581ef89db52f98c11c596107eeebfea687c0bf58a3ec264010f173901e00e37ac496bee0d59bb209be6ba702423da78bafca866 vcrpy-4.2.1.tar.gz "