summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-29 22:53:12 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-29 22:53:12 +0000
commited6bb2c47c300331c96009305428a8048f1372f4 (patch)
tree7dca0bad5e3110426f34810c92813d7a235eede2 /dev-python/twisted-conch
parentSlot move from 0 to 2 for gtk+:2 versions, gtk+:3 versions will be added for ... (diff)
downloadhistorical-ed6bb2c47c300331c96009305428a8048f1372f4.tar.gz
historical-ed6bb2c47c300331c96009305428a8048f1372f4.tar.bz2
historical-ed6bb2c47c300331c96009305428a8048f1372f4.zip
Avoid test failures with root permissions.
Package-Manager: portage-2.2.0_alpha10_p17/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/Manifest4
-rw-r--r--dev-python/twisted-conch/twisted-conch-10.2.0.ebuild12
3 files changed, 18 insertions, 4 deletions
diff --git a/dev-python/twisted-conch/ChangeLog b/dev-python/twisted-conch/ChangeLog
index 6b946260cfb7..8ba2458ed3f4 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-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/ChangeLog,v 1.62 2010/12/28 01:18:44 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/ChangeLog,v 1.63 2010/12/29 22:53:12 arfrever Exp $
+
+ 29 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ twisted-conch-10.2.0.ebuild:
+ Avoid test failures with root permissions.
28 Dec 2010; Brent Baude <ranger@gentoo.org> twisted-conch-10.2.0.ebuild:
Marking twisted-conch-10.2.0 ppc64 for bug 333211
diff --git a/dev-python/twisted-conch/Manifest b/dev-python/twisted-conch/Manifest
index b383993363fd..dba402bb5e56 100644
--- a/dev-python/twisted-conch/Manifest
+++ b/dev-python/twisted-conch/Manifest
@@ -5,8 +5,8 @@ DIST TwistedConch-8.2.0.tar.bz2 186761 RMD160 5c336999190386f5f8ec3f836798beb23b
DIST TwistedConch-9.0.0.tar.bz2 205096 RMD160 4366e903f089e84fe1373d3ada7f5402be08581c SHA1 f6852484dae40888ed938c82649692b6bd047975 SHA256 5d13ac104244ce007555c42af85864bac54a2327cff3fa9745cab88c8c9fcd30
EBUILD twisted-conch-10.0.0.ebuild 956 RMD160 bac2ad2bd53e83990e2f35109701894ccfba94c1 SHA1 bd305a11dc142c41f38dccf625ef722e45cb32cb SHA256 80d406940f9b9655c2a9ab483ad6f946e509cb45f2c23e6f55f1e14347195f27
EBUILD twisted-conch-10.1.0.ebuild 673 RMD160 2d6bb425ed10a58f3fd30c10898b09b36a64dc25 SHA1 f5e09635c8867e86111a7d00d4f19936dc0f9c8c SHA256 303fe1266c3a8205eeca83c059ae44ef9ae745cd1923cf534290a18b19e60011
-EBUILD twisted-conch-10.2.0.ebuild 685 RMD160 aeaf23ed9b0cd3f830f63aa134c635fdab8ee919 SHA1 89627ecd3ed8dd080fe5c874452c9c5cd305dc8c SHA256 1080b09b8619ee3a5907bdf5c57ed6cadf51e838379541adbd350ab0c6e94d6a
+EBUILD twisted-conch-10.2.0.ebuild 979 RMD160 f34d28ff6e32c707e47e82f84031ce08eab0a550 SHA1 26f8b6084dcaa3fe6ddb59b0de413f6bbddd419f SHA256 7e0d9044c9c31ffb80ee52252d204b24d8524c744184a9435bb8ce906fdb4c6f
EBUILD twisted-conch-8.2.0.ebuild 1051 RMD160 084e6c90bc42bcf533e8a9b1aa067d310450d524 SHA1 4c096065ee3859aa9e5698218f625dc9c1ec7deb SHA256 7bfe16ff205d3b9e9ab23452d98c56fd4dba92db92c5e181c362cf066027fdb7
EBUILD twisted-conch-9.0.0.ebuild 947 RMD160 66110bec33430f92d7ba54959f5fa729785cfc79 SHA1 489b123600fc84f1e63e40e324229f688fee3ea0 SHA256 c78f92f0b1ea90727e63f8a1c3646195b819c2512517ee40fef4251dc0879997
-MISC ChangeLog 8565 RMD160 d0ceec6bd69a99fa54342d47f06df9fc3e5be3ce SHA1 0cdfce64f78b96eda459bb101e61ae203e2251b6 SHA256 576624eb2c0f7740b4078c945c61edc90cb0e2ecaadfaa3c3c2c64de2c69ff5a
+MISC ChangeLog 8717 RMD160 f03e9b75267cbfc96b9d8b0db26d9be790f5c595 SHA1 758ebffc9342568072cd1ae0487d7f0dac862030 SHA256 21b2d878eb52f08d4b733d49947f69095d032297f7e6b25e9747677b838fbdef
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
diff --git a/dev-python/twisted-conch/twisted-conch-10.2.0.ebuild b/dev-python/twisted-conch/twisted-conch-10.2.0.ebuild
index 12e14c87a887..6dfec8f0a082 100644
--- a/dev-python/twisted-conch/twisted-conch-10.2.0.ebuild
+++ b/dev-python/twisted-conch/twisted-conch-10.2.0.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/twisted-conch/twisted-conch-10.2.0.ebuild,v 1.2 2010/12/28 01:18:44 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/twisted-conch-10.2.0.ebuild,v 1.3 2010/12/29 22:53:12 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -21,3 +21,13 @@ DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
RDEPEND="${DEPEND}"
PYTHON_MODNAME="twisted/conch twisted/plugins"
+
+src_prepare() {
+ distutils_src_prepare
+
+ if [[ "${EUID}" -eq 0 ]]; then
+ # Disable tests failing with root permissions.
+ sed -e "s/test_checkKeyAsRoot/_&/" -i twisted/conch/test/test_checkers.py
+ sed -e "s/test_getPrivateKeysAsRoot/_&/" -i twisted/conch/test/test_openssh_compat.py
+ fi
+}