[arch-commits] Commit in python-cachecontrol/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Nov 2 21:56:22 UTC 2019
Date: Saturday, November 2, 2019 @ 21:56:22
Author: arojas
Revision: 522273
Fix tests with pytest4
Modified:
python-cachecontrol/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-02 21:52:05 UTC (rev 522272)
+++ PKGBUILD 2019-11-02 21:56:22 UTC (rev 522273)
@@ -13,14 +13,17 @@
checkdepends=('python-mock' 'python-pytest' 'python-lockfile' 'python-cherrypy'
'python2-mock' 'python2-pytest' 'python2-lockfile' 'python2-cherrypy')
source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
- "0001-Remove-unnecessary-console-script.patch")
+ "0001-Remove-unnecessary-console-script.patch"
+ cachecontrol-pytest4.patch::"https://github.com/ionrock/cachecontrol/commit/2b886af2.patch")
sha256sums=('d3876bbd614968e0d82c95734b380fca648661416fb14dc1a50514256e521089'
- 'a2c93d4852887152027140bdd54030d5363876b02e5eabee6a018d4e946a87b1')
+ 'a2c93d4852887152027140bdd54030d5363876b02e5eabee6a018d4e946a87b1'
+ '83273fc1a39baa46a504f54457997f5301947a82989853f9b2c6c19bfb6ecdfc')
prepare() {
cd "${srcdir}"/${_pkgname}-${pkgver}
patch -p1 -i ../0001-Remove-unnecessary-console-script.patch
+ patch -p1 -i ../cachecontrol-pytest4.patch # Fix tests with pytest 4
}
build() {
More information about the arch-commits
mailing list