summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyxml')
-rw-r--r--dev-python/pyxml/ChangeLog5
-rw-r--r--dev-python/pyxml/pyxml-0.8.4-r3.ebuild22
2 files changed, 22 insertions, 5 deletions
diff --git a/dev-python/pyxml/ChangeLog b/dev-python/pyxml/ChangeLog
index cc4934534ebd..ff2bd5038b3b 100644
--- a/dev-python/pyxml/ChangeLog
+++ b/dev-python/pyxml/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pyxml
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/ChangeLog,v 1.80 2015/06/13 09:04:17 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/ChangeLog,v 1.81 2015/07/20 08:43:24 monsieurp Exp $
+
+ 20 Jul 2015; Patrice Clement <monsieurp@gentoo.org> pyxml-0.8.4-r3.ebuild:
+ Remove dubious tests. Fix bug 555422.
13 Jun 2015; Manuel Rüger <mrueg@gentoo.org> -pyxml-0.8.4-r2.ebuild:
Remove old.
diff --git a/dev-python/pyxml/pyxml-0.8.4-r3.ebuild b/dev-python/pyxml/pyxml-0.8.4-r3.ebuild
index b6dc53ff6cb1..4bdabe7e26f4 100644
--- a/dev-python/pyxml/pyxml-0.8.4-r3.ebuild
+++ b/dev-python/pyxml/pyxml-0.8.4-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/pyxml-0.8.4-r3.ebuild,v 1.13 2015/06/07 09:48:52 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/pyxml-0.8.4-r3.ebuild,v 1.14 2015/07/20 08:43:24 monsieurp Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@@ -31,9 +31,6 @@ python_prepare_all() {
"${FILESDIR}/${P}-python-2.6.patch"
)
- # Delete internal copy of old version of unittest module.
- rm -f test/unittest.py
-
distutils-r1_python_prepare_all
}
@@ -43,6 +40,23 @@ python_compile() {
}
python_test() {
+ # Delete internal copy of old version of unittest module.
+ local BROKENTESTS=(
+ test_filter
+ test_howto
+ test_minidom
+ test_xmlbuilder
+ unittest
+ test_expatreader
+ )
+
+ for test_file in ${BROKENTESTS[@]}; do
+ test_file="test/${test_file}.py"
+ einfo "Removing dubious test \"${test_file}\""
+ rm ${test_file}
+ eend $?
+ done
+
cd test || die
"${PYTHON}" regrtest.py || die "Tests fail with ${EPYTHON}"
}