[86245] trunk/dports/python

adfernandes at macports.org adfernandes at macports.org
Sun Oct 23 13:32:17 PDT 2011


Revision: 86245
          http://trac.macports.org/changeset/86245
Author:   adfernandes at macports.org
Date:     2011-10-23 13:32:10 -0700 (Sun, 23 Oct 2011)
Log Message:
-----------
py-cx_Freeze: refactored into subport, still can't diagnose universal-build failure #29367

Modified Paths:
--------------
    trunk/dports/python/py-cx_Freeze/Portfile

Added Paths:
-----------
    trunk/dports/python/py-cx_Freeze/

Removed Paths:
-------------
    trunk/dports/python/py26-cx_Freeze/
    trunk/dports/python/py27-cx_Freeze/

Modified: trunk/dports/python/py-cx_Freeze/Portfile
===================================================================
--- trunk/dports/python/py26-cx_Freeze/Portfile	2011-10-23 17:56:28 UTC (rev 86238)
+++ trunk/dports/python/py-cx_Freeze/Portfile	2011-10-23 20:32:10 UTC (rev 86245)
@@ -1,9 +1,9 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
 
-name                py26-cx_Freeze
+name                py-cx_Freeze
 version             4.2.3
 categories-append   devel
 maintainers         adfernandes openmaintainer
@@ -12,7 +12,7 @@
                     scripts into executables in much the same way that py2exe and \
                     py2app do. Unlike these two tools, cx_Freeze is cross platform \
                     and should work on any platform that Python itself works on.
-                    
+
 platforms           darwin
 universal_variant   no
 
@@ -24,8 +24,13 @@
                     sha1    860de723365f2994f94f242f1147f89e09ed1ee9 \
                     rmd160  92dbdd14315bc4b02d98649b8c6b2982b06ad2e7
 
-depends_lib         port:py26-distribute
+python.default_version 27
+python.versions 25 26 27 31 32
 
+if { ${subport} != ${name} } {
+    depends_lib         port:py${python.version}-distribute  
+}
+
 livecheck.type      regex
 livecheck.url       ${homepage}
 livecheck.regex     Download (\\d+\\.\\d+\\.\\d+) released
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111023/b8625c45/attachment.html>


More information about the macports-changes mailing list