summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-02-28 19:01:51 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-02-28 19:01:51 +0000
commite289f440889b9508e1de28701f34b493a36830c8 (patch)
treec753be8a3528b7872c3c2d892cb11d91ccacc035 /dev-python
parentFix breakage. Bug #260652. (diff)
downloadgentoo-2-e289f440889b9508e1de28701f34b493a36830c8.tar.gz
gentoo-2-e289f440889b9508e1de28701f34b493a36830c8.tar.bz2
gentoo-2-e289f440889b9508e1de28701f34b493a36830c8.zip
Bump to 3.1.1, closes #260387
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/cherrypy/ChangeLog7
-rw-r--r--dev-python/cherrypy/cherrypy-3.1.1.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-python/cherrypy/ChangeLog b/dev-python/cherrypy/ChangeLog
index cc428c8cd1f1..f5ec26b6d833 100644
--- a/dev-python/cherrypy/ChangeLog
+++ b/dev-python/cherrypy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/cherrypy
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/ChangeLog,v 1.31 2009/02/15 14:31:56 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/ChangeLog,v 1.32 2009/02/28 19:01:51 patrick Exp $
+
+*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
diff --git a/dev-python/cherrypy/cherrypy-3.1.1.ebuild b/dev-python/cherrypy/cherrypy-3.1.1.ebuild
new file mode 100644
index 000000000000..e0993b10daed
--- /dev/null
+++ b/dev-python/cherrypy/cherrypy-3.1.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/cherrypy-3.1.1.ebuild,v 1.1 2009/02/28 19:01:51 patrick Exp $
+
+inherit distutils
+
+MY_P=CherryPy-${PV}
+
+DESCRIPTION="CherryPy is a pythonic, object-oriented web development framework."
+SRC_URI="http://download.cherrypy.org/${PN}/${PV}/${MY_P}.tar.gz"
+HOMEPAGE="http://www.cherrypy.org/"
+IUSE="doc"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+LICENSE="BSD"
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e 's/"cherrypy.tutorial",//' \
+ -e "/('cherrypy\/tutorial',/, /),/d" \
+ setup.py || die "sed failed"
+
+}
+
+src_install() {
+ distutils_src_install
+ if use doc ; then
+ insinto "/usr/share/doc/${PF}"
+ doins -r cherrypy/tutorial
+ fi
+}
+
+src_test() {
+ PYTHONPATH=. "${python}" cherrypy/test/test.py --dumb || die "test failed"
+}