pkgsrc/lang/python25/patches/patch-ao
tnn fd3f9b16d3 Here's python25-2.5.2, courtesy of pkgsrc-wip.
It probably needs plenty more polishing, especially on !NetBSD.
Python 2.4 will remain the default for some time.
For the new features in Python 2.5, look here:
* http://docs.python.org/whatsnew/whatsnew25.html
2008-04-24 01:50:55 +00:00

13 lines
491 B
Text

$NetBSD: patch-ao,v 1.1.1.1 2008/04/24 01:50:58 tnn Exp $
--- Lib/distutils/util.py.orig 2006-05-23 17:54:23.000000000 -0400
+++ Lib/distutils/util.py
@@ -115,6 +115,8 @@ def get_platform ():
elif machine in ('PowerPC', 'Power_Macintosh'):
# Pick a sane name for the PPC architecture.
machine = 'ppc'
+ elif osname[:9] == "dragonfly":
+ release = string.split(release, "-")[0]
return "%s-%s-%s" % (osname, release, machine)