c2f9324f81
* An ordered dictionary type * New unittest features including test skipping, new assert methods, and test discovery * A much faster io module * Automatic numbering of fields in the str.format() method * Float repr improvements backported from 3.x * Tile support for Tkinter * A backport of the memoryview object from 3.x * Set literals * Set and dictionary comprehensions * Dictionary views * New syntax for nested with statements * The sysconfig module
13 lines
444 B
Text
13 lines
444 B
Text
$NetBSD: patch-ao,v 1.3 2012/04/13 18:47:31 adam Exp $
|
|
|
|
--- Lib/distutils/util.py.orig 2011-06-11 15:46:24.000000000 +0000
|
|
+++ Lib/distutils/util.py
|
|
@@ -181,6 +181,8 @@ def get_platform ():
|
|
# See 'i386' case
|
|
if sys.maxint >= 2**32:
|
|
machine = 'ppc64'
|
|
+ elif osname[:9] == "dragonfly":
|
|
+ release = str.split(release, "-")[0]
|
|
|
|
return "%s-%s-%s" % (osname, release, machine)
|
|
|