commit: d588b2439526b46d9678e88e4658cec6017c2885 Author: layman <layman <AT> localhost> AuthorDate: Tue May 24 19:41:49 2016 +0000 Commit: Mike Auty <ikelos <AT> gentoo <DOT> org> CommitDate: Tue May 24 19:41:49 2016 +0000 URL: https://gitweb.gentoo.org/dev/ikelos.git/commit/?id=d588b243
Bump cherrypy to 5.1.0. dev-python/cherrypy/ChangeLog | 74 +++++ dev-python/cherrypy/ChangeLog-2015 | 339 +++++++++++++++++++++ dev-python/cherrypy/Manifest | 6 + dev-python/cherrypy/cherrypy-5.1.0.ebuild | 52 ++++ .../files/cherrypy-3.3.0-test_config.patch | 20 ++ dev-python/cherrypy/metadata.xml | 11 + 6 files changed, 502 insertions(+) diff --git a/dev-python/cherrypy/ChangeLog b/dev-python/cherrypy/ChangeLog new file mode 100644 index 0000000..801ecd6 --- /dev/null +++ b/dev-python/cherrypy/ChangeLog @@ -0,0 +1,74 @@ +# ChangeLog for dev-python/cherrypy +# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 +# (auto-generated from git log) + +*cherrypy-3.8.0 (09 Aug 2015) +*cherrypy-3.7.0 (09 Aug 2015) +*cherrypy-3.3.0 (09 Aug 2015) + + 09 Aug 2015; Robin H. Johnson <[email protected]> +cherrypy-3.3.0.ebuild, + +cherrypy-3.7.0.ebuild, +cherrypy-3.8.0.ebuild, + +files/cherrypy-3.3.0-test_config.patch, +metadata.xml: + proj/gentoo: Initial commit + + This commit represents a new era for Gentoo: + Storing the gentoo-x86 tree in Git, as converted from CVS. + + This commit is the start of the NEW history. + Any historical data is intended to be grafted onto this point. + + Creation process: + 1. Take final CVS checkout snapshot + 2. Remove ALL ChangeLog* files + 3. Transform all Manifests to thin + 4. Remove empty Manifests + 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ + 5.1. Do not touch files with -kb/-ko keyword flags. + + Signed-off-by: Robin H. Johnson <[email protected]> + X-Thanks: Alec Warner <[email protected]> - did the GSoC 2006 migration + tests + X-Thanks: Robin H. Johnson <[email protected]> - infra guy, herding this + project + X-Thanks: Nguyen Thai Ngoc Duy <[email protected]> - Former Gentoo + developer, wrote Git features for the migration + X-Thanks: Brian Harring <[email protected]> - wrote much python to improve + cvs2svn + X-Thanks: Rich Freeman <[email protected]> - validation scripts + X-Thanks: Patrick Lauer <[email protected]> - Gentoo dev, running new 2014 + work in migration + X-Thanks: Michał Górny <[email protected]> - scripts, QA, nagging + X-Thanks: All of other Gentoo developers - many ideas and lots of paint on + the bikeshed + + 24 Aug 2015; Justin Lecher <[email protected]> cherrypy-3.3.0.ebuild, + cherrypy-3.7.0.ebuild, cherrypy-3.8.0.ebuild: + Use https by default + + Signed-off-by: Justin Lecher <[email protected]> + + 24 Aug 2015; Justin Lecher <[email protected]> metadata.xml: + Use https by default + + Convert all URLs for sites supporting encrypted connections from http to + https + + Signed-off-by: Justin Lecher <[email protected]> + + 24 Aug 2015; Mike Gilbert <[email protected]> metadata.xml: + Revert DOCTYPE SYSTEM https changes in metadata.xml + + repoman does not yet accept the https version. + This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450. + + Bug: https://bugs.gentoo.org/552720 + + 24 Jan 2016; Michał Górny <[email protected]> metadata.xml: + Replace all herds with appropriate projects (GLEP 67) + + Replace all uses of herd with appropriate project maintainers, or no + maintainers in case of herds requested to be disbanded. + + 24 Jan 2016; Michał Górny <[email protected]> metadata.xml: + Set appropriate maintainer types in metadata.xml (GLEP 67) + diff --git a/dev-python/cherrypy/ChangeLog-2015 b/dev-python/cherrypy/ChangeLog-2015 new file mode 100644 index 0000000..6bcf75d --- /dev/null +++ b/dev-python/cherrypy/ChangeLog-2015 @@ -0,0 +1,339 @@ +# ChangeLog for dev-python/cherrypy +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/ChangeLog,v 1.75 2015/07/02 04:36:03 patrick Exp $ + +*cherrypy-3.8.0 (02 Jul 2015) + + 02 Jul 2015; Patrick Lauer <[email protected]> +cherrypy-3.8.0.ebuild: + Bump + +*cherrypy-3.7.0 (11 Jun 2015) + + 11 Jun 2015; Ian Delaney <[email protected]> +cherrypy-3.7.0.ebuild, + cherrypy-3.3.0.ebuild: + bump + + 07 Jun 2015; Markus Meier <[email protected]> cherrypy-3.3.0.ebuild: + arm stable, bug #540290 + + 03 Jun 2015; Justin Lecher <[email protected]> metadata.xml: + Add pypi to remote-id in metadata.xml + + 27 Mar 2015; Manuel Rüger <[email protected]> -cherrypy-3.1.2.ebuild: + Remove old. + + 20 Dec 2014; Ian Delaney <[email protected]> -cherrypy-2.3.0.ebuild, + -cherrypy-3.2.0.ebuild, -cherrypy-3.2.1.ebuild, -cherrypy-3.2.2-r1.ebuild, + -cherrypy-3.2.2.ebuild, -cherrypy-3.2.5.ebuild, + -files/cherrypy-3.2.5-issue1234.patch, cherrypy-3.3.0.ebuild: + rm old versions, disused patch from FILESDIR and var from -3.3.0 + + 07 Dec 2014; Agostino Sarubbo <[email protected]> cherrypy-3.3.0.ebuild: + Stable for ppc, wrt bug #530412 + + 06 Dec 2014; Agostino Sarubbo <[email protected]> cherrypy-3.3.0.ebuild: + Stable for ia64, wrt bug #530412 + + 05 Dec 2014; Agostino Sarubbo <[email protected]> cherrypy-3.3.0.ebuild: + Stable for x86, wrt bug #530412 + + 04 Dec 2014; Agostino Sarubbo <[email protected]> cherrypy-3.3.0.ebuild: + Stable for amd64, wrt bug #530412 + + 02 Dec 2014; Ian Delaney <[email protected]> cherrypy-3.3.0.ebuild: + clean old impl + + 16 May 2014; Ian Delaney <[email protected]> cherrypy-3.3.0.ebuild: + test phase again updated subject to a bump of nose with the result that pypy + is no longer skipped + + 16 May 2014; Ian Delaney <[email protected]> cherrypy-3.3.0.ebuild: + update test phase + + 03 May 2014; Mike Gilbert <[email protected]> + files/cherrypy-3.3.0-test_config.patch: + Update patch. + +*cherrypy-3.3.0 (03 May 2014) + + 03 May 2014; Mike Gilbert <[email protected]> +cherrypy-3.3.0.ebuild, + +files/cherrypy-3.3.0-test_config.patch: + Version bump. + + 05 Apr 2014; Mike Gilbert <[email protected]> + +files/cherrypy-3.2.5-issue1234.patch, cherrypy-3.2.5.ebuild: + Fix test failure in python2.6. + +*cherrypy-3.2.5 (05 Apr 2014) + + 05 Apr 2014; Mike Gilbert <[email protected]> +cherrypy-3.2.5.ebuild: + Version bump. Clean up python_test. + + 31 Mar 2014; Michał Górny <[email protected]> cherrypy-3.2.2-r1.ebuild: + Add support for the new PyPy slotting. + + 30 Mar 2014; Ian Delaney <[email protected]> cherrypy-3.2.2-r1.ebuild: + edit out broken tests wrt Bug #494054 by eroen + + 22 Oct 2013; Fabian Groffen <[email protected]> cherrypy-3.2.2-r1.ebuild: + Marked ~x64-macos, bug #487670 + + 05 Sep 2013; Michał Górny <[email protected]> cherrypy-3.2.2-r1.ebuild: + Clean up PYTHON_COMPAT from old implementations. + + 20 May 2013; Agostino Sarubbo <[email protected]> cherrypy-3.2.2-r1.ebuild: + Stable for x86, wrt bug #463068 + + 18 May 2013; Agostino Sarubbo <[email protected]> cherrypy-3.2.2-r1.ebuild: + Stable for ia64, wrt bug #463068 + + 16 May 2013; Agostino Sarubbo <[email protected]> cherrypy-3.2.2-r1.ebuild: + Stable for ppc, wrt bug #463068 + + 16 May 2013; Agostino Sarubbo <[email protected]> cherrypy-3.2.2-r1.ebuild: + Stable for amd64, wrt bug #463068 + + 10 Feb 2013; Mike Gilbert <[email protected]> cherrypy-3.2.2-r1.ebuild: + Drop python3.3. + +*cherrypy-3.2.2-r1 (10 Feb 2013) + + 10 Feb 2013; Mike Gilbert <[email protected]> +cherrypy-3.2.2-r1.ebuild: + Convert to distutils-r1. + + 17 Jul 2012; Mike Frysinger <[email protected]> cherrypy-3.2.2.ebuild: + Add arm love. + +*cherrypy-3.2.2 (28 Dec 2011) + + 28 Dec 2011; Mike Gilbert <[email protected]> +cherrypy-3.2.2.ebuild, + cherrypy-3.2.1.ebuild: + Version bump for bug 389161. Work around null stdin by redirecting in + src_test. + +*cherrypy-3.2.1 (10 Sep 2011) + + 10 Sep 2011; Mike Gilbert <[email protected]> +cherrypy-3.2.1.ebuild: + Version bump for bug 381985 by Johan Bergström. Drop support for py2.4. + + 23 Apr 2011; Raúl Porcel <[email protected]> cherrypy-3.2.0.ebuild: + ia64 stable wrt #361151 + + 18 Apr 2011; Thomas Kahle <[email protected]> cherrypy-3.2.0.ebuild: + x86 stable per bug 361151 + + 14 Apr 2011; Brent Baude <[email protected]> cherrypy-3.2.0.ebuild: + stable ppc, bug 361151 + + 30 Mar 2011; Christoph Mende <[email protected]> cherrypy-3.2.0.ebuild: + Stable on amd64 wrt bug #361151 + +*cherrypy-3.2.0 (26 Feb 2011) + + 26 Feb 2011; Arfrever Frehtes Taifersar Arahesis <[email protected]> + +cherrypy-3.2.0.ebuild: + Version bump. + +*cherrypy-3.2.0_rc1 (14 Nov 2010) + + 14 Nov 2010; Arfrever Frehtes Taifersar Arahesis <[email protected]> + +cherrypy-3.2.0_rc1.ebuild: + Version bump (bug #319037). + + 02 Apr 2010; Arfrever Frehtes Taifersar Arahesis <[email protected]> + cherrypy-2.3.0.ebuild, cherrypy-3.1.2.ebuild: + Set SUPPORT_PYTHON_ABIS. + + 26 Nov 2009; Raúl Porcel <[email protected]> cherrypy-3.1.2.ebuild: + ia64 stable wrt #294109 + + 16 Nov 2009; Markus Meier <[email protected]> cherrypy-3.1.2.ebuild: + amd64/x86 stable, bug #291917 + + 08 Nov 2009; nixnut <[email protected]> cherrypy-3.1.2.ebuild: + ppc stable #291917 + + 10 Oct 2009; Fabian Groffen <[email protected]> cherrypy-3.1.2.ebuild: + Merge from Prefix + + 05 Sep 2009; Patrick Lauer <[email protected]> -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 <[email protected]> +cherrypy-3.1.2.ebuild: + Bump to 3.1.2, fixes #271215 + +*cherrypy-3.1.1 (28 Feb 2009) + + 28 Feb 2009; Patrick Lauer <[email protected]> +cherrypy-3.1.1.ebuild: + Bump to 3.1.1, closes #260387 + + 15 Feb 2009; Patrick Lauer <[email protected]> cherrypy-2.3.0.ebuild: + Adding ~amd64 keyword to 2.3.0 + +*cherrypy-3.1.0 (06 Nov 2008) + + 06 Nov 2008; Jesus Rivero <[email protected]> +cherrypy-3.1.0.ebuild: + Version bump. Bug #245656 + +*cherrypy-2.3.0 (02 Jul 2008) + + 02 Jul 2008; Rob Cakebread <[email protected]> +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 <[email protected]> +cherrypy-3.0.3.ebuild: + Version bump. #Closes 219485 + + 09 Jan 2008; Raúl Porcel <[email protected]> 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 <[email protected]> + -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 <[email protected]> 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 <[email protected]> + +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 <[email protected]> cherrypy-3.0.2.ebuild: + Stable on x86 + +*cherrypy-3.0.2 (04 Sep 2007) + + 04 Sep 2007; Lukasz Strzygowski <[email protected]> + -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 <[email protected]> + cherrypy-2.2.1-r1.ebuild: + Add setuptools depend + +*cherrypy-2.2.1-r1 (05 Jul 2007) + + 05 Jul 2007; Rob Cakebread <[email protected]> + +cherrypy-2.2.1-r1.ebuild: + Change setup.py to use setuptools setup + + 27 Feb 2007; Tiziano Müller <[email protected]> +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 <[email protected]> + +cherrypy-3.0.1.ebuild: + Version bump. + +*cherrypy-3.0.0 (27 Dec 2006) + + 27 Dec 2006; Tiziano Müller <[email protected]> + -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 <[email protected]> -cherrypy-2.0.0.ebuild, + -cherrypy-2.1.0.ebuild: + security cleanup (#140496) + + 12 Jul 2006; Aron Griffis <[email protected]> cherrypy-2.1.1.ebuild: + Mark 2.1.1 stable on ia64 + + 25 May 2006; Chris Gianelloni <[email protected]> cherrypy-2.1.1.ebuild: + Stable on x86 wrt bug #134273. + +*cherrypy-2.2.1 (26 Apr 2006) + + 26 Apr 2006; Rob Cakebread <[email protected]> + +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 <[email protected]> + +files/cherrypy-2.2.0-test-gentoo.patch, +cherrypy-2.2.0.ebuild: + Version bump. + + 01 Apr 2006; Aron Griffis <[email protected]> cherrypy-2.1.1.ebuild: + Mark 2.1.1 ~ia64 + +*cherrypy-2.1.1 (11 Jan 2006) + + 11 Jan 2006; Rob Cakebread <[email protected]> + +files/cherrypy-2.1.1-test-gentoo.patch, +cherrypy-2.1.1.ebuild: + Version bump. + + 28 Nov 2005; Marien Zwart <[email protected]> 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 <[email protected]> + +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 <[email protected]> + cherrypy-2.1.0_beta1.ebuild: + added ~amd64 keyword + + 17 Jul 2005; Rob Cakebread <[email protected]> + cherrypy-2.1.0_beta1.ebuild: + Added ppc back + +*cherrypy-2.1.0_beta1 (17 Jul 2005) + + 17 Jul 2005; Rob Cakebread <[email protected]> + +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 <[email protected]> cherrypy-2.0.0.ebuild: + Added to ~ppc. + + 18 Jun 2005; Rob Cakebread <[email protected]> cherrypy-2.0.0.ebuild: + Marked x86 stable + +*cherrypy-2.0.0 (04 May 2005) + + 04 May 2005; Rob Cakebread <[email protected]> + +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 <[email protected]> + +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 <[email protected]> Thanks + Maurizio. bug# 81370 diff --git a/dev-python/cherrypy/Manifest b/dev-python/cherrypy/Manifest new file mode 100644 index 0000000..d635d52 --- /dev/null +++ b/dev-python/cherrypy/Manifest @@ -0,0 +1,6 @@ +AUX cherrypy-3.3.0-test_config.patch 701 SHA256 0022af457c0628097286f0a251895e691648310332bc38789b18736fa081bf7b SHA512 91eed9e00c8962a00dbfc2e57bbce12676c3cd6f2994bbb79bdd1c15cd1c5645124c11bc7ac94df71c0fcf58d998d2de7346a2ac44850e45c7740c55a9bc9d6c WHIRLPOOL f224486aa54ca8e3f544aad21aa9ad8e13ba524926494b125b22d57b23903a4a403c761eae44f48b8b9751ab0850bf1c86d333611b6ef55b21c933cb6385c44f +DIST CherryPy-5.1.0.tar.gz 435414 SHA256 5fccc9ad3bf9a1df83bbb934772f34f42571421bdd75f90f74c170b6c0ef13b1 SHA512 d5823f09c50ae2669360b1dd87b9388b8e96fa717c6ac07dd937a3143ffa860b5bb9767040fb8a6feba6cd239a5fcf6068a484251bfca628450545d6130207c7 WHIRLPOOL 2863fd878d8df68f5cfabf91b25f8e3996287fa87130aeeb39f4848d87d1f93d180040736ed3fe01d3db1766dbb4eb1f72c8597194534a191db2f975b5dd14a5 +EBUILD cherrypy-5.1.0.ebuild 1671 SHA256 666eed39807b17787306661829b5c6c94e3beaf7376cfd13319f4662137ff58f SHA512 733f4c0ff0d8f3bebe054d400a6d809adbb20d8ce5c7776ee6ca8372667af94453a15949c24ffad32e0724760d1e973eadbdd62a2cd0e9dabdb0a21aa4ce9b34 WHIRLPOOL 08abd8d89cf483b14c19e50407fb5dea37e3bd4b982a497779d70eca2a8840563c82ea3b2eab8f72ae17e77284bce2ab53a2281dc8ba8d112adf49689c7b19ed +MISC ChangeLog 2775 SHA256 0f29bf8e1d83d772b7328ea1b9ad94574f046e2678e4a45b689bb7b3e2052b0c SHA512 2db850034a0c4720f85f3e1c2386ba46d04b1a93552bc24cbf2ac46f07dd9bfe0238a0ed3d4219f69b6b63fc9f1f2a3ab705c1e9335bc2f05b080b968fbb7d93 WHIRLPOOL 8600783d7a18e2f9bd034954fe46c24a03b9594a6295463d32f8c1f882c84ad1becbcbf4bd3bea97e965dd528d3f06ca786bfb60baea44cd4a8cdc57794a3917 +MISC ChangeLog-2015 11295 SHA256 eada0e80e782b2a01dfd17ccb910906f3317d5c4f114c6c25076dc0c6341d7ea SHA512 ada3f7c1c34320f735330bb012eeda181e17c2a2ea15fef5bc85b2c6395ce14e2dd3356a3ca34432b59392bcd7edb7678e593c766bb3c0c289db09ca0164fad7 WHIRLPOOL c811020382852a6dc56b8bc340848eaef22e4236d77506ef0543aa126dacde0859bccc677e02bbe31b6cde1ac001010aaf9f5bd6db30b23c2dfbaff01cb41515 +MISC metadata.xml 321 SHA256 9eb1098052e5bce4d1d6d09363aea9d573c3672914aeb939200c635457c87206 SHA512 c777da5d545e3d626d663830437ec91a8f228c58734c7df4e4a16f0609904a5ad4613310d2d05b4e8ea89053371ad0bd4f0624137afe54ff6c4f5d9eef734d10 WHIRLPOOL a4de1510c9aa327636b7ac4a2d6d7f8e5f40ae26000dc3ca26c42c06cd99a1788e7e4e03def655147c9a5fffca769618a49c68d7ef4a31546ee62f1698ea8889 diff --git a/dev-python/cherrypy/cherrypy-5.1.0.ebuild b/dev-python/cherrypy/cherrypy-5.1.0.ebuild new file mode 100644 index 0000000..beb5335 --- /dev/null +++ b/dev-python/cherrypy/cherrypy-5.1.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) + +inherit distutils-r1 + +MY_P="CherryPy-${PV}" + +DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework" +HOMEPAGE="http://www.cherrypy.org/ https://pypi.python.org/pypi/CherryPy" +SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( >=dev-python/nose-1.3.3[${PYTHON_USEDEP}] )" +RDEPEND="" +S="${WORKDIR}/${MY_P}" + +# testsuite predominantly connects to the network +RESTRICT="test" + +python_prepare_all() { + # Prevent interactive failures (hangs) in the test suite + sed -i -e "s/interactive = True/interactive = False/" cherrypy/test/webtest.py || die + distutils-r1_python_prepare_all +} + +python_test() { + # suite requires current latest nose-1.3.3 + # https://bitbucket.org/cherrypy/cherrypy/issue/1308 + # https://bitbucket.org/cherrypy/cherrypy/issue/1306 + local exclude=( + -e test_file_stream -e test_4_File_deletion -e test_3_Redirect + -e test_2_File_Concurrency -e test_0_Session -e testStatic + ) + + # This really doesn't sit well with multiprocessing + # The issue 1306 tells us some tests are subject to the deleterious effects of + # the 'race condition'. Both the issues are unresolved / open +# if [[ "${EPYTHON}" == pypy ]]; then + nosetests "${exclude[@]}" -I test_logging.py || die "Testing failed with ${EPYTHON}" +# else +# nosetests "${exclude[@]}" < /dev/tty || die "Testing failed with ${EPYTHON}" +# fi +} diff --git a/dev-python/cherrypy/files/cherrypy-3.3.0-test_config.patch b/dev-python/cherrypy/files/cherrypy-3.3.0-test_config.patch new file mode 100644 index 0000000..55c7195 --- /dev/null +++ b/dev-python/cherrypy/files/cherrypy-3.3.0-test_config.patch @@ -0,0 +1,20 @@ +# HG changeset patch +# User Mike Gilbert <[email protected]> +# Date 1399130996 14400 +# Sat May 03 11:29:56 2014 -0400 +# Node ID f8f63e119bd85b16bdee9b95195aba60d5fbca27 +# Parent 60c8bb0cd34632becb758a063032e76c13dc3425 +Remove unicode literal to avoid syntax error in python3.2 + +diff --git a/cherrypy/test/test_config.py b/cherrypy/test/test_config.py +--- a/cherrypy/test/test_config.py ++++ b/cherrypy/test/test_config.py +@@ -206,7 +206,7 @@ + + if not compat.py3k: + self.getPage("/repr?key=thing3") +- self.assertBody(repr(u'test')) ++ self.assertBody(repr(unicode('test'))) + + self.getPage("/repr?key=complex") + self.assertBody("(3+2j)") diff --git a/dev-python/cherrypy/metadata.xml b/dev-python/cherrypy/metadata.xml new file mode 100644 index 0000000..b1a626f --- /dev/null +++ b/dev-python/cherrypy/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">CherryPy</remote-id> + </upstream> +</pkgmetadata>
