[arch-commits] Commit in python-pygal/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 14:56:08 UTC 2020
Date: Wednesday, November 11, 2020 @ 14:56:08
Author: foutrelis
Revision: 750792
Fix tests due to newer pytest
Modified:
python-pygal/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 14:42:05 UTC (rev 750791)
+++ PKGBUILD 2020-11-11 14:56:08 UTC (rev 750792)
@@ -13,11 +13,14 @@
optdepends=('python-lxml: for XML output through lxml instead of xml.etree'
'python-cairosvg: for PNG output')
checkdepends=('python-pytest' 'python-lxml' 'python-pyquery' 'python-cairosvg' 'python-flask')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Kozea/pygal/archive/$pkgver.tar.gz")
-md5sums=('5c688d30f8e75dced194bfa612f45589')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Kozea/pygal/archive/$pkgver.tar.gz"
+ $pkgname-pytest-fix.patch::https://github.com/Kozea/pygal/commit/19e5399be18a.patch)
+md5sums=('5c688d30f8e75dced194bfa612f45589'
+ '5ca054e5420b1c242d8706f4258ca382')
prepare() {
sed -i 's/\[pytest\]/[tool:pytest]/' pygal-$pkgver/setup.cfg
+ patch -Np1 -d pygal-$pkgver <$pkgname-pytest-fix.patch
}
build() {
More information about the arch-commits
mailing list