[69512] trunk/dports/lang/python27
jwa at macports.org
jwa at macports.org
Thu Jul 8 07:46:29 PDT 2010
Revision: 69512
http://trac.macports.org/changeset/69512
Author: jwa at macports.org
Date: 2010-07-08 07:46:27 -0700 (Thu, 08 Jul 2010)
Log Message:
-----------
release version 2.7, adding two patches to enable universal build
Modified Paths:
--------------
trunk/dports/lang/python27/Portfile
Added Paths:
-----------
trunk/dports/lang/python27/files/patch-Lib-distutils-util.py.diff
trunk/dports/lang/python27/files/patch-Lib-sysconfig.py.diff
Modified: trunk/dports/lang/python27/Portfile
===================================================================
--- trunk/dports/lang/python27/Portfile 2010-07-08 14:26:27 UTC (rev 69511)
+++ trunk/dports/lang/python27/Portfile 2010-07-08 14:46:27 UTC (rev 69512)
@@ -4,11 +4,11 @@
PortGroup select 1.0
name python27
-version 2.7rc2
+version 2.7
-#set major [lindex [split $version .] 0]
-#set branch [join [lrange [split ${version} .] 0 1] .]
-set branch 2.7
+set major [lindex [split $version .] 0]
+set branch [join [lrange [split ${version} .] 0 1] .]
+#set branch 2.7
categories lang
platforms darwin
maintainers jwa openmaintainer
@@ -30,9 +30,9 @@
distname Python-${version}
use_bzip2 yes
-checksums md5 c131fa22298f57e61bfc53c9e2b01a2b \
- sha1 b13bf39b27484e9f2f6e2640c69848242f63482d \
- rmd160 891982d24241243c8f27ab923e582d3d647ba7c7
+checksums md5 0e8c9ec32abf5b732bea7d91b38c3339 \
+ sha1 6bbcd1ab16d07765a7a405671e1e43a2e74b8e6a \
+ rmd160 e89957d8e76127fd4a86fd733deed1c0ad1248df
# patch-Lib-distutils-dist.py.diff comes from
# <http://bugs.python.org/issue1180>
@@ -41,10 +41,13 @@
# is to work around http://bugs.python.org/issue5766
# patch-readlinefix.diff comes from
# <http://bugs.python.org/issue5833>
-patchfiles patch-Makefile.pre.in.diff \
- patch-setup.py.diff \
- patch-Lib-cgi.py.diff \
- patch-Lib-ctypes-macholib-dyld.py.diff
+patchfiles \
+ patch-Makefile.pre.in.diff \
+ patch-setup.py.diff \
+ patch-Lib-cgi.py.diff \
+ patch-Lib-ctypes-macholib-dyld.py.diff \
+ patch-Lib-sysconfig.py.diff \
+ patch-Lib-distutils-util.py.diff
# patch-Mac-PythonLauncher-Makefile.in.diff \
# patch-Mac-Makefile.in.diff \
Added: trunk/dports/lang/python27/files/patch-Lib-distutils-util.py.diff
===================================================================
--- trunk/dports/lang/python27/files/patch-Lib-distutils-util.py.diff (rev 0)
+++ trunk/dports/lang/python27/files/patch-Lib-distutils-util.py.diff 2010-07-08 14:46:27 UTC (rev 69512)
@@ -0,0 +1,11 @@
+--- Lib/distutils/util.py 2010-07-06 20:17:15.000000000 +0300
++++ Lib/distutils/util.py 2010-07-06 20:17:57.000000000 +0300
+@@ -145,7 +145,7 @@
+
+ archs = re.findall('-arch\s+(\S+)', cflags)
+ archs.sort()
+- archs = tuple(archs)
++ archs = tuple(sorted(list(set(archs))))
+
+ if len(archs) == 1:
+ machine = archs[0]
Added: trunk/dports/lang/python27/files/patch-Lib-sysconfig.py.diff
===================================================================
--- trunk/dports/lang/python27/files/patch-Lib-sysconfig.py.diff (rev 0)
+++ trunk/dports/lang/python27/files/patch-Lib-sysconfig.py.diff 2010-07-08 14:46:27 UTC (rev 69512)
@@ -0,0 +1,11 @@
+--- Lib/sysconfig.py 2010-07-06 19:56:06.000000000 +0300
++++ Lib/sysconfig.py 2010-07-06 19:56:45.000000000 +0300
+@@ -646,7 +646,7 @@
+
+ archs = re.findall('-arch\s+(\S+)', cflags)
+ archs.sort()
+- archs = tuple(archs)
++ archs = tuple(sorted(list(set(archs))))
+
+ if len(archs) == 1:
+ machine = archs[0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100708/82d25a5f/attachment.html>
More information about the macports-changes
mailing list