summaryrefslogtreecommitdiff
path: root/lang/python23
diff options
context:
space:
mode:
authorjoerg <joerg>2006-04-13 02:26:54 +0000
committerjoerg <joerg>2006-04-13 02:26:54 +0000
commitd451463e18a1b97e5628c071690ac668c0dcc6a1 (patch)
tree1dfa57725ef5c772d4a448cdff68f5edc29865ac /lang/python23
parentd9d9dd3d71d3efc151560f22e5643b07efa6b498 (diff)
downloadpkgsrc-d451463e18a1b97e5628c071690ac668c0dcc6a1.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/python23')
-rw-r--r--lang/python23/Makefile4
-rw-r--r--lang/python23/distinfo3
-rw-r--r--lang/python23/patches/patch-ai13
3 files changed, 17 insertions, 3 deletions
diff --git a/lang/python23/Makefile b/lang/python23/Makefile
index 20912c3c6a0..0e98d7ecaf7 100644
--- a/lang/python23/Makefile
+++ b/lang/python23/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.34 2006/02/05 23:09:47 joerg Exp $
+# $NetBSD: Makefile,v 1.35 2006/04/13 02:26:54 joerg Exp $
#
PKGNAME= python23-2.3.5
-PKGREVISION= 6
+PKGREVISION= 7
CONFLICTS+= python-[0-9]*
diff --git a/lang/python23/distinfo b/lang/python23/distinfo
index 315e5310a0e..504037f149f 100644
--- a/lang/python23/distinfo
+++ b/lang/python23/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.36 2005/11/16 19:18:59 joerg Exp $
+$NetBSD: distinfo,v 1.37 2006/04/13 02:26:54 joerg Exp $
SHA1 (Python-2.3.5.tgz) = 2729d068f5d1abe7b743f32012d4f7c4b0508a3c
RMD160 (Python-2.3.5.tgz) = 2104a393ca7c91b72b990ced53a0da752ccf42ef
@@ -10,6 +10,7 @@ SHA1 (patch-ad) = c8f6ea08e68dae3bd9ad639c38e74cf654c0b41e
SHA1 (patch-ae) = 3dcf150147333342b333871b41fe6fa92bced2d9
SHA1 (patch-af) = f161ce64bb1b318926bd9c534fe7050d7ddb636f
SHA1 (patch-ah) = 6740fb09c3a1fca8cd25642a683d65d6d66760f8
+SHA1 (patch-ai) = 0e8564ec8157fb5c48c801294213c66ae89a55a1
SHA1 (patch-al) = 98818fe37c3bac94bee91fe4f3dd8633172bec49
SHA1 (patch-am) = df5c858b32a9a5aa118c84f6742f9d3547c0c7f3
SHA1 (patch-bb) = 4bc4b8d73ed273bb753db5d6d971d446b730e165
diff --git a/lang/python23/patches/patch-ai b/lang/python23/patches/patch-ai
new file mode 100644
index 00000000000..2a1ae918727
--- /dev/null
+++ b/lang/python23/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.5 2006/04/13 02:26:54 joerg Exp $
+
+--- Lib/distutils/util.py.orig 2004-07-18 06:16:08.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)
+