summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArc Riley <arcriley@gmail.com>2010-11-05 13:49:21 -0400
committerArc Riley <arcriley@gmail.com>2010-11-05 13:49:21 -0400
commita874aeefbf9f7a4891c70f3672432d8d5fa937af (patch)
tree47d7a3bfa7689d6718aaa06890ba92099b8a8d77
parentRunning repoman on acoura (diff)
downloadarc-a874aeefbf9f7a4891c70f3672432d8d5fa937af.tar.gz
arc-a874aeefbf9f7a4891c70f3672432d8d5fa937af.tar.bz2
arc-a874aeefbf9f7a4891c70f3672432d8d5fa937af.zip
Adding cherrypy 3.2.0_rc1 ebuild;
I don't believe this ebuild is ready yet, committing to get more help on it. (Portage version: 2.1.9.24/git/Linux x86_64, unsigned Manifest commit)
-rw-r--r--dev-python/cherrypy/ChangeLog207
-rw-r--r--dev-python/cherrypy/Manifest6
-rw-r--r--dev-python/cherrypy/cherrypy-3.2.0_rc1.ebuild86
-rw-r--r--dev-python/cherrypy/files/CherryPy-3.2.0rc1-py3.patch12
-rw-r--r--dev-python/cherrypy/metadata.xml5
5 files changed, 316 insertions, 0 deletions
diff --git a/dev-python/cherrypy/ChangeLog b/dev-python/cherrypy/ChangeLog
new file mode 100644
index 0000000..dcb19f8
--- /dev/null
+++ b/dev-python/cherrypy/ChangeLog
@@ -0,0 +1,207 @@
+# ChangeLog for dev-python/cherrypy
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/ChangeLog,v 1.39 2010/04/02 18:49:55 arfrever Exp $
+
+*cherrypy-3.2.0_rc1 (05 Nov 2010)
+
+ 05 Nov 2010; Arc Riley <arcriley@gmail.com> +cherrypy-3.2.0_rc1.ebuild:
+ Bump to 3.2.0_rc1, adds Python 3.* support.
+
+ 02 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ cherrypy-2.3.0.ebuild, cherrypy-3.1.2.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
+
+ 26 Nov 2009; Raúl Porcel <armin76@gentoo.org> cherrypy-3.1.2.ebuild:
+ ia64 stable wrt #294109
+
+ 16 Nov 2009; Markus Meier <maekke@gentoo.org> cherrypy-3.1.2.ebuild:
+ amd64/x86 stable, bug #291917
+
+ 08 Nov 2009; nixnut <nixnut@gentoo.org> cherrypy-3.1.2.ebuild:
+ ppc stable #291917
+
+ 10 Oct 2009; Fabian Groffen <grobian@gentoo.org> cherrypy-3.1.2.ebuild:
+ Merge from Prefix
+
+ 05 Sep 2009; Patrick Lauer <patrick@gentoo.org> -cherrypy-3.0.3.ebuild,
+ -cherrypy-3.1.0.ebuild, -cherrypy-3.1.1.ebuild:
+ Remove old
+
+*cherrypy-3.1.2 (01 Jun 2009)
+
+ 01 Jun 2009; Patrick Lauer <patrick@gentoo.org> +cherrypy-3.1.2.ebuild:
+ Bump to 3.1.2, fixes #271215
+
+*cherrypy-3.1.1 (28 Feb 2009)
+
+ 28 Feb 2009; Patrick Lauer <patrick@gentoo.org> +cherrypy-3.1.1.ebuild:
+ Bump to 3.1.1, closes #260387
+
+ 15 Feb 2009; Patrick Lauer <patrick@gentoo.org> cherrypy-2.3.0.ebuild:
+ Adding ~amd64 keyword to 2.3.0
+
+*cherrypy-3.1.0 (06 Nov 2008)
+
+ 06 Nov 2008; Jesus Rivero <neurogeek@gentoo.org> +cherrypy-3.1.0.ebuild:
+ Version bump. Bug #245656
+
+*cherrypy-2.3.0 (02 Jul 2008)
+
+ 02 Jul 2008; Rob Cakebread <pythonhead@gentoo.org> +cherrypy-2.3.0.ebuild:
+ Version bump. Dropped amd64, ia64 and ppc because of new dependency on
+ webtest and its deps webob and wsgiref
+
+*cherrypy-3.0.3 (29 Apr 2008)
+
+ 29 Apr 2008; Rob Cakebread <pythonhead@gentoo.org> +cherrypy-3.0.3.ebuild:
+ Version bump. #Closes 219485
+
+ 09 Jan 2008; Raúl Porcel <armin76@gentoo.org> cherrypy-2.2.1-r2.ebuild:
+ ia64/x86 stable wrt security #204829
+
+*cherrypy-2.2.1-r2 (08 Jan 2008)
+
+ 08 Jan 2008; Ali Polatel <hawking@gentoo.org>
+ -files/cherrypy-2.1.1-test-gentoo.patch,
+ +files/cherrypy-2.2.1-invalidsession.patch,
+ +files/cherrypy-2.2.1-py2.5.patch, -cherrypy-2.1.1.ebuild,
+ -cherrypy-2.2.1-r1.ebuild, +cherrypy-2.2.1-r2.ebuild,
+ -cherrypy-3.0.2.ebuild:
+ Revision bump. Backported security patch for 2.2.1, bug 204829. Added patch
+ to fix tests for python-2.5. Drop old.
+
+ 08 Jan 2008; Raúl Porcel <armin76@gentoo.org> cherrypy-3.0.2-r1.ebuild:
+ ia64/x86 stable wrt security #204829
+
+*cherrypy-3.0.2-r1 (08 Jan 2008)
+
+ 08 Jan 2008; Ali Polatel <hawking@gentoo.org>
+ +files/cherrypy-3.0.2-invalidsession.patch, +cherrypy-3.0.2-r1.ebuild:
+ Revision bump. Added patch from upstream for directory traversal via
+ malicious cookie, bug 204829
+
+ 01 Nov 2007; Markus Ullmann <jokey@gentoo.org> cherrypy-3.0.2.ebuild:
+ Stable on x86
+
+*cherrypy-3.0.2 (04 Sep 2007)
+
+ 04 Sep 2007; Lukasz Strzygowski <lucass@gentoo.org>
+ -cherrypy-2.2.1.ebuild, -cherrypy-3.0.1.ebuild, +cherrypy-3.0.2.ebuild:
+ Version bump. Dropped old versions.
+
+ 05 Jul 2007; Rob Cakebread <pythonhead@gentoo.org>
+ cherrypy-2.2.1-r1.ebuild:
+ Add setuptools depend
+
+*cherrypy-2.2.1-r1 (05 Jul 2007)
+
+ 05 Jul 2007; Rob Cakebread <pythonhead@gentoo.org>
+ +cherrypy-2.2.1-r1.ebuild:
+ Change setup.py to use setuptools setup
+
+ 27 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> +cherrypy-2.2.1.ebuild,
+ -cherrypy-3.0.0.ebuild, cherrypy-3.0.1.ebuild:
+ Re-added version 2.2.1 since upstream still maintains that branch and it is
+ needed by Turbogears. Added doc USE-flags for tutorial installation.
+
+*cherrypy-3.0.1 (27 Feb 2007)
+
+ 27 Feb 2007; Lukasz Strzygowski <lucass@gentoo.org>
+ +cherrypy-3.0.1.ebuild:
+ Version bump.
+
+*cherrypy-3.0.0 (27 Dec 2006)
+
+ 27 Dec 2006; Tiziano Müller <dev-zero@gentoo.org>
+ -files/cherrypy-2.0.0-setup-gentoo.diff,
+ -files/cherrypy-2.0.0-test-gentoo.diff,
+ -files/cherrypy-2.1.0-test-gentoo.patch,
+ -files/cherrypy-2.2.0-test-gentoo.patch,
+ -files/cherrypy-2.2.1-test-gentoo.patch, -cherrypy-2.2.0.ebuild,
+ -cherrypy-2.2.1.ebuild, +cherrypy-3.0.0.ebuild:
+ Version bump (bug #159141). Dropped old versions.
+
+ 15 Jul 2006; Alastair Tse <liquidx@gentoo.org> -cherrypy-2.0.0.ebuild,
+ -cherrypy-2.1.0.ebuild:
+ security cleanup (#140496)
+
+ 12 Jul 2006; Aron Griffis <agriffis@gentoo.org> cherrypy-2.1.1.ebuild:
+ Mark 2.1.1 stable on ia64
+
+ 25 May 2006; Chris Gianelloni <wolf31o2@gentoo.org> cherrypy-2.1.1.ebuild:
+ Stable on x86 wrt bug #134273.
+
+*cherrypy-2.2.1 (26 Apr 2006)
+
+ 26 Apr 2006; Rob Cakebread <pythonhead@gentoo.org>
+ +files/cherrypy-2.2.1-test-gentoo.patch, +cherrypy-2.2.1.ebuild:
+ Version bump.
+
+*cherrypy-2.2.0 (06 Apr 2006)
+
+ 06 Apr 2006; Rob Cakebread <pythonhead@gentoo.org>
+ +files/cherrypy-2.2.0-test-gentoo.patch, +cherrypy-2.2.0.ebuild:
+ Version bump.
+
+ 01 Apr 2006; Aron Griffis <agriffis@gentoo.org> cherrypy-2.1.1.ebuild:
+ Mark 2.1.1 ~ia64
+
+*cherrypy-2.1.1 (11 Jan 2006)
+
+ 11 Jan 2006; Rob Cakebread <pythonhead@gentoo.org>
+ +files/cherrypy-2.1.1-test-gentoo.patch, +cherrypy-2.1.1.ebuild:
+ Version bump.
+
+ 28 Nov 2005; Marien Zwart <marienz@gentoo.org> cherrypy-2.0.0.ebuild,
+ cherrypy-2.1.0.ebuild:
+ Add missing eutils inherit.
+
+*cherrypy-2.1.0 (21 Oct 2005)
+
+ 21 Oct 2005; Rob Cakebread <pythonhead@gentoo.org>
+ +files/cherrypy-2.1.0-test-gentoo.patch,
+ -files/cherrypy-2.1.0_beta1-setup-gentoo.diff,
+ -files/cherrypy-2.1.0_beta1-test-gentoo.diff,
+ -cherrypy-2.1.0_beta1.ebuild, +cherrypy-2.1.0.ebuild:
+ Version bump. Removed obsolete beta1
+
+ 28 Jul 2005; Simon Stelling <blubb@gentoo.org>
+ cherrypy-2.1.0_beta1.ebuild:
+ added ~amd64 keyword
+
+ 17 Jul 2005; Rob Cakebread <pythonhead@gentoo.org>
+ cherrypy-2.1.0_beta1.ebuild:
+ Added ppc back
+
+*cherrypy-2.1.0_beta1 (17 Jul 2005)
+
+ 17 Jul 2005; Rob Cakebread <pythonhead@gentoo.org>
+ +files/cherrypy-2.1.0_beta1-setup-gentoo.diff,
+ +files/cherrypy-2.1.0_beta1-test-gentoo.diff,
+ +cherrypy-2.1.0_beta1.ebuild:
+ Version bump.
+
+ 12 Jul 2005; David Holm <dholm@gentoo.org> cherrypy-2.0.0.ebuild:
+ Added to ~ppc.
+
+ 18 Jun 2005; Rob Cakebread <pythonhead@gentoo.org> cherrypy-2.0.0.ebuild:
+ Marked x86 stable
+
+*cherrypy-2.0.0 (04 May 2005)
+
+ 04 May 2005; Rob Cakebread <pythonhead@gentoo.org>
+ +files/cherrypy-2.0.0-setup-gentoo.diff,
+ +files/cherrypy-2.0.0-test-gentoo.diff,
+ -files/cherrypy-2.0.0b-setup-gentoo.diff,
+ -files/cherrypy-2.0.0b-test-gentoo.diff, +cherrypy-2.0.0.ebuild,
+ -cherrypy-2.0.0b.ebuild:
+ Version bump, removed old version.
+
+*cherrypy-2.0.0b (15 Mar 2005)
+
+ 15 Mar 2005; Rob Cakebread <pythonhead@gentoo.org>
+ +files/cherrypy-2.0.0b-setup-gentoo.diff,
+ +files/cherrypy-2.0.0b-test-gentoo.diff, +cherrypy-2.0.0b.ebuild:
+ Initial commit. ebuild by Maurizio Pucci <mauriziopucci@tele2.it> Thanks
+ Maurizio. bug# 81370
+
diff --git a/dev-python/cherrypy/Manifest b/dev-python/cherrypy/Manifest
new file mode 100644
index 0000000..798a8ff
--- /dev/null
+++ b/dev-python/cherrypy/Manifest
@@ -0,0 +1,6 @@
+AUX CherryPy-3.2.0rc1-py3.patch 710 RMD160 af92ab3bb8bbe6917630a25a6c3890813a27b526 SHA1 61393b70d0d63ffb32d755fd4419b13d067c1656 SHA256 0325cc8baaa359c84fab50d2887928defeaad9c79f733bcc1c94840d528e2088
+DIST CherryPy-3.2.0rc1-py3.tar.gz 349587 RMD160 6f0fa517d8c379826ec914746e7e4c5fca5ff05d SHA1 a4547703f27ec9ca5ea8fb0c2b16be76f640e035 SHA256 76c46210675426af59b37f0b3bbdce23eb4f40fbac089c5c76d663befd2fbd18
+DIST CherryPy-3.2.0rc1.tar.gz 423315 RMD160 efb6829d4a5123b8e507ef041794f80135e8d504 SHA1 1fa5c71f77bae7c305932e6f73a011a338fc38f7 SHA256 332009c2c74c17fe039c63000a30271adebfc78cec11e3217a74449c0150cfbc
+EBUILD cherrypy-3.2.0_rc1.ebuild 1813 RMD160 f593cd1531a90631793e3313983d1b45933d438f SHA1 7449d800b54afa123ee30612c74c11e844aa0f80 SHA256 5d6fe79d603d4e256633646c0247a535f8c04825ef867952c94c4f83031a96e1
+MISC ChangeLog 6880 RMD160 5d158042620fc45fcc6c70fe0398bd636c1aa8d7 SHA1 f476a373ff517ca70fc4da845dcef36429d9cea2 SHA256 233e2a90b580064ad1ea2141706a3b07146dea56ddc77a66dbbb9508c3798537
+MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
diff --git a/dev-python/cherrypy/cherrypy-3.2.0_rc1.ebuild b/dev-python/cherrypy/cherrypy-3.2.0_rc1.ebuild
new file mode 100644
index 0000000..1fca3c8
--- /dev/null
+++ b/dev-python/cherrypy/cherrypy-3.2.0_rc1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/cherrypy-3.1.2.ebuild,v 1.7 2010/04/02 18:49:55 arfrever Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils eutils versionator
+
+MY_PV=$(delete_version_separator _)
+MY_P="CherryPy-${MY_PV}"
+
+DESCRIPTION="CherryPy is a pythonic, object-oriented web development framework."
+HOMEPAGE="http://www.cherrypy.org/ http://pypi.python.org/pypi/CherryPy"
+SRC_URI="http://download.cherrypy.org/${PN}/${MY_PV}/${MY_P}.tar.gz
+ http://download.cherrypy.org/${PN}/${MY_PV}/${MY_P}-py3.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${MY_P}-py3.tar.gz
+ mv "${S}" "${S}-py3"
+ unpack ${MY_P}.tar.gz
+}
+
+src_prepare() {
+ patching() {
+ [[ "${PYTHON_ABI}" != 3.* ]] && return
+ cd "${S}-py3"
+ epatch "${FILESDIR}/${MY_P}-py3.patch"
+ }
+ python_execute_function --action-message 'Applying patches with $(python_get_implementation) $(python_get_version)' patching
+}
+
+distutils_src_compile_pre_hook() {
+ if [[ "${PYTHON_ABI:0:1}" == "3" ]]; then
+ cd "${S}-py3"
+ else
+ cd "${S}"
+ fi
+}
+
+distutils_src_test_pre_hook() {
+ if [[ "${PYTHON_ABI:0:1}" == "3" ]]; then
+ cd "${S}-py3"
+ else
+ cd "${S}"
+ fi
+}
+
+distutils_src_install_pre_hook() {
+ if [[ "${PYTHON_ABI:0:1}" == "3" ]]; then
+ cd "${S}-py3"
+ else
+ cd "${S}"
+ fi
+}
+
+src_test() {
+ testing() {
+ if [[ "${PYTHON_ABI:0:1}" == "3" ]]; then
+ cd "${S}-py3"
+ else
+ cd "${S}"
+ fi
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" cherrypy/test/test.py --dumb
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ insinto "/usr/share/doc/${PF}"
+ doins -r cherrypy/tutorial
+ fi
+}
diff --git a/dev-python/cherrypy/files/CherryPy-3.2.0rc1-py3.patch b/dev-python/cherrypy/files/CherryPy-3.2.0rc1-py3.patch
new file mode 100644
index 0000000..4236b2d
--- /dev/null
+++ b/dev-python/cherrypy/files/CherryPy-3.2.0rc1-py3.patch
@@ -0,0 +1,12 @@
+diff -Naur CherryPy-3.2.0rc1-py3/cherrypy/_cpnative_server.py cherrypy-py3/cherrypy/_cpnative_server.py
+--- CherryPy-3.2.0rc1-py3/cherrypy/_cpnative_server.py 2010-02-05 13:18:35.000000000 -0500
++++ cherrypy-py3/cherrypy/_cpnative_server.py 2010-05-09 02:05:24.671396967 -0400
+@@ -52,7 +52,7 @@
+ try:
+ request.run(method, path, qs, req.request_protocol, headers, rfile)
+ break
+- except cherrypy.InternalRedirect, ir:
++ except cherrypy.InternalRedirect as ir:
+ app.release_serving()
+ prev = request
+
diff --git a/dev-python/cherrypy/metadata.xml b/dev-python/cherrypy/metadata.xml
new file mode 100644
index 0000000..301d220
--- /dev/null
+++ b/dev-python/cherrypy/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+</pkgmetadata>