[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Nov 1 19:10:50 UTC 2019
Date: Friday, November 1, 2019 @ 19:10:49
Author: arojas
Revision: 522069
Fix tests with pytest 4
Modified:
python-betamax/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-01 18:53:56 UTC (rev 522068)
+++ PKGBUILD 2019-11-01 19:10:49 UTC (rev 522069)
@@ -10,10 +10,15 @@
url='https://github.com/sigmavirus24/betamax'
makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests')
checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/sigmavirus24/betamax/archive/$pkgver.tar.gz")
-sha512sums=('3888aa5f1e249faf496a32c03fb7d37096d7bbde573048c2ff3d1ba0fa03ebaeb4ff4e72191478da5f1a04d813204e31d3897469bd5f5eea4c5db2c72aae1374')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/sigmavirus24/betamax/archive/$pkgver.tar.gz"
+ betamax-pytest4.patch::"https://github.com/betamaxpy/betamax/commit/165cc321.patch")
+sha512sums=('3888aa5f1e249faf496a32c03fb7d37096d7bbde573048c2ff3d1ba0fa03ebaeb4ff4e72191478da5f1a04d813204e31d3897469bd5f5eea4c5db2c72aae1374'
+ '258bd6729286dc9374829308c23cca73ea640c4597ca8747ebb8281bcf7723bba3dfee5b55cadff0459e8dc4511d85228d37911e981859dd0af55a3753ae9e22')
prepare() {
+ (cd betamax-$pkgver
+ patch -p1 -i ../betamax-pytest4.patch # Fix tests with pytest 4
+ )
cp -a betamax-$pkgver{,-py2}
}
More information about the arch-commits
mailing list