summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cakebread <pythonhead@gentoo.org>2007-05-06 01:19:10 +0000
committerRob Cakebread <pythonhead@gentoo.org>2007-05-06 01:19:10 +0000
commitd07b18014d1a81a13ee68e9de410b79ea73b0f7c (patch)
tree03beec413b39926e12580b16d965ac795a9bedd1
parentversion bump (diff)
downloadgentoo-2-d07b18014d1a81a13ee68e9de410b79ea73b0f7c.tar.gz
gentoo-2-d07b18014d1a81a13ee68e9de410b79ea73b0f7c.tar.bz2
gentoo-2-d07b18014d1a81a13ee68e9de410b79ea73b0f7c.zip
Version bump. Removed unsupported python2.5 patch from 1.0.1
(Portage version: 2.1.2.5)
-rw-r--r--dev-python/turbogears/ChangeLog9
-rw-r--r--dev-python/turbogears/files/digest-turbogears-1.0.2.23
-rw-r--r--dev-python/turbogears/files/turbogears-1.0.1-py25.diff11
-rw-r--r--dev-python/turbogears/turbogears-1.0.1.ebuild4
-rw-r--r--dev-python/turbogears/turbogears-1.0.2.2.ebuild57
5 files changed, 69 insertions, 15 deletions
diff --git a/dev-python/turbogears/ChangeLog b/dev-python/turbogears/ChangeLog
index f4517baa50cf..7df2de5d1e25 100644
--- a/dev-python/turbogears/ChangeLog
+++ b/dev-python/turbogears/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/turbogears
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/turbogears/ChangeLog,v 1.3 2007/05/02 16:49:00 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/turbogears/ChangeLog,v 1.4 2007/05/06 01:19:10 pythonhead Exp $
+
+*turbogears-1.0.2.2 (06 May 2007)
+
+ 06 May 2007; Rob Cakebread <pythonhead@gentoo.org>
+ -files/turbogears-1.0.1-py25.diff, turbogears-1.0.1.ebuild,
+ +turbogears-1.0.2.2.ebuild:
+ Version bump. Removed unsupported python2.5 patch from 1.0.1
02 May 2007; Rob Cakebread <pythonhead@gentoo.org>
turbogears-1.0.1.ebuild:
diff --git a/dev-python/turbogears/files/digest-turbogears-1.0.2.2 b/dev-python/turbogears/files/digest-turbogears-1.0.2.2
new file mode 100644
index 000000000000..b4d04a06e03a
--- /dev/null
+++ b/dev-python/turbogears/files/digest-turbogears-1.0.2.2
@@ -0,0 +1,3 @@
+MD5 a8d79645b4ce67409026838ca360addc TurboGears-1.0.2.2.tar.gz 763088
+RMD160 220285387ae05ef3ebb773ed51f8f9991bb32e83 TurboGears-1.0.2.2.tar.gz 763088
+SHA256 311e2119f38d78d322408f7b6f106905921ce141f0e19d6ca254a6f9ee63e769 TurboGears-1.0.2.2.tar.gz 763088
diff --git a/dev-python/turbogears/files/turbogears-1.0.1-py25.diff b/dev-python/turbogears/files/turbogears-1.0.1-py25.diff
deleted file mode 100644
index 2dc5b8997167..000000000000
--- a/dev-python/turbogears/files/turbogears-1.0.1-py25.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- turbogears/widgets/meta.py.OLD 2007-02-06 21:39:39.500000000 +0100
-+++ turbogears/widgets/meta.py 2007-02-06 21:34:29.421875000 +0100
-@@ -70,7 +70,7 @@
- dct["__init__"] = _decorate_widget_init(dct["__init__"])
- cls.__init__ = dct["__init__"]
- super(MetaWidget, cls).__init__(name, bases, dct)
-- modname = "%s.%s.Template" % (cls.__module__, name)
-+ modname = "%s.%s" % (cls.__module__, name)
- if cls.template:
- (cls.template_c,
- cls.template) = load_kid_template(cls.template, modname)
diff --git a/dev-python/turbogears/turbogears-1.0.1.ebuild b/dev-python/turbogears/turbogears-1.0.1.ebuild
index 9e39c1bbac72..a6d649bde95e 100644
--- a/dev-python/turbogears/turbogears-1.0.1.ebuild
+++ b/dev-python/turbogears/turbogears-1.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/turbogears/turbogears-1.0.1.ebuild,v 1.3 2007/05/02 16:49:00 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/turbogears/turbogears-1.0.1.ebuild,v 1.4 2007/05/06 01:19:10 pythonhead Exp $
NEED_PYTHON=2.4
@@ -42,8 +42,6 @@ DOCS="CHANGELOG.txt CONTRIBUTORS.txt"
src_unpack() {
unpack ${A}
cd "${S}"
- #Make Turbogears work with Python 2.5
- epatch ${FILESDIR}/${P}-py25.diff
sed -i \
-e '/install_requires = \[.*\],/d' \
-e '/install_requires/, /],/d' \
diff --git a/dev-python/turbogears/turbogears-1.0.2.2.ebuild b/dev-python/turbogears/turbogears-1.0.2.2.ebuild
new file mode 100644
index 000000000000..c45eac054c32
--- /dev/null
+++ b/dev-python/turbogears/turbogears-1.0.2.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/turbogears/turbogears-1.0.2.2.ebuild,v 1.1 2007/05/06 01:19:10 pythonhead Exp $
+
+NEED_PYTHON=2.4
+
+inherit distutils
+
+KEYWORDS="~amd64 ~x86"
+
+MY_PN=TurboGears
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="The rapid web development meta-framework you've been looking for."
+HOMEPAGE="http://www.turbogears.org/"
+SRC_URI="http://files.turbogears.org/eggs/${MY_P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+
+RDEPEND=">=dev-python/turbojson-1.0
+ >=dev-python/turbocheetah-0.9.5
+ >=dev-python/cheetah-2.0_rc7
+ >=dev-python/turbokid-1.0.1
+ =dev-python/cherrypy-2.2*
+ >=dev-python/simplejson-1.3
+ >=dev-python/elementtree-1.2.6
+ >=dev-python/pastescript-0.9.7
+ >=dev-python/formencode-0.7.1
+ >=dev-python/ruledispatch-0.5_pre2306
+ >=dev-python/decoratortools-1.4
+ >=dev-python/configobj-4.3.2
+ >=dev-python/celementtree-1.0.5
+ || ( >=dev-python/sqlobject-0.7 >=dev-python/sqlalchemy-0.3.3 )
+ >=dev-python/genshi-0.3.6
+ test? ( >=dev-python/nose-0.9.1 >=dev-python/sqlalchemy-0.3.3 )"
+DEPEND="${RDEPEND}
+ >=dev-python/setuptools-0.6_rc5"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="CHANGELOG.txt CONTRIBUTORS.txt"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/install_requires = \[.*\],/d' \
+ -e '/use_setuptools/d' \
+ setup.py || die "sed failed"
+}
+
+src_test() {
+ PYTHONPATH=. "${python}" setup.py test || die "tests failed"
+ PYTHONPATH=. "${python}" setup.py nosetests || die "nosetests failed"
+}
+