summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarien Zwart <marienz@gentoo.org>2006-09-24 19:54:26 +0000
committerMarien Zwart <marienz@gentoo.org>2006-09-24 19:54:26 +0000
commit4c3090188f3af90c93047e49a0948026d558dd48 (patch)
tree13b0d670e04893b1dd31e0c6c0a91a4d7a4896f0 /net-zope
parentChanging need-auto. tags to WANT_AUTO tags per bug #148719 (diff)
downloadhistorical-4c3090188f3af90c93047e49a0948026d558dd48.tar.gz
historical-4c3090188f3af90c93047e49a0948026d558dd48.tar.bz2
historical-4c3090188f3af90c93047e49a0948026d558dd48.zip
Silence deprecation warnings with python 2.5, add python herd to metadata.xml (bug #148421).
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'net-zope')
-rw-r--r--net-zope/zopeinterface/ChangeLog10
-rw-r--r--net-zope/zopeinterface/Manifest43
-rw-r--r--net-zope/zopeinterface/files/digest-zopeinterface-3.0.12
-rw-r--r--net-zope/zopeinterface/files/digest-zopeinterface-3.0.1-r13
-rw-r--r--net-zope/zopeinterface/files/zopeinterface-3.0.1-with-rename.patch252
-rw-r--r--net-zope/zopeinterface/metadata.xml1
-rw-r--r--net-zope/zopeinterface/zopeinterface-3.0.1-r1.ebuild39
7 files changed, 333 insertions, 17 deletions
diff --git a/net-zope/zopeinterface/ChangeLog b/net-zope/zopeinterface/ChangeLog
index 874cdcaf5ed7..7e0ff0c8d0f1 100644
--- a/net-zope/zopeinterface/ChangeLog
+++ b/net-zope/zopeinterface/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-zope/zopeinterface
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zopeinterface/ChangeLog,v 1.21 2006/05/29 17:48:57 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zopeinterface/ChangeLog,v 1.22 2006/09/24 19:54:26 marienz Exp $
+
+*zopeinterface-3.0.1-r1 (24 Sep 2006)
+
+ 24 Sep 2006; Marien Zwart <marienz@gentoo.org>
+ +files/zopeinterface-3.0.1-with-rename.patch, metadata.xml,
+ +zopeinterface-3.0.1-r1.ebuild:
+ Silence deprecation warnings with python 2.5, add python herd to
+ metadata.xml (bug #148421).
29 May 2006; Simon Stelling <blubb@gentoo.org> zopeinterface-3.0.1.ebuild:
stable on amd64
diff --git a/net-zope/zopeinterface/Manifest b/net-zope/zopeinterface/Manifest
index 3e14812400e7..845af76f8bb2 100644
--- a/net-zope/zopeinterface/Manifest
+++ b/net-zope/zopeinterface/Manifest
@@ -5,34 +5,45 @@ AUX zopeinterface-3.0.1-gcc4.patch 752 RMD160 860b22689596dbca2862f6ce4815878a78
MD5 bf5b2fab1194b14762c644e97169a595 files/zopeinterface-3.0.1-gcc4.patch 752
RMD160 860b22689596dbca2862f6ce4815878a78bcd8b6 files/zopeinterface-3.0.1-gcc4.patch 752
SHA256 f55bb6499317e1107ce3d9bd510c519ba4233bbea4e02be5f926dc6f180339e9 files/zopeinterface-3.0.1-gcc4.patch 752
+AUX zopeinterface-3.0.1-with-rename.patch 9081 RMD160 3ad691e4b8170912feb7ac999eaba73e7b0d4ad8 SHA1 29c4772439f99a6f9c35c3071692ba38868db49e SHA256 7b4e4445064760c1a3ec47e3bc79134287d0b94235f16162bf2b09ea04b404c2
+MD5 a39818f15d60aa088438a89aad9b3c85 files/zopeinterface-3.0.1-with-rename.patch 9081
+RMD160 3ad691e4b8170912feb7ac999eaba73e7b0d4ad8 files/zopeinterface-3.0.1-with-rename.patch 9081
+SHA256 7b4e4445064760c1a3ec47e3bc79134287d0b94235f16162bf2b09ea04b404c2 files/zopeinterface-3.0.1-with-rename.patch 9081
DIST ZopeInterface-3.0.0.tgz 108394
-DIST ZopeInterface-3.0.1.tgz 108336
+DIST ZopeInterface-3.0.1.tgz 108336 RMD160 77ae531b20e069de959807ae980a76b460e3f76c SHA1 3707f7129acf085d5a0b6b616893ab647cbc7c84 SHA256 04a960d6ea1d89c2a44ebf730bdf492f617a5fda9d3cba19c2b041daff492236
EBUILD zopeinterface-3.0.0.ebuild 708 RMD160 ad167c0c4f17d9abb7c48ff3fedcfd6657b57bc8 SHA1 af1b0682a47a8e6606bb3af602d7ca6169cb9882 SHA256 649977dd79ebddf6795951317c384db0d5ff75617cfdfc9ba50190210b83cf5c
MD5 ddbc3525d554fa4ac9d83a79802bbffb zopeinterface-3.0.0.ebuild 708
RMD160 ad167c0c4f17d9abb7c48ff3fedcfd6657b57bc8 zopeinterface-3.0.0.ebuild 708
SHA256 649977dd79ebddf6795951317c384db0d5ff75617cfdfc9ba50190210b83cf5c zopeinterface-3.0.0.ebuild 708
+EBUILD zopeinterface-3.0.1-r1.ebuild 983 RMD160 3d79f349c926537339b2bb098589309f9d248b70 SHA1 4b6abadd4589fce99bee12a00671d9c7a7eb239a SHA256 9b78df05712248297585bf696f3fc7dba2b818af59845d3bea55469b7e3f9b9d
+MD5 041dad31178feb3ac0bf368a1d750bf3 zopeinterface-3.0.1-r1.ebuild 983
+RMD160 3d79f349c926537339b2bb098589309f9d248b70 zopeinterface-3.0.1-r1.ebuild 983
+SHA256 9b78df05712248297585bf696f3fc7dba2b818af59845d3bea55469b7e3f9b9d zopeinterface-3.0.1-r1.ebuild 983
EBUILD zopeinterface-3.0.1.ebuild 834 RMD160 431b9e4ac5f0bcfa679c1b1ee350e0f5ab72733d SHA1 afafd8d8674be3f390156a9e3be79a1a055d93ca SHA256 1d87f230499997e095688e4f6ecffd336500867ba39d0093e936d632a6479b27
MD5 5444c89ecd62542b3d7b9ae23ad82df2 zopeinterface-3.0.1.ebuild 834
RMD160 431b9e4ac5f0bcfa679c1b1ee350e0f5ab72733d zopeinterface-3.0.1.ebuild 834
SHA256 1d87f230499997e095688e4f6ecffd336500867ba39d0093e936d632a6479b27 zopeinterface-3.0.1.ebuild 834
-MISC ChangeLog 2590 RMD160 03790ed74a288c35f485fbc9a09ead965af8c6cc SHA1 ba5af0c4bc1692268a974c91b38a9c20f0f0aad1 SHA256 4030a5d0851ebe110e77750a5be187865df6a7f78e8d83769ce583d8d24e53a2
-MD5 7f2888874f8dc44189cc37e2792a48c1 ChangeLog 2590
-RMD160 03790ed74a288c35f485fbc9a09ead965af8c6cc ChangeLog 2590
-SHA256 4030a5d0851ebe110e77750a5be187865df6a7f78e8d83769ce583d8d24e53a2 ChangeLog 2590
-MISC metadata.xml 161 RMD160 5e136d45f811478292bd2ee1798a9b0229ffe468 SHA1 9755179a2dee0511818b1f6738ded28e335e1b9a SHA256 e69ac7205cbc2e42a297e20d8f08922003390a345bbf50ccf00d1158a1c97cc5
-MD5 7890d88c5c6d189fbe6b187a3ebb6532 metadata.xml 161
-RMD160 5e136d45f811478292bd2ee1798a9b0229ffe468 metadata.xml 161
-SHA256 e69ac7205cbc2e42a297e20d8f08922003390a345bbf50ccf00d1158a1c97cc5 metadata.xml 161
+MISC ChangeLog 2874 RMD160 12e8d3f9a8b4cc02891a7accb24399b758f9a885 SHA1 473da30f797e895885f37e327271e82e840ded3f SHA256 7b866236cce6efde8a300a3a768ea8335c8eab65cc4d190d4a47125110835d51
+MD5 9f82978a4cfe985303b1225690ad1ed7 ChangeLog 2874
+RMD160 12e8d3f9a8b4cc02891a7accb24399b758f9a885 ChangeLog 2874
+SHA256 7b866236cce6efde8a300a3a768ea8335c8eab65cc4d190d4a47125110835d51 ChangeLog 2874
+MISC metadata.xml 181 RMD160 b651de9adc8c22c462ea4745c89ee71448fbaa23 SHA1 e9cc0a80a4822abb079feee03c18cd06c5e3921c SHA256 3501c481a2455d2f3a83f65e48f87bf5dbcad0a29a3831bd54cb174975285c20
+MD5 832042e8ab90377649ed5ba7daa7e9ad metadata.xml 181
+RMD160 b651de9adc8c22c462ea4745c89ee71448fbaa23 metadata.xml 181
+SHA256 3501c481a2455d2f3a83f65e48f87bf5dbcad0a29a3831bd54cb174975285c20 metadata.xml 181
MD5 f272ae0b346de2f2e7081d1e314329e2 files/digest-zopeinterface-3.0.0 68
RMD160 53c3ebeecf19fbecfc73f2ecff0ccf2985998223 files/digest-zopeinterface-3.0.0 68
SHA256 cfa80a59df99be5d16a23948e2624efedb410c9977327b98a2657854a33caf49 files/digest-zopeinterface-3.0.0 68
-MD5 6b53a0ef10de6ad609d5c345b0ab424d files/digest-zopeinterface-3.0.1 68
-RMD160 598ff0849ef4c8702d13dc9bf98b361a65974b65 files/digest-zopeinterface-3.0.1 68
-SHA256 0fb3989e7bddcd2e13d5fae9c4f88ee82a121110af1bb8cafd5804a7d54bebff files/digest-zopeinterface-3.0.1 68
+MD5 385e14da958bbc648c2e3c39f1b34d8e files/digest-zopeinterface-3.0.1 250
+RMD160 5e80a24e7bf1f75e8d899559908675df6c25e2ae files/digest-zopeinterface-3.0.1 250
+SHA256 1c060505086174771edf9590d373c18191a0e69e1fc696f1d32aef7d94d0a39e files/digest-zopeinterface-3.0.1 250
+MD5 385e14da958bbc648c2e3c39f1b34d8e files/digest-zopeinterface-3.0.1-r1 250
+RMD160 5e80a24e7bf1f75e8d899559908675df6c25e2ae files/digest-zopeinterface-3.0.1-r1 250
+SHA256 1c060505086174771edf9590d373c18191a0e69e1fc696f1d32aef7d94d0a39e files/digest-zopeinterface-3.0.1-r1 250
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.4 (GNU/Linux)
+Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFEqCtTamhnQswr0vIRAq6+AJ9feE25cHn2Lpe23MBGqQ8drAMRKgCeLgvL
-GZN6vycTvTE9B9UkXXyoyUo=
-=lxQ4
+iD8DBQFFFuJ4UElL7eJpfEQRAtjOAJ9lgvBN/hgXjIQCWnZtIQdxG7S8bwCcCCo2
+tpRg0+fqkIdEtrBXHkgjmco=
+=kxU0
-----END PGP SIGNATURE-----
diff --git a/net-zope/zopeinterface/files/digest-zopeinterface-3.0.1 b/net-zope/zopeinterface/files/digest-zopeinterface-3.0.1
index a3da2432b25c..943c51fd638f 100644
--- a/net-zope/zopeinterface/files/digest-zopeinterface-3.0.1
+++ b/net-zope/zopeinterface/files/digest-zopeinterface-3.0.1
@@ -1 +1,3 @@
MD5 114f302c2b132d43ad4e01d108b4d192 ZopeInterface-3.0.1.tgz 108336
+RMD160 77ae531b20e069de959807ae980a76b460e3f76c ZopeInterface-3.0.1.tgz 108336
+SHA256 04a960d6ea1d89c2a44ebf730bdf492f617a5fda9d3cba19c2b041daff492236 ZopeInterface-3.0.1.tgz 108336
diff --git a/net-zope/zopeinterface/files/digest-zopeinterface-3.0.1-r1 b/net-zope/zopeinterface/files/digest-zopeinterface-3.0.1-r1
new file mode 100644
index 000000000000..943c51fd638f
--- /dev/null
+++ b/net-zope/zopeinterface/files/digest-zopeinterface-3.0.1-r1
@@ -0,0 +1,3 @@
+MD5 114f302c2b132d43ad4e01d108b4d192 ZopeInterface-3.0.1.tgz 108336
+RMD160 77ae531b20e069de959807ae980a76b460e3f76c ZopeInterface-3.0.1.tgz 108336
+SHA256 04a960d6ea1d89c2a44ebf730bdf492f617a5fda9d3cba19c2b041daff492236 ZopeInterface-3.0.1.tgz 108336
diff --git a/net-zope/zopeinterface/files/zopeinterface-3.0.1-with-rename.patch b/net-zope/zopeinterface/files/zopeinterface-3.0.1-with-rename.patch
new file mode 100644
index 000000000000..85676025c2b4
--- /dev/null
+++ b/net-zope/zopeinterface/files/zopeinterface-3.0.1-with-rename.patch
@@ -0,0 +1,252 @@
+=== modified file 'Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/adapter.py'
+--- Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/adapter.py 2006-09-20 20:56:16 +0000
++++ Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/adapter.py 2006-09-20 21:19:48 +0000
+@@ -192,8 +192,8 @@
+ oldwithobs = implied[key] = {}
+
+ # v is {with -> tuple([object])}
+- for with, objects in v.iteritems():
+- oldwithobs[with] = oldwithobs.get(with, ()) + objects
++ for withob, objects in v.iteritems():
++ oldwithobs[withob] = oldwithobs.get(withob, ()) + objects
+
+ else:
+ oldbyname = implied.get(key)
+@@ -253,24 +253,24 @@
+ def unsubscribe(self, dependent):
+ del self.dependents[dependent]
+
+- def _adaptTo(self, specification, object, name='', with=()):
++ def _adaptTo(self, specification, object, name='', withob=()):
+ if object is None:
+ try:
+- del self.adapters[False, tuple(with), name, specification]
++ del self.adapters[False, tuple(withob), name, specification]
+ except KeyError:
+ pass
+ else:
+- self.adapters[False, tuple(with), name, specification
++ self.adapters[False, tuple(withob), name, specification
+ ] = object
+
+ self.dirty()
+
+- def _subscriptionAdaptTo(self, specification, object, with=()):
++ def _subscriptionAdaptTo(self, specification, object, withob=()):
+ if object is None:
+ raise TypeError, ("Unregistering subscription adapters"
+ " isn't implemented")
+
+- key = (True, tuple(with), '', specification)
++ key = (True, tuple(withob), '', specification)
+ self.adapters[key] = self.adapters.get(key, ()) + (object, )
+ self.dirty()
+
+@@ -287,13 +287,13 @@
+ # withs[j][0] extends withs[i][0].
+
+ withs = []
+- for with, value in bywith.iteritems():
++ for withob, value in bywith.iteritems():
+ for i, (w, v) in enumerate(withs):
+- if withextends(with, w):
+- withs.insert(i, (with, value))
++ if withextends(withob, w):
++ withs.insert(i, (withob, value))
+ break
+ else:
+- withs.append((with, value))
++ withs.append((withob, value))
+
+ return withs
+
+@@ -355,7 +355,7 @@
+
+ # Multi adapter
+
+- with = required[1:]
++ withob = required[1:]
+ key = provided, order
+
+ for surrogate in self.get(required[0]), self._default:
+@@ -377,7 +377,7 @@
+ for rwith, value in bywith:
+ # the `rank` describes how well the found adapter matches.
+ rank = []
+- for rspec, spec in zip(rwith, with):
++ for rspec, spec in zip(rwith, withob):
+ if not spec.isOrExtends(rspec):
+ break # This one is no good
+ # Determine the rank of this particular specification.
+@@ -459,7 +459,7 @@
+
+ # Multi
+ key = 's', provided, order
+- with = required[1:]
++ withob = required[1:]
+ result = []
+
+ for surrogate in self.get(required[0]), self._default:
+@@ -468,7 +468,7 @@
+ continue
+
+ for rwith, values in bywith:
+- for rspec, spec in zip(rwith, with):
++ for rspec, spec in zip(rwith, withob):
+ if not spec.isOrExtends(rspec):
+ break # This one is no good
+ else:
+@@ -537,22 +537,22 @@
+
+ def register(self, required, provided, name, value):
+ if required:
+- with = []
++ withob = []
+ for iface in required[1:]:
+ if iface is None:
+ iface = Interface
+- with.append(iface)
+- with = tuple(with)
++ withob.append(iface)
++ withob = tuple(withob)
+ required = self.get(required[0])
+ else:
+- with = ()
++ withob = ()
+ required = self._null
+
+ if not isinstance(name, basestring):
+ raise TypeError("The name provided to provideAdapter "
+ "must be a string or unicode")
+
+- required._adaptTo(provided, value, unicode(name), with)
++ required._adaptTo(provided, value, unicode(name), withob)
+
+ def lookupAll(self, required, provided):
+ order = len(required)
+@@ -585,7 +585,7 @@
+
+ # Multi adapter
+
+- with = required[1:]
++ withob = required[1:]
+ key = provided, order
+ first = ()
+
+@@ -599,7 +599,7 @@
+ continue
+
+ for rwith, value in bywith:
+- for rspec, spec in zip(rwith, with):
++ for rspec, spec in zip(rwith, withob):
+ if not spec.isOrExtends(rspec):
+ break # This one is no good
+ else:
+@@ -611,19 +611,19 @@
+
+ def subscribe(self, required, provided, value):
+ if required:
+- required, with = self.get(required[0]), tuple(required[1:])
++ required, withob = self.get(required[0]), tuple(required[1:])
+ else:
+ required = self._null
+- with = ()
++ withob = ()
+
+ if provided is None:
+ provided = Null
+
+- required._subscriptionAdaptTo(provided, value, with)
++ required._subscriptionAdaptTo(provided, value, withob)
+
+-def mextends(with, rwith):
+- if len(with) == len(rwith):
+- for w, r in zip(with, rwith):
++def mextends(withob, rwith):
++ if len(withob) == len(rwith):
++ for w, r in zip(withob, rwith):
+ if not w.isOrExtends(r):
+ break
+ else:
+@@ -646,19 +646,19 @@
+ # TODO: Backward compatability
+ # Don't need to handle 3-tuples some day
+ try:
+- (subscription, with, name, target) = key
++ (subscription, withob, name, target) = key
+ except ValueError:
+- (with, name, target) = key
++ (withob, name, target) = key
+ subscription = False
+
+ if subscription:
+- if with:
+- _add_multi_sub_adapter(with, target, multi, value)
++ if withob:
++ _add_multi_sub_adapter(withob, target, multi, value)
+ else:
+ _add_named_sub_adapter(target, implied, value)
+ else:
+- if with:
+- _add_multi_adapter(with, name, target, target, multi,
++ if withob:
++ _add_multi_adapter(withob, name, target, target, multi,
+ registered, value)
+ else:
+ _add_named_adapter(target, target, name, implied,
+@@ -688,10 +688,10 @@
+ _add_named_adapter(b, provided, name, implied,
+ registered, value)
+
+-def _add_multi_adapter(with, name, target, provided, implied,
++def _add_multi_adapter(withob, name, target, provided, implied,
+ registered, object):
+
+- ikey = target, (len(with) + 1)
++ ikey = target, (len(withob) + 1)
+ byname = implied.get(ikey)
+ if not byname:
+ byname = implied[ikey] = {}
+@@ -701,8 +701,8 @@
+ bywith = byname[name] = {}
+
+
+- rkey = ikey, name, with # The full key has all 4
+- if (with not in bywith
++ rkey = ikey, name, withob # The full key has all 4
++ if (withob not in bywith
+ or
+ (rkey not in registered or registered[rkey].extends(provided))
+ ):
+@@ -710,10 +710,10 @@
+ # general interface that is closer provided than what we had
+ # before
+ registered[rkey] = provided
+- bywith[with] = object
++ bywith[withob] = object
+
+ for b in target.__bases__:
+- _add_multi_adapter(with, name, b, provided, implied,
++ _add_multi_adapter(withob, name, b, provided, implied,
+ registered, object)
+
+ def _add_named_sub_adapter(target, implied, objects):
+@@ -723,13 +723,13 @@
+ for b in target.__bases__:
+ _add_named_sub_adapter(b, implied, objects)
+
+-def _add_multi_sub_adapter(with, target, implied, objects):
+- key = 's', target, (len(with) + 1)
++def _add_multi_sub_adapter(withob, target, implied, objects):
++ key = 's', target, (len(withob) + 1)
+ bywith = implied.get(key)
+ if not bywith:
+ bywith = implied[key] = {}
+
+- bywith[with] = bywith.get(with, ()) + objects
++ bywith[withob] = bywith.get(withob, ()) + objects
+
+ for b in target.__bases__:
+- _add_multi_sub_adapter(with, b, implied, objects)
++ _add_multi_sub_adapter(withob, b, implied, objects)
+
diff --git a/net-zope/zopeinterface/metadata.xml b/net-zope/zopeinterface/metadata.xml
index 46c8eea1b318..b4c64b92ffaf 100644
--- a/net-zope/zopeinterface/metadata.xml
+++ b/net-zope/zopeinterface/metadata.xml
@@ -2,4 +2,5 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-zope</herd>
+<herd>python</herd>
</pkgmetadata>
diff --git a/net-zope/zopeinterface/zopeinterface-3.0.1-r1.ebuild b/net-zope/zopeinterface/zopeinterface-3.0.1-r1.ebuild
new file mode 100644
index 000000000000..7ae0ae495f15
--- /dev/null
+++ b/net-zope/zopeinterface/zopeinterface-3.0.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zopeinterface/zopeinterface-3.0.1-r1.ebuild,v 1.1 2006/09/24 19:54:26 marienz Exp $
+
+inherit distutils eutils
+
+MY_PN="ZopeInterface"
+DESCRIPTION="Standalone Zope interface library"
+HOMEPAGE="http://zope.org/Products/ZopeInterface"
+SRC_URI="http://www.zope.org/Products/${MY_PN}/${PV}final/${MY_PN}-${PV}.tgz"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-lang/python-2.3"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-gcc4.patch
+ # Rename "with": python 2.5 warns about it (will be a keyword in 2.6)
+ epatch "${FILESDIR}"/${P}-with-rename.patch
+}
+
+src_install() {
+ distutils_src_install
+ if use doc ; then
+ cp -pR $MY_PN "${D}"/usr/share/doc/${PF}/
+ fi
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+}