summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-08 15:45:03 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-08 15:45:03 +0000
commit7fed0837d91f29f7c31bd44350e3081b4d4dbb1d (patch)
tree81d5c03e600a5cd7bb784c2fdb3ced062f2e6667 /dev-python/cssutils
parentIt's plain Xfce instead of Xfce4 (diff)
downloadgentoo-2-7fed0837d91f29f7c31bd44350e3081b4d4dbb1d.tar.gz
gentoo-2-7fed0837d91f29f7c31bd44350e3081b4d4dbb1d.tar.bz2
gentoo-2-7fed0837d91f29f7c31bd44350e3081b4d4dbb1d.zip
Skip tests failing with dev-python/pyxml installed (bug #299170).
(Portage version: 2.2.0_alpha7_p5/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/cssutils')
-rw-r--r--dev-python/cssutils/ChangeLog6
-rw-r--r--dev-python/cssutils/cssutils-0.9.7.ebuild11
2 files changed, 15 insertions, 2 deletions
diff --git a/dev-python/cssutils/ChangeLog b/dev-python/cssutils/ChangeLog
index c95b624b522d..8dae0bd75a17 100644
--- a/dev-python/cssutils/ChangeLog
+++ b/dev-python/cssutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/cssutils
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/ChangeLog,v 1.17 2010/12/07 14:00:29 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/ChangeLog,v 1.18 2010/12/08 15:45:03 arfrever Exp $
+
+ 08 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ cssutils-0.9.7.ebuild:
+ Skip tests failing with dev-python/pyxml installed (bug #299170).
*cssutils-0.9.7 (07 Dec 2010)
diff --git a/dev-python/cssutils/cssutils-0.9.7.ebuild b/dev-python/cssutils/cssutils-0.9.7.ebuild
index 514e8d25c914..4a5cdc3f2192 100644
--- a/dev-python/cssutils/cssutils-0.9.7.ebuild
+++ b/dev-python/cssutils/cssutils-0.9.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/cssutils-0.9.7.ebuild,v 1.1 2010/12/07 14:00:29 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/cssutils-0.9.7.ebuild,v 1.2 2010/12/08 15:45:03 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -28,6 +28,15 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
+src_prepare() {
+ distutils_src_prepare
+
+ # Disable test failing with dev-python/pyxml installed.
+ if has_version dev-python/pyxml; then
+ sed -e "s/test_linecol/_&/" -i src/tests/test_errorhandler.py
+ fi
+}
+
src_install() {
distutils_src_install