[82590] trunk/dports/python

mmoll at macports.org mmoll at macports.org
Tue Aug 16 06:34:14 PDT 2011


Revision: 82590
          http://trac.macports.org/changeset/82590
Author:   mmoll at macports.org
Date:     2011-08-16 06:34:13 -0700 (Tue, 16 Aug 2011)
Log Message:
-----------
unify py*-pygccxml-devel, py*-pyplusplus-devel

Modified Paths:
--------------
    trunk/dports/python/py-pygccxml-devel/Portfile
    trunk/dports/python/py-pyplusplus-devel/Portfile

Added Paths:
-----------
    trunk/dports/python/py-pygccxml-devel/
    trunk/dports/python/py-pyplusplus-devel/

Removed Paths:
-------------
    trunk/dports/python/py26-pygccxml-devel/
    trunk/dports/python/py26-pyplusplus-devel/
    trunk/dports/python/py27-pygccxml-devel/
    trunk/dports/python/py27-pyplusplus-devel/

Modified: trunk/dports/python/py-pygccxml-devel/Portfile
===================================================================
--- trunk/dports/python/py26-pygccxml-devel/Portfile	2011-08-16 10:43:10 UTC (rev 82589)
+++ trunk/dports/python/py-pygccxml-devel/Portfile	2011-08-16 13:34:13 UTC (rev 82590)
@@ -1,29 +1,30 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-pygccxml-devel
+name                py-pygccxml-devel
 version             20101014
+python.versions     25 26 27 31 32
+python.default_version 27
 categories-append   devel
 maintainers         mmoll openmaintainer
-
 description         pygccxml is a python interface to gcc-xml
 long_description    ${description}
-
 platforms           darwin
-
-homepage            http://www.language-binding.net/pygccxml/pygccxml.html
+homepage            http://sourceforge.net/projects/pygccxml/
 fetch.type          svn
 svn.url             https://pygccxml.svn.sourceforge.net/svnroot/pygccxml/pygccxml_dev
 svn.revision        1844
 worksrcdir          pygccxml_dev
 
-depends_lib         port:gccxml-devel \
-                    port:py26-distribute
+if {$subport != $name} {
+    depends_lib     port:gccxml-devel \
+                    port:py${python.version}-distribute
 
-test.run            yes
-test.cmd            python2.6
-test.target         unittests/test_all.py
+    test.run        yes
+    test.cmd        python${python.branch}
+    test.target     unittests/test_all.py
+}
 
 livecheck.type      none

Modified: trunk/dports/python/py-pyplusplus-devel/Portfile
===================================================================
--- trunk/dports/python/py26-pyplusplus-devel/Portfile	2011-08-16 10:43:10 UTC (rev 82589)
+++ trunk/dports/python/py-pyplusplus-devel/Portfile	2011-08-16 13:34:13 UTC (rev 82590)
@@ -1,26 +1,26 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-pyplusplus-devel
+name                py-pyplusplus-devel
 version             20101014
+python.versions     25 26 27 31 32
+python.default_version 27
 categories-append   devel
 maintainers         mmoll openmaintainer
-
 description         Py++ is an framework for creating a code generator for Boost.Python library and ctypes package
 long_description    ${description}
-
 platforms           darwin
-
-homepage            http://www.language-binding.net/pyplusplus/pyplusplus.html
+homepage            http://sourceforge.net/projects/pygccxml/
 fetch.type          svn
 svn.url             https://pygccxml.svn.sourceforge.net/svnroot/pygccxml/pyplusplus_dev
 svn.revision        1844
 worksrcdir          pyplusplus_dev
 
-depends_lib         port:py26-pygccxml-devel \
-                    port:py26-distribute
+if {$subport != $name} {
+    depends_lib     port:py${python.version}-pygccxml-devel \
+                    port:py${python.version}-distribute
+}
 
-
 livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110816/cd95df47/attachment.html>


More information about the macports-changes mailing list