[89529] trunk/dports/python
macsforever2000 at macports.org
macsforever2000 at macports.org
Wed Feb 1 10:11:42 PST 2012
Revision: 89529
http://trac.macports.org/changeset/89529
Author: macsforever2000 at macports.org
Date: 2012-02-01 10:11:40 -0800 (Wed, 01 Feb 2012)
Log Message:
-----------
py-traitsgui: unify
Modified Paths:
--------------
trunk/dports/python/py-traitsgui/Portfile
Added Paths:
-----------
trunk/dports/python/py-traitsgui/
Removed Paths:
-------------
trunk/dports/python/py25-traitsgui/
trunk/dports/python/py26-traitsgui/
Modified: trunk/dports/python/py-traitsgui/Portfile
===================================================================
--- trunk/dports/python/py26-traitsgui/Portfile 2012-02-01 17:46:46 UTC (rev 89528)
+++ trunk/dports/python/py-traitsgui/Portfile 2012-02-01 18:11:40 UTC (rev 89529)
@@ -1,10 +1,10 @@
# -*- 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-traitsgui
+name py-traitsgui
version 3.6.0
categories-append devel
maintainers vcn.com:jjstickel openmaintainer
@@ -21,17 +21,22 @@
sha1 2950ac9160fb6902260da67290e36da676439bea \
rmd160 4b41e9f150043cb9893b530f621c1fa0e246d35a
-depends_build-append port:py26-distribute
-depends_lib-append port:py26-enthoughtbase
+python.versions 25 26 27
+python.default_version 25
-variant wx conflicts qt4 description {Use wxWidgets backend} {
- depends_lib-append port:py26-traitsbackendwx
+if {$subport != $name} {
+ depends_build-append port:py${python.version}-distribute
+ depends_lib-append port:py${python.version}-enthoughtbase
+
+ variant wx conflicts qt4 description {Use wxWidgets backend} {
+ depends_lib-append port:py${python.version}-traitsbackendwx
+ }
+
+ variant qt4 conflicts wx description {Use Qt4 backend} {
+ depends_lib-append port:py${python.version}-traitsbackendqt
+ }
+
+ if {![variant_isset qt4]} {
+ default_variants-append +wx
+ }
}
-
-variant qt4 conflicts wx description {Use Qt4 backend} {
- depends_lib-append port:py26-traitsbackendqt
-}
-
-if {![variant_isset qt4]} {
- default_variants-append +wx
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120201/0b78681e/attachment.html>
More information about the macports-changes
mailing list