summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-06-01 00:44:52 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-06-01 00:44:52 +0000
commit33cb814f3150ee45a0e935f819900b60d844153f (patch)
treeef617ff23b70d4934fd165212e49b36f2b920526 /dev-python/cherrypy/cherrypy-3.1.2.ebuild
parentBump to 3.9.1, fixes #271202 (diff)
downloadgentoo-2-33cb814f3150ee45a0e935f819900b60d844153f.tar.gz
gentoo-2-33cb814f3150ee45a0e935f819900b60d844153f.tar.bz2
gentoo-2-33cb814f3150ee45a0e935f819900b60d844153f.zip
Bump to 3.1.2, fixes #271215
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/cherrypy/cherrypy-3.1.2.ebuild')
-rw-r--r--dev-python/cherrypy/cherrypy-3.1.2.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/cherrypy/cherrypy-3.1.2.ebuild b/dev-python/cherrypy/cherrypy-3.1.2.ebuild
new file mode 100644
index 000000000000..bbf8a361b1fe
--- /dev/null
+++ b/dev-python/cherrypy/cherrypy-3.1.2.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.2.ebuild,v 1.1 2009/06/01 00:44:52 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"
+}