summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/twisted-web/ChangeLog6
-rw-r--r--dev-python/twisted-web/twisted-web-10.2.0.ebuild11
2 files changed, 13 insertions, 4 deletions
diff --git a/dev-python/twisted-web/ChangeLog b/dev-python/twisted-web/ChangeLog
index 86c7bf72d3b0..9d6c79849dc2 100644
--- a/dev-python/twisted-web/ChangeLog
+++ b/dev-python/twisted-web/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/twisted-web
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-web/ChangeLog,v 1.61 2010/12/28 01:24:24 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-web/ChangeLog,v 1.62 2010/12/29 22:33:28 arfrever Exp $
+
+ 29 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ twisted-web-10.2.0.ebuild:
+ Avoid test failures with root permissions (bug #349964).
28 Dec 2010; Brent Baude <ranger@gentoo.org> twisted-web-10.2.0.ebuild:
Marking twisted-web-10.2.0 ppc64 for bug 333211
diff --git a/dev-python/twisted-web/twisted-web-10.2.0.ebuild b/dev-python/twisted-web/twisted-web-10.2.0.ebuild
index dacc17a1aea6..1bb3a3e215d6 100644
--- a/dev-python/twisted-web/twisted-web-10.2.0.ebuild
+++ b/dev-python/twisted-web/twisted-web-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-web/twisted-web-10.2.0.ebuild,v 1.2 2010/12/28 01:24:24 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-web/twisted-web-10.2.0.ebuild,v 1.3 2010/12/29 22:33:28 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -8,7 +8,7 @@ SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
MY_PACKAGE="Web"
-inherit eutils twisted versionator
+inherit twisted versionator
DESCRIPTION="Twisted web server, programmable in Python"
@@ -23,5 +23,10 @@ PYTHON_MODNAME="twisted/plugins twisted/web"
src_prepare() {
distutils_src_prepare
- epatch "${FILESDIR}/${PN}-0.5.0-root-skip.patch"
+
+ if [[ "${EUID}" -eq 0 ]]; then
+ # Disable tests failing with root permissions.
+ sed -e "s/test_forbiddenResource/_&/" -i twisted/web/test/test_static.py
+ sed -e "s/testDownloadPageError3/_&/" -i twisted/web/test/test_webclient.py
+ fi
}