summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarien Zwart <marienz@gentoo.org>2012-09-27 18:18:54 +0000
committerMarien Zwart <marienz@gentoo.org>2012-09-27 18:18:54 +0000
commit5d3b003ea7f70a6bb0d4ac02fdbada8d603cf131 (patch)
treebdec08040395c74bf099fdd1c189ca4e6c91ed6e /dev-python/twisted-web
parentBump to 12.2.0 (bug #423789) (diff)
downloadhistorical-5d3b003ea7f70a6bb0d4ac02fdbada8d603cf131.tar.gz
historical-5d3b003ea7f70a6bb0d4ac02fdbada8d603cf131.tar.bz2
historical-5d3b003ea7f70a6bb0d4ac02fdbada8d603cf131.zip
Bump to 12.2.0 (bug #423793)
Package-Manager: portage-2.2.0_alpha133/cvs/Linux x86_64
Diffstat (limited to 'dev-python/twisted-web')
-rw-r--r--dev-python/twisted-web/ChangeLog8
-rw-r--r--dev-python/twisted-web/twisted-web-12.2.0.ebuild32
2 files changed, 38 insertions, 2 deletions
diff --git a/dev-python/twisted-web/ChangeLog b/dev-python/twisted-web/ChangeLog
index 7f40b10bc9d1..fcb4058eae29 100644
--- a/dev-python/twisted-web/ChangeLog
+++ b/dev-python/twisted-web/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/twisted-web
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-web/ChangeLog,v 1.78 2012/05/13 20:48:00 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-web/ChangeLog,v 1.79 2012/09/27 18:18:35 marienz Exp $
+
+*twisted-web-12.2.0 (27 Sep 2012)
+
+ 27 Sep 2012; Marien Zwart <marienz@gentoo.org> +twisted-web-12.2.0.ebuild:
+ Bump to 12.2.0 (bug #423793)
13 May 2012; Alexis Ballier <aballier@gentoo.org> twisted-web-12.0.0.ebuild:
keyword ~amd64-fbsd
@@ -315,4 +320,3 @@
08 Apr 2005; Thomas Raschbacher <lordvan@gentoo.org> :
initial import
twisted-web was part of the main twisted release
-
diff --git a/dev-python/twisted-web/twisted-web-12.2.0.ebuild b/dev-python/twisted-web/twisted-web-12.2.0.ebuild
new file mode 100644
index 000000000000..f8e3d38b975e
--- /dev/null
+++ b/dev-python/twisted-web/twisted-web-12.2.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-web/twisted-web-12.2.0.ebuild,v 1.1 2012/09/27 18:18:35 marienz Exp $
+
+EAPI="4"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+MY_PACKAGE="Web"
+
+inherit twisted versionator
+
+DESCRIPTION="Twisted web server, programmable in Python"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="soap"
+
+DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
+ soap? ( dev-python/soappy )"
+RDEPEND="${DEPEND}"
+
+PYTHON_MODNAME="twisted/plugins twisted/web"
+
+src_prepare() {
+ distutils_src_prepare
+
+ 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
+}