From: Marek Szuba Date: Wed, 17 Jan 2018 10:37:25 +0000 (+0100) Subject: dev-python/pyicu-2.0.2: skip tests on python2 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fa36b42010b9e5fd29c7d3482bb8ca2898f1d893;p=gentoo.git dev-python/pyicu-2.0.2: skip tests on python2 test_Script/testSurrogatePairs fails on UCS-4 builds of python2_7, which is what Gentoo (and most Linux distributions) use. Upstream has been aware of the issue since November 2017 but has not fixed it yet. Gentoo-Bug: https://bugs.gentoo.org/644226 Upstream-Bug: https://github.com/ovalhub/pyicu/issues/61 Package-Manager: Portage-2.3.13, Repoman-2.3.3 --- diff --git a/dev-python/pyicu/pyicu-2.0.2.ebuild b/dev-python/pyicu/pyicu-2.0.2.ebuild index 1e6ff018f986..4dc247fee2d4 100644 --- a/dev-python/pyicu/pyicu-2.0.2.ebuild +++ b/dev-python/pyicu/pyicu-2.0.2.ebuild @@ -31,5 +31,10 @@ S="${WORKDIR}/${MY_P}" DOCS=(CHANGES CREDITS README.md) python_test() { - esetup.py test + if [[ ${EPYTHON} == python2* ]]; then + # See Bug #644226 + ewarn "Skipping tests for ${EPYTHON} because they are known to fail" + else + esetup.py test + fi }