summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-07-20 08:43:24 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-07-20 08:43:24 +0000
commit18a88b80da98ac67181fb712393802a9d9136a71 (patch)
treed0bacc71c83b2da18c24c1f95b9ca5e0a5fdbc8d /dev-python/pyxml
parentVersion bump bug #555414 also solving bug #469480 and bug #469482. Thanks Nic... (diff)
downloadgentoo-2-18a88b80da98ac67181fb712393802a9d9136a71.tar.gz
gentoo-2-18a88b80da98ac67181fb712393802a9d9136a71.tar.bz2
gentoo-2-18a88b80da98ac67181fb712393802a9d9136a71.zip
Remove dubious tests. Fix bug 555422.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
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}"
}