From 8c97426c7b93702ed392f55d347fa1936f741d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjam=C3=ADn=20Albi=C3=B1ana?= Date: Mon, 22 May 2023 13:08:54 +0200 Subject: [PATCH] python3-dominate: update to 2.8.0. --- srcpkgs/python3-dominate/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-dominate/template b/srcpkgs/python3-dominate/template index c38fa2d9d35a..2a48221d91db 100644 --- a/srcpkgs/python3-dominate/template +++ b/srcpkgs/python3-dominate/template @@ -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 " 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 +}