[89527] trunk/dports/python

macsforever2000 at macports.org macsforever2000 at macports.org
Wed Feb 1 09:39:57 PST 2012


Revision: 89527
          http://trac.macports.org/changeset/89527
Author:   macsforever2000 at macports.org
Date:     2012-02-01 09:39:56 -0800 (Wed, 01 Feb 2012)
Log Message:
-----------
py-traitsbackendqt py-traitsbackendwx: unify.

Modified Paths:
--------------
    trunk/dports/python/py-traitsbackendqt/Portfile
    trunk/dports/python/py-traitsbackendwx/Portfile

Added Paths:
-----------
    trunk/dports/python/py-traitsbackendqt/
    trunk/dports/python/py-traitsbackendwx/

Removed Paths:
-------------
    trunk/dports/python/py25-traitsbackendwx/
    trunk/dports/python/py26-traitsbackendqt/
    trunk/dports/python/py26-traitsbackendwx/

Modified: trunk/dports/python/py-traitsbackendqt/Portfile
===================================================================
--- trunk/dports/python/py26-traitsbackendqt/Portfile	2012-02-01 14:35:46 UTC (rev 89508)
+++ trunk/dports/python/py-traitsbackendqt/Portfile	2012-02-01 17:39:56 UTC (rev 89527)
@@ -2,13 +2,12 @@
 # $Id$
 
 PortSystem	            1.0
-PortGroup	            python26 1.0
+PortGroup	            python 1.0
 
-name                    py26-traitsbackendqt
+name                    py-traitsbackendqt
 version                 3.6.0
 categories-append       devel
 maintainers             vcn.com:jjstickel openmaintainer
-conflicts               py26-traitsbackendwx
 description             The Enthought traitsgui Qt backend
 long_description        Qt backend for traits GUI
 platforms               darwin
@@ -20,7 +19,14 @@
                     sha1    cd333808a85f1d5b7d627a8b28b46261c7ec8e09 \
                     rmd160  6c86e2ddbc259ccc4832c9504061cd640c6522aa
 
-depends_build-append    port:py26-distribute
-depends_lib-append      port:py26-enthoughtbase\
-                        port:py26-traits\
-                        port:py26-pyqt4
+python.versions         25 26 27
+python.default_version  25
+
+if {$subport != $name} {
+    conflicts               py${python.version}-traitsbackendqt
+
+    depends_build-append    port:py${python.version}-distribute
+    depends_lib-append      port:py${python.version}-enthoughtbase\
+                            port:py${python.version}-traits\
+                            port:py${python.version}-pyqt4
+}

Modified: trunk/dports/python/py-traitsbackendwx/Portfile
===================================================================
--- trunk/dports/python/py26-traitsbackendwx/Portfile	2012-02-01 14:35:46 UTC (rev 89508)
+++ trunk/dports/python/py-traitsbackendwx/Portfile	2012-02-01 17:39:56 UTC (rev 89527)
@@ -1,14 +1,13 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem	1.0
-PortGroup	python26 1.0
+PortSystem	        1.0
+PortGroup	        python 1.0
 
-name                py26-traitsbackendwx
+name                py-traitsbackendwx
 version             3.6.0
 categories-append   devel
 maintainers         vcn.com:jjstickel openmaintainer
-conflicts           py26-traitsbackendqt
 description         The Enthought traitsgui WX backend
 long_description    WX backend for traits GUI
 platforms           darwin
@@ -20,7 +19,14 @@
                     sha1    3b667a7b01abe19e42466d175f03d395a16f08b2 \
                     rmd160  9fa2525c511659428dec6bd3d9620003ba4914fa
 
-depends_build-append    port:py26-distribute
-depends_lib-append      port:py26-enthoughtbase\
-                        port:py26-traits\
-                        port:py26-wxpython
+python.versions        25 26 27
+python.default_version 25
+
+if {$subport != $name} {
+    conflicts               py${python.version}-traitsbackendqt
+
+    depends_build-append    port:py${python.version}-distribute
+    depends_lib-append      port:py${python.version}-enthoughtbase\
+                            port:py${python.version}-traits\
+                            port:py${python.version}-wxpython
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120201/f615cdcd/attachment.html>


More information about the macports-changes mailing list