python3-dominate: update to 2.8.0.

This commit is contained in:
Benjamín Albiñana 2023-05-22 13:08:54 +02:00 committed by Andrew Benson
parent 8260f62d0b
commit a493e78f05

View file

@ -1,7 +1,7 @@
# Template file for 'python3-dominate'
pkgname=python3-dominate
version=2.7.0
revision=2
version=2.8.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
@ -11,4 +11,12 @@ maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="LGPL-3.0-or-later"
homepage="https://github.com/Knio/dominate"
distfiles="https://github.com/Knio/dominate/archive/${version}.tar.gz"
checksum=f2bf3f12c10e25b9d632d20f1560fa9a1c91409f47e8f64e0fa0b9e12aedc20f
checksum=4e55f84b8446fe4338a7acaf60bbb1cb133a81c4c7a46a196b904c9f8387d377
pre_check() {
# this fix the failed test in i686
# https://github.com/Knio/dominate/issues/175
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
vsed -i '/3713141171098444831/i \\t\t1692341442, # i686' tests/test_dom_tag.py
fi
}