commit:     ae7e7778f714c55daa1c602ead4714631d55fb2a
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 15 08:50:26 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jan 15 09:50:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae7e7778

dev-python/html5lib: Don't test with dev-python/lxml-3.5.0

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=571644
https://github.com/html5lib/html5lib-python/issues/224

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/html5lib/html5lib-0.9999999.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-python/html5lib/html5lib-0.9999999.ebuild 
b/dev-python/html5lib/html5lib-0.9999999.ebuild
index 69308d7..d14b5a2 100644
--- a/dev-python/html5lib/html5lib-0.9999999.ebuild
+++ b/dev-python/html5lib/html5lib-0.9999999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -24,5 +24,11 @@ DEPEND="${RDEPEND}
        test? ( dev-python/nose[${PYTHON_USEDEP}] )"
 
 python_test() {
-       nosetests || die "Tests fail with ${EPYTHON}"
+       # https://github.com/html5lib/html5lib-python/issues/224
+       # https://bugs.gentoo.org/show_bug.cgi?id=571644
+       has_version =dev-python/lxml-3.5.0 && \
+               einfo "test are broken with dev-python/lxml-3.5.0" && \
+               einfo "https://github.com/html5lib/html5lib-python/issues/224"; 
&& \
+               return
+       nosetests --verbosity=3 || die "Tests fail with ${EPYTHON}"
 }

Reply via email to