summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authordarcy <darcy@pkgsrc.org>2005-08-23 20:55:46 +0000
committerdarcy <darcy@pkgsrc.org>2005-08-23 20:55:46 +0000
commita7ece3e577a323c8cf81bc316ae06e247416f686 (patch)
tree5ff003cac7dcae57e75e6ff42851247b7c9c2569 /lang
parent69c6883e9acd8ced2e43fe52d8e022532b4090da (diff)
downloadpkgsrc-a7ece3e577a323c8cf81bc316ae06e247416f686.tar.gz
There was a bug in Python that was supposed to be fixed but it seems to have
regressed in the latest version. I have contacted a Python developer to have this fixed properly. In the meantime I have created a patch to fix it in our tree. See http://sourceforge.net/tracker/index.php?func=detail&aid=1196315&group_id=5470&atid=105470 for details of the bug. Bumped PKGREVISION.
Diffstat (limited to 'lang')
-rw-r--r--lang/python24/Makefile4
-rw-r--r--lang/python24/distinfo3
-rw-r--r--lang/python24/patches/patch-an18
3 files changed, 22 insertions, 3 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index d1ec9b9db67..d46a33792e6 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2005/07/03 19:48:22 recht Exp $
+# $NetBSD: Makefile,v 1.10 2005/08/23 20:55:46 darcy Exp $
#
DISTNAME= Python-2.4.1
PKGNAME= python24-2.4.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= lang python
MASTER_SITES= ftp://ftp.python.org/pub/python/2.4.1/
EXTRACT_SUFX= .tar.bz2
diff --git a/lang/python24/distinfo b/lang/python24/distinfo
index cd8b262b5da..5995efca69c 100644
--- a/lang/python24/distinfo
+++ b/lang/python24/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2005/08/19 05:22:04 grant Exp $
+$NetBSD: distinfo,v 1.12 2005/08/23 20:55:46 darcy Exp $
SHA1 (Python-2.4.1.tar.bz2) = a4b58cf31359198dbb123b789440bcaf9052d198
RMD160 (Python-2.4.1.tar.bz2) = 8c682c9af21666cc6b8eaa08f8719eed231ab3ad
@@ -16,3 +16,4 @@ SHA1 (patch-aj) = e471737ade95423039661b475f2dd0fc27aa9dac
SHA1 (patch-ak) = f2e1d4087a94490bd3589a8c829ec72e04f31f72
SHA1 (patch-al) = d8365c06b5a309c6fc196a607fafa8cda27cb982
SHA1 (patch-am) = 9ce50340d76e8612384f94d4b03414d3f38e35d3
+SHA1 (patch-an) = 6bbcc9c973e40a1cd3d07fdb99c9fb599c47a610
diff --git a/lang/python24/patches/patch-an b/lang/python24/patches/patch-an
new file mode 100644
index 00000000000..ca408ff071b
--- /dev/null
+++ b/lang/python24/patches/patch-an
@@ -0,0 +1,18 @@
+$NetBSD: patch-an,v 1.5 2005/08/23 20:55:46 darcy Exp $
+
+--- Lib/weakref.py.orig 2004-08-31 07:38:12.000000000 -0400
++++ Lib/weakref.py
+@@ -43,12 +43,12 @@ class WeakValueDictionary(UserDict.UserD
+ # way in).
+
+ def __init__(self, *args, **kw):
+- UserDict.UserDict.__init__(self, *args, **kw)
+ def remove(wr, selfref=ref(self)):
+ self = selfref()
+ if self is not None:
+ del self.data[wr.key]
+ self._remove = remove
++ UserDict.UserDict.__init__(self, *args, **kw)
+
+ def __getitem__(self, key):
+ o = self.data[key]()