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