summaryrefslogtreecommitdiff
path: root/lang/python21
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-04-13 02:26:54 +0000
committerjoerg <joerg@pkgsrc.org>2006-04-13 02:26:54 +0000
commit053f691e9b2e92ff25375fcc0b26f61cfe37e8d9 (patch)
tree1dfa57725ef5c772d4a448cdff68f5edc29865ac /lang/python21
parent77e66f9bb1d7772a51fabab2c49ad8b029f03167 (diff)
downloadpkgsrc-053f691e9b2e92ff25375fcc0b26f61cfe37e8d9.tar.gz
Strip of anything after the version number in distutils.util.get_platform
on DragonFly. Since that version is used e.g. as part of the file name for python eggs, it makes handling easier to match normal pkgsrc platform policy. Bump revisions of all Python packages.
Diffstat (limited to 'lang/python21')
-rw-r--r--lang/python21/Makefile4
-rw-r--r--lang/python21/distinfo3
-rw-r--r--lang/python21/patches/patch-ak13
3 files changed, 17 insertions, 3 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile
index 85c38e269bf..78585b0b54e 100644
--- a/lang/python21/Makefile
+++ b/lang/python21/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.30 2006/04/10 08:37:26 joerg Exp $
+# $NetBSD: Makefile,v 1.31 2006/04/13 02:26:54 joerg Exp $
#
DISTNAME= Python-2.1.3
PKGNAME= python21-2.1.3
-PKGREVISION= 11
+PKGREVISION= 12
CATEGORIES= lang python
MASTER_SITES= ftp://ftp.python.org/pub/python/2.1.3/
EXTRACT_SUFX= .tgz
diff --git a/lang/python21/distinfo b/lang/python21/distinfo
index 2c04fe6a59a..9d8ce3d1491 100644
--- a/lang/python21/distinfo
+++ b/lang/python21/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2005/11/16 19:18:58 joerg Exp $
+$NetBSD: distinfo,v 1.24 2006/04/13 02:26:54 joerg Exp $
SHA1 (Python-2.1.3.tgz) = 7042a5c5fd60d334c0ac227885d68a4c305713b4
RMD160 (Python-2.1.3.tgz) = d7216480cf884507d97bf7932767871977fc1ccc
@@ -12,6 +12,7 @@ SHA1 (patch-af) = e17c20f83ba1219860a6aefd959364147c7963e1
SHA1 (patch-ah) = 637dfe0cb4d031760f1085fb7921c0ae77158221
SHA1 (patch-ai) = 6420f2994109b8cce55674ea14d7a974f9e039c6
SHA1 (patch-aj) = ca232f769b57f617496f5c8701a0a32fe55f1fd9
+SHA1 (patch-ak) = 3c74315271e4eabf19eec80b213f5632ec9d6f02
SHA1 (patch-bb) = b672598198b9a2ee030f811345313ee01ba23d65
SHA1 (patch-bc) = 6566f6cc3394d597ea3d588459f5208f7439df0c
SHA1 (patch-bd) = 1fcff14864fbd52f350f63bec57e2952a4715ca4
diff --git a/lang/python21/patches/patch-ak b/lang/python21/patches/patch-ak
new file mode 100644
index 00000000000..d53600b5227
--- /dev/null
+++ b/lang/python21/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2006/04/13 02:26:54 joerg Exp $
+
+--- Lib/distutils/util.py.orig 2001-03-23 17:30:26.000000000 +0000
++++ Lib/distutils/util.py
+@@ -66,6 +66,8 @@ def get_platform ():
+ m = rel_re.match(release)
+ if m:
+ release = m.group()
++ elif osname[:9] == "dragonfly":
++ release = string.split(release, "-")[0]
+
+ return "%s-%s-%s" % (osname, release, machine)
+