commit:     fa36b42010b9e5fd29c7d3482bb8ca2898f1d893
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 17 10:37:25 2018 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Jan 17 10:44:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa36b420

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

 dev-python/pyicu/pyicu-2.0.2.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/pyicu/pyicu-2.0.2.ebuild 
b/dev-python/pyicu/pyicu-2.0.2.ebuild
index 1e6ff018f98..4dc247fee2d 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
 }

Reply via email to