[133333] trunk/dports/lang
jwa at macports.org
jwa at macports.org
Thu Feb 26 08:55:49 PST 2015
Revision: 133333
https://trac.macports.org/changeset/133333
Author: jwa at macports.org
Date: 2015-02-26 08:55:48 -0800 (Thu, 26 Feb 2015)
Log Message:
-----------
python35: new port, first alpha of Python 3.5, closes #46937
Modified Paths:
--------------
trunk/dports/lang/python35/Portfile
Added Paths:
-----------
trunk/dports/lang/python35/
trunk/dports/lang/python35/files/python35
Removed Paths:
-------------
trunk/dports/lang/python35/files/python34
Modified: trunk/dports/lang/python35/Portfile
===================================================================
--- trunk/dports/lang/python34/Portfile 2015-02-09 07:03:12 UTC (rev 132725)
+++ trunk/dports/lang/python35/Portfile 2015-02-26 16:55:48 UTC (rev 133333)
@@ -4,13 +4,12 @@
PortSystem 1.0
PortGroup select 1.0
-name python34
+name python35
# Remember to keep py34-tkinter and py34-gdbm's versions sync'd with this
-version 3.4.2
-revision 1
+version 3.5.0a1
-epoch 20141008
+epoch 20150209
set major [lindex [split $version .] 0]
set branch [join [lrange [split ${version} .] 0 1] .]
@@ -24,14 +23,15 @@
programming language.
homepage http://www.python.org/
-master_sites ${homepage}ftp/python/${version}/
+#master_sites ${homepage}ftp/python/${version}/
+master_sites ${homepage}ftp/python/3.5.0/
distname Python-${version}
use_xz yes
-checksums rmd160 11ba768384a114d07f8d82e54e7c232898cb5e15 \
- sha256 1c6d9682d145c056537e477bbfa060ce727f9edd38df1827e0f970dcf04b2def
+checksums rmd160 29495a3100621030996dd10053a6d4d3ee839af8 \
+ sha256 3639cce7e4f01926a2463fe0b6cce00690f899bee16a78aa222c5202d48538b5
patchfiles patch-setup.py.diff \
patch-Lib-cgi.py.diff \
@@ -133,32 +133,38 @@
}
variant universal {
- post-patch {
- set universal_arch_flags {}
- set arch_run_32bit {}
- foreach arch ${universal_archs} {
- lappend universal_arch_flags -arch ${arch}
- if {${arch} eq "i386" || ${arch} eq "ppc"} {
- lappend arch_run_32bit -${arch}
- }
- }
- reinplace \
- "s|UNIVERSAL_ARCH_FLAGS=\".*\"|UNIVERSAL_ARCH_FLAGS=\"${universal_arch_flags}\"|" \
- ${worksrcpath}/configure
- if { ${arch_run_32bit} != "" } {
- reinplace \
- "s|ARCH_RUN_32BIT=\".*\"|ARCH_RUN_32BIT=\"arch ${arch_run_32bit}\"|" \
+ post-patch {
+ set universal_arch_flags {}
+ set arch_run_32bit {}
+ foreach arch ${universal_archs} {
+ lappend universal_arch_flags -arch ${arch}
+ if {${arch} eq "i386" || ${arch} eq "ppc"} {
+ lappend arch_run_32bit -${arch}
+ }
+ }
+ reinplace \
+ "s|UNIVERSAL_ARCH_FLAGS=\".*\"|UNIVERSAL_ARCH_FLAGS=\"${universal_arch_flags}\"|" \
${worksrcpath}/configure
- }
- }
- if {${configure.sdkroot} != ""} {
- configure.args-append --enable-universalsdk=${configure.sdkroot}
- } else {
- configure.args-append --enable-universalsdk=/
- }
- post-configure {
- system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
- }
+ if { ${arch_run_32bit} != "" } {
+ reinplace \
+ "s|ARCH_RUN_32BIT=\".*\"|ARCH_RUN_32BIT=\"arch ${arch_run_32bit}\"|" \
+ ${worksrcpath}/configure
+ }
+ }
+ if {${configure.sdkroot} != ""} {
+ configure.args-append --enable-universalsdk=${configure.sdkroot}
+ } else {
+ configure.args-append --enable-universalsdk=/
+ }
+ post-configure {
+ system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed"
+ }
+
+ post-destroot {
+ foreach unversioned {python3-32} {
+ delete ${destroot}${prefix}/bin/${unversioned}
+ }
+ }
}
livecheck.type regex
Deleted: trunk/dports/lang/python35/files/python34
===================================================================
--- trunk/dports/lang/python34/files/python34 2015-02-09 07:03:12 UTC (rev 132725)
+++ trunk/dports/lang/python35/files/python34 2015-02-26 16:55:48 UTC (rev 133333)
@@ -1,13 +0,0 @@
-bin/python3.4
--
-bin/python3.4-config
-bin/idle3.4
-bin/pydoc3.4
--
-bin/2to3-3.4
-share/man/man1/python3.4.1
--
-${frameworks_dir}/Python.framework/Versions/3.4
-${frameworks_dir}/Python.framework/Versions/3.4/Headers
-${frameworks_dir}/Python.framework/Versions/3.4/Resources
-${frameworks_dir}/Python.framework/Versions/3.4/Python
Copied: trunk/dports/lang/python35/files/python35 (from rev 132725, trunk/dports/lang/python34/files/python34)
===================================================================
--- trunk/dports/lang/python35/files/python35 (rev 0)
+++ trunk/dports/lang/python35/files/python35 2015-02-26 16:55:48 UTC (rev 133333)
@@ -0,0 +1,13 @@
+bin/python3.5
+-
+bin/python3.5-config
+bin/idle3.5
+bin/pydoc3.5
+-
+bin/2to3-3.5
+share/man/man1/python3.5.1
+-
+${frameworks_dir}/Python.framework/Versions/3.5
+${frameworks_dir}/Python.framework/Versions/3.5/Headers
+${frameworks_dir}/Python.framework/Versions/3.5/Resources
+${frameworks_dir}/Python.framework/Versions/3.5/Python
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150226/9dd09f7b/attachment.html>
More information about the macports-changes
mailing list