From d451463e18a1b97e5628c071690ac668c0dcc6a1 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 13 Apr 2006 02:26:54 +0000 Subject: 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. --- lang/python23/patches/patch-ai | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lang/python23/patches/patch-ai (limited to 'lang/python23/patches') 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) + -- cgit v1.2.3