# Maintainer: Kevin Daudt pkgname=py3-betamax pkgver=0.8.1 pkgrel=5 pkgdesc="VCR imitation designed only for python-requests" options="!check" # 3 Tests fail, tests require internet url="https://github.com/betamaxpy/betamax" arch="noarch" license="Apache-2.0" depends="python3 py3-requests" makedepends="py3-setuptools py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/betamaxpy/betamax/archive/$pkgver.tar.gz https://github.com/betamaxpy/betamax/commit/165cc321f2b9839418269e9493b03eb2e43f7ddf.patch tests-disable-broken-assertion.patch " builddir="$srcdir/betamax-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="3888aa5f1e249faf496a32c03fb7d37096d7bbde573048c2ff3d1ba0fa03ebaeb4ff4e72191478da5f1a04d813204e31d3897469bd5f5eea4c5db2c72aae1374 py3-betamax-0.8.1.tar.gz 258bd6729286dc9374829308c23cca73ea640c4597ca8747ebb8281bcf7723bba3dfee5b55cadff0459e8dc4511d85228d37911e981859dd0af55a3753ae9e22 165cc321f2b9839418269e9493b03eb2e43f7ddf.patch d7039add209472045f2b7c4326c0d1234ae86b3e28a7ae3705ba695fd54783b1639b6c59781df1034dc777c3bc2cd0615a2227b0e7eafec890b707cabe0fa617 tests-disable-broken-assertion.patch"