[89596] trunk/dports/python

macsforever2000 at macports.org macsforever2000 at macports.org
Fri Feb 3 12:02:48 PST 2012


Revision: 89596
          http://trac.macports.org/changeset/89596
Author:   macsforever2000 at macports.org
Date:     2012-02-03 12:02:45 -0800 (Fri, 03 Feb 2012)
Log Message:
-----------
py-apptools: unify

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

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

Removed Paths:
-------------
    trunk/dports/python/py26-apptools/

Modified: trunk/dports/python/py-apptools/Portfile
===================================================================
--- trunk/dports/python/py26-apptools/Portfile	2012-02-03 18:55:02 UTC (rev 89595)
+++ trunk/dports/python/py-apptools/Portfile	2012-02-03 20:02:45 UTC (rev 89596)
@@ -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-apptools
+name                py-apptools
 version             3.4.1
 categories-append   devel
 maintainers         vcn.com:jjstickel openmaintainer
@@ -22,9 +22,14 @@
                     sha1    9a36a06bbe3d80993cd4b5d40189b8e5716fa76f \
                     rmd160  f93c65bdc1b7aeb698794c5e8333382c0dd626bf
 
-depends_build-append  port:py26-distribute
+python.versions        25 26 27
+python.default_version 25
 
-depends_lib-append  port:py26-configobj\
-    port:py26-numpy\
-    port:py26-envisagecore\
-    port:py26-traitsgui
+if {$subport != $name} {
+    depends_build-append  port:py${python.version}-distribute
+    
+    depends_lib-append    port:py${python.version}-configobj\
+                          port:py${python.version}-numpy\
+                          port:py${python.version}-envisagecore\
+                          port:py${python.version}-traitsgui
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120203/0511b878/attachment-0001.html>


More information about the macports-changes mailing list