summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-28 15:32:01 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-28 15:32:01 +0000
commit3287b899ee14fe2965572c95e0bb2be4f6cd6cb4 (patch)
treeff875d89a52306ac4c1557f0a87117bc25837574 /dev-python/twisted-conch
parentMarked ~ppc. (diff)
downloadgentoo-2-3287b899ee14fe2965572c95e0bb2be4f6cd6cb4.tar.gz
gentoo-2-3287b899ee14fe2965572c95e0bb2be4f6cd6cb4.tar.bz2
gentoo-2-3287b899ee14fe2965572c95e0bb2be4f6cd6cb4.zip
Fix tests (bug #291602).
(Portage version: 14914-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/twisted-conch')
-rw-r--r--dev-python/twisted-conch/ChangeLog6
-rw-r--r--dev-python/twisted-conch/twisted-conch-8.2.0.ebuild10
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-python/twisted-conch/ChangeLog b/dev-python/twisted-conch/ChangeLog
index 1caef692fe80..68815396501b 100644
--- a/dev-python/twisted-conch/ChangeLog
+++ b/dev-python/twisted-conch/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/twisted-conch
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/ChangeLog,v 1.44 2009/11/11 17:02:57 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/ChangeLog,v 1.45 2009/11/28 15:32:01 arfrever Exp $
+
+ 28 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ twisted-conch-8.2.0.ebuild:
+ Fix tests (bug #291602).
11 Nov 2009; Jeroen Roovers <jer@gentoo.org> twisted-conch-8.2.0.ebuild:
Stable for HPPA (bug #289680).
diff --git a/dev-python/twisted-conch/twisted-conch-8.2.0.ebuild b/dev-python/twisted-conch/twisted-conch-8.2.0.ebuild
index 8c9448b8563d..32a8fe8e3b31 100644
--- a/dev-python/twisted-conch/twisted-conch-8.2.0.ebuild
+++ b/dev-python/twisted-conch/twisted-conch-8.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/twisted-conch-8.2.0.ebuild,v 1.5 2009/11/11 17:02:57 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/twisted-conch-8.2.0.ebuild,v 1.6 2009/11/28 15:32:01 arfrever Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -19,3 +19,11 @@ RDEPEND="${DEPEND}"
RESTRICT_PYTHON_ABIS="3.*"
PYTHON_MODNAME="twisted/conch twisted/plugins"
+
+src_prepare() {
+ distutils_src_prepare
+ sed -e "s/test_extendedAttributes/_&/" -i twisted/conch/test/test_cftp.py || die "sed failed"
+ sed -e "s/test_checkKeyAsRoot/_&/" -i twisted/conch/test/test_checkers.py || die "sed failed"
+ sed -e "s/test_exec/_&/" -i twisted/conch/test/test_conch.py || die "sed failed"
+ sed -e "s/test_getPrivateKeysAsRoot/_&/" -i twisted/conch/test/test_openssh_compat.py || die "sed failed"
+}