pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python24 There was a bug in Python that was suppo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/94eb09e08448
branches: trunk
changeset: 498483:94eb09e08448
user: darcy <darcy%pkgsrc.org@localhost>
date: Tue Aug 23 20:55:46 2005 +0000
description:
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:
lang/python24/Makefile | 4 ++--
lang/python24/distinfo | 3 ++-
lang/python24/patches/patch-an | 18 ++++++++++++++++++
3 files changed, 22 insertions(+), 3 deletions(-)
diffs (51 lines):
diff -r 059d26101e99 -r 94eb09e08448 lang/python24/Makefile
--- a/lang/python24/Makefile Tue Aug 23 19:34:30 2005 +0000
+++ b/lang/python24/Makefile Tue Aug 23 20:55:46 2005 +0000
@@ -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 -r 059d26101e99 -r 94eb09e08448 lang/python24/distinfo
--- a/lang/python24/distinfo Tue Aug 23 19:34:30 2005 +0000
+++ b/lang/python24/distinfo Tue Aug 23 20:55:46 2005 +0000
@@ -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-ak) = f2e1d4087a94490bd3589a8c829ec72e04f31f72
SHA1 (patch-al) = d8365c06b5a309c6fc196a607fafa8cda27cb982
SHA1 (patch-am) = 9ce50340d76e8612384f94d4b03414d3f38e35d3
+SHA1 (patch-an) = 6bbcc9c973e40a1cd3d07fdb99c9fb599c47a610
diff -r 059d26101e99 -r 94eb09e08448 lang/python24/patches/patch-an
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python24/patches/patch-an Tue Aug 23 20:55:46 2005 +0000
@@ -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]()
Home |
Main Index |
Thread Index |
Old Index