[arch-commits] Commit in python-html5lib/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Tue Nov 10 20:12:59 UTC 2020
Date: Tuesday, November 10, 2020 @ 20:12:59
Author: eschwartz
Revision: 749777
python-html5lib: fix FTBFS due to pytest changes
Modified:
python-html5lib/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++++
1 file changed, 5 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-10 20:02:16 UTC (rev 749776)
+++ PKGBUILD 2020-11-10 20:12:59 UTC (rev 749777)
@@ -16,13 +16,18 @@
checkdepends=("${_checkdeps[@]/#/python-}" "${_checkdeps[@]/#/python2-}")
_test_commit=71eebd59772d1d39aced0c0582ae9c09acf3ce6e
source=("$pkgbase-$pkgver.tar.gz::https://github.com/html5lib/html5lib-python/archive/${pkgver}.tar.gz"
+ "https://github.com/html5lib/html5lib-python/commit/2c19b9899ab3a3e8bd0ca35e5d78544334204169.patch"
"https://github.com/html5lib/html5lib-tests/archive/${_test_commit}.tar.gz")
sha256sums=('66e9e24a53c10c27abb6be8a3cf2cf55824c6ea1cef8570a633cb223ec46e894'
+ '6f37b33667e35ea138279be9842f012792821b1497b81ae4b108a74180cfe249'
'c866f5e4ae9ef34313e2b61fcb74849b6f8aef970bf8249956b6a5d142197087')
prepare() {
cd "${srcdir}"/html5lib-python-${pkgver}
+ # fix pytest 6 compat
+ patch -p1 -i ../2c19b9899ab3a3e8bd0ca35e5d78544334204169.patch
+
rmdir html5lib/tests/testdata
ln -sfT ../../../html5lib-tests-${_test_commit} html5lib/tests/testdata
}
More information about the arch-commits
mailing list