summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/cherrypy/ChangeLog12
-rw-r--r--dev-python/cherrypy/Manifest16
-rw-r--r--dev-python/cherrypy/cherrypy-2.0.0b.ebuild46
-rw-r--r--dev-python/cherrypy/files/cherrypy-2.0.0b-setup-gentoo.diff8
-rw-r--r--dev-python/cherrypy/files/cherrypy-2.0.0b-test-gentoo.diff11
-rw-r--r--dev-python/cherrypy/files/digest-cherrypy-2.0.0b1
-rw-r--r--dev-python/cherrypy/metadata.xml5
7 files changed, 99 insertions, 0 deletions
diff --git a/dev-python/cherrypy/ChangeLog b/dev-python/cherrypy/ChangeLog
new file mode 100644
index 000000000000..6aeababc89d8
--- /dev/null
+++ b/dev-python/cherrypy/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-python/cherrypy
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/ChangeLog,v 1.1 2005/03/15 16:11:45 pythonhead Exp $
+
+*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 000000000000..f3ae25772fa5
--- /dev/null
+++ b/dev-python/cherrypy/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 af70b4f47f9e0906eec66d9a59a1ec5d cherrypy-2.0.0b.ebuild 1029
+MD5 9ac4199ebe7cd3e7e311274994767f82 metadata.xml 160
+MD5 7215d836e44ac194a8c7dceb382084c6 ChangeLog 416
+MD5 00b933b3feab88df6acb0759dc1e5489 files/digest-cherrypy-2.0.0b 66
+MD5 be26281f90e26b8845866c92e2f8f36b files/cherrypy-2.0.0b-setup-gentoo.diff 259
+MD5 96acaf2aaa125815a4ee38d7af98ded7 files/cherrypy-2.0.0b-test-gentoo.diff 510
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFCNwkyz2gxt1z4IGYRAnTvAKDgjaVQvpCerwda/dZ5faEO25v3xgCgiVCb
+74vjhFSJ7JEniWbkJhSla1Q=
+=L7SW
+-----END PGP SIGNATURE-----
diff --git a/dev-python/cherrypy/cherrypy-2.0.0b.ebuild b/dev-python/cherrypy/cherrypy-2.0.0b.ebuild
new file mode 100644
index 000000000000..26f53d1f25d0
--- /dev/null
+++ b/dev-python/cherrypy/cherrypy-2.0.0b.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cherrypy/cherrypy-2.0.0b.ebuild,v 1.1 2005/03/15 16:11:45 pythonhead Exp $
+
+inherit distutils
+
+MY_P=${P/c/C}
+MY_P=${MY_P/p/P}
+
+DESCRIPTION="CherryPy is a pythonic, object-oriented web development framework."
+SRC_URI="mirror://sourceforge/cherrypy/${MY_P}.tar.gz"
+HOMEPAGE="http://www.cherrypy.org/"
+DEPEND=">=dev-lang/python-2.3"
+IUSE=""
+SLOT="0"
+KEYWORDS="~x86"
+LICENSE="BSD"
+S=${WORKDIR}/${MY_P}
+
+DOCS="CHANGELOG.txt CHERRYPYTEAM.txt"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S}
+ epatch ${FILESDIR}/${P}-setup-gentoo.diff
+ epatch ${FILESDIR}/${P}-test-gentoo.diff
+}
+
+src_install() {
+ distutils_src_install
+ insinto /usr/share/doc/${P}; doins -r cherrypy/tutorial
+ insinto /usr/share/${PN}; doins -r cherrypy/test
+ dosym /usr/share/doc/${P}/tutorial /usr/share/${PN}
+}
+
+src_test() {
+ cd cherrypy/test
+ python test.py || die "Test failed."
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "Tutorial files: /usr/share/doc/${P}/tutorial"
+ einfo "Test files : /usr/share/${PN}/test"
+ einfo ""
+}
diff --git a/dev-python/cherrypy/files/cherrypy-2.0.0b-setup-gentoo.diff b/dev-python/cherrypy/files/cherrypy-2.0.0b-setup-gentoo.diff
new file mode 100644
index 000000000000..8a22e6921eb1
--- /dev/null
+++ b/dev-python/cherrypy/files/cherrypy-2.0.0b-setup-gentoo.diff
@@ -0,0 +1,8 @@
+--- ../CherryPy-2.0.0b.orig/cherrypy/test/test.py 2004-12-30 11:13:53.000000000 +0100
++++ cherrypy/test/test.py 2005-02-09 14:56:13.505391384 +0100
+@@ -186,4 +186,4 @@
+ # - test hidden classes
+ # ...
+
+-raw_input('hit enter')
++sys.exit(len(failedList))
diff --git a/dev-python/cherrypy/files/cherrypy-2.0.0b-test-gentoo.diff b/dev-python/cherrypy/files/cherrypy-2.0.0b-test-gentoo.diff
new file mode 100644
index 000000000000..7562da7512c8
--- /dev/null
+++ b/dev-python/cherrypy/files/cherrypy-2.0.0b-test-gentoo.diff
@@ -0,0 +1,11 @@
+--- ../CherryPy-2.0.0b.orig/setup.py 2004-12-30 11:13:56.000000000 +0100
++++ ./setup.py 2005-02-08 16:06:46.007214608 +0100
+@@ -22,7 +22,7 @@
+ author_email="team@cherrypy.org",
+ url="http://www.cherrypy.org",
+ license="BSD",
+- packages=["cherrypy", "cherrypy.lib", "cherrypy.lib.filter", "cherrypy.tutorial", "cherrypy.test"],
++ packages=["cherrypy", "cherrypy.lib", "cherrypy.lib.filter"],
+ download_url="http://trac.cherrypy.org/cgi-bin/trac.cgi/wiki/CherryPyDownload"
+ )
+
diff --git a/dev-python/cherrypy/files/digest-cherrypy-2.0.0b b/dev-python/cherrypy/files/digest-cherrypy-2.0.0b
new file mode 100644
index 000000000000..9d86ae15b579
--- /dev/null
+++ b/dev-python/cherrypy/files/digest-cherrypy-2.0.0b
@@ -0,0 +1 @@
+MD5 1a7822256854f67ab1b3def7923d9920 CherryPy-2.0.0b.tar.gz 37234
diff --git a/dev-python/cherrypy/metadata.xml b/dev-python/cherrypy/metadata.xml
new file mode 100644
index 000000000000..301d2207cc29
--- /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>