Patch to support Python 2.5
authorRob Cakebread <pythonhead@gentoo.org>
Fri, 6 Apr 2007 06:46:33 +0000 (06:46 +0000)
committerRob Cakebread <pythonhead@gentoo.org>
Fri, 6 Apr 2007 06:46:33 +0000 (06:46 +0000)
Package-Manager: portage-2.1.2.3

dev-python/turbogears/ChangeLog
dev-python/turbogears/Manifest
dev-python/turbogears/files/turbogears-1.0.1-py25.diff [new file with mode: 0644]
dev-python/turbogears/turbogears-1.0.1.ebuild

index 4d018712998d27bf10b0a61e409064ef22b2586a..0eb5891f62cd6f514e927ff509c34ff47dd411fd 100644 (file)
@@ -1,6 +1,10 @@
 # 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.1 2007/02/28 00:32:40 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/turbogears/ChangeLog,v 1.2 2007/04/06 06:46:33 pythonhead Exp $
+
+  06 Apr 2007; Rob Cakebread <pythonhead@gentoo.org>
+  +files/turbogears-1.0.1-py25.diff, turbogears-1.0.1.ebuild:
+  Patch to support Python 2.5
 
   05 Feb 2007; Tiziano Müller <dev-zero@gentoo.org>
   -turbogears-1.0_beta2.ebuild, +turbogears-1.0.1.ebuild, +metadata.xml:
index d3cae21b2541d65cc153fc73852a1faa9036c2e8..d4c8ea3d423baed50ced9bfecd11e9ce38e1aa9e 100644 (file)
@@ -1,12 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX turbogears-1.0.1-py25.diff 569 RMD160 bbeae480de3b061a514df63e485ec1828195018b SHA1 13e753b55108633ca31dbf0ac2e6d41f75b94d69 SHA256 e7aa9cbf9f2ccf282a676f7ce572453662ba0e53e0a7fadabd08e904ccd945e2
+MD5 d5bf6345bc71f57b7fcc922232488db2 files/turbogears-1.0.1-py25.diff 569
+RMD160 bbeae480de3b061a514df63e485ec1828195018b files/turbogears-1.0.1-py25.diff 569
+SHA256 e7aa9cbf9f2ccf282a676f7ce572453662ba0e53e0a7fadabd08e904ccd945e2 files/turbogears-1.0.1-py25.diff 569
 DIST TurboGears-1.0.1.tar.gz 753149 RMD160 2ed258e7a5d790fbc15395a03597c6b3b6914f1d SHA1 f3921cde12413a0637a7614e6d0484966203b340 SHA256 ed70be7ddbe503286aae01f01b2165c442feabc1f92b812356df5061da948bf7
-EBUILD turbogears-1.0.1.ebuild 1472 RMD160 3763fde1bbc0732b87b2932ce048213c4090ed5f SHA1 948632a6b2234bbf7f74d0e88a3b947743a193f9 SHA256 91b86c71c5fdd9dff51ff6e084ededd9d7b53720858e530eaf2d26922b4dbd92
-MD5 e4bae42d6335da2b1912fb447bad22ff turbogears-1.0.1.ebuild 1472
-RMD160 3763fde1bbc0732b87b2932ce048213c4090ed5f turbogears-1.0.1.ebuild 1472
-SHA256 91b86c71c5fdd9dff51ff6e084ededd9d7b53720858e530eaf2d26922b4dbd92 turbogears-1.0.1.ebuild 1472
-MISC ChangeLog 362 RMD160 5041e1f67fd479ba5c8dc0a28a870337e8346657 SHA1 b51dbaeb59e73d144eafb25db43b5d5fc3f0c331 SHA256 0a5eef62651470edef5a17825764bb98825f086f87a2e171cec59241ee78fec1
-MD5 f94f9165f3cf5edfbe0640ff3a3342a4 ChangeLog 362
-RMD160 5041e1f67fd479ba5c8dc0a28a870337e8346657 ChangeLog 362
-SHA256 0a5eef62651470edef5a17825764bb98825f086f87a2e171cec59241ee78fec1 ChangeLog 362
+EBUILD turbogears-1.0.1.ebuild 1547 RMD160 3e1793d049925bf4bd40c54d4b64ce816344e246 SHA1 cb17013d55940271ab100c41ac49bea438c17092 SHA256 ad54a642a1bcc0b7b630d6ee94b7dfb857bdf27351beac6c7a81e70762899e05
+MD5 50c40e99e0a99c07648dfa8feb8a90c8 turbogears-1.0.1.ebuild 1547
+RMD160 3e1793d049925bf4bd40c54d4b64ce816344e246 turbogears-1.0.1.ebuild 1547
+SHA256 ad54a642a1bcc0b7b630d6ee94b7dfb857bdf27351beac6c7a81e70762899e05 turbogears-1.0.1.ebuild 1547
+MISC ChangeLog 510 RMD160 f2006a89511f20ea432f6b8ca4dfd49a7b7815be SHA1 e67aa6008658594ee3b789e2dfba8cabb099b12f SHA256 4edc3e4e7942e4298531e2f58a842d8e4da0e6d493b65880c307782ff1ceb970
+MD5 258779728583554529973314e60286a4 ChangeLog 510
+RMD160 f2006a89511f20ea432f6b8ca4dfd49a7b7815be ChangeLog 510
+SHA256 4edc3e4e7942e4298531e2f58a842d8e4da0e6d493b65880c307782ff1ceb970 ChangeLog 510
 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
 MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159
@@ -14,3 +21,10 @@ SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 metadata
 MD5 7e34e4b96d48c54d4b8cf33a91a27edf files/digest-turbogears-1.0.1 250
 RMD160 44d0a06e46cd1566616249626550a03099140ef5 files/digest-turbogears-1.0.1 250
 SHA256 ef653568836b74c23911e6d6bcfd2ce3b562054212c6632b2a0383879c9f1806 files/digest-turbogears-1.0.1 250
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGFezU96cFzIajWwkRAl//AKCQCaVzELUtml6WHbuzD/csKwJ/2gCfd8gz
+W2DXuEH8+P81cj8xQ3UsDoU=
+=JP6d
+-----END PGP SIGNATURE-----
diff --git a/dev-python/turbogears/files/turbogears-1.0.1-py25.diff b/dev-python/turbogears/files/turbogears-1.0.1-py25.diff
new file mode 100644 (file)
index 0000000..2dc5b89
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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)
index 90f449c2e16eb9d6516c44329b07e5765c826830..e53d0c5fb6ec0a2586aeec7cb9af06228e82ba39 100644 (file)
@@ -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.1 2007/02/28 00:32:40 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/turbogears/turbogears-1.0.1.ebuild,v 1.2 2007/04/06 06:46:33 pythonhead Exp $
 
 NEED_PYTHON=2.4
 
@@ -42,7 +42,8 @@ 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' \