summaryrefslogtreecommitdiff
path: root/lang/python23/patches
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/patches
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/patches')
-rw-r--r--lang/python23/patches/patch-ai13
1 files changed, 13 insertions, 0 deletions
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)
+