[93119] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue May 15 09:56:27 PDT 2012


Revision: 93119
          https://trac.macports.org/changeset/93119
Author:   jmr at macports.org
Date:     2012-05-15 09:56:27 -0700 (Tue, 15 May 2012)
Log Message:
-----------
py26-chm2pdf: move to unified portgroup, add py27 (#30663)

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

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

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

Modified: trunk/dports/python/py-chm2pdf/Portfile
===================================================================
--- trunk/dports/python/py26-chm2pdf/Portfile	2012-05-15 08:29:24 UTC (rev 93096)
+++ trunk/dports/python/py-chm2pdf/Portfile	2012-05-15 16:56:27 UTC (rev 93119)
@@ -1,9 +1,9 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name			          py26-chm2pdf
+name			          py-chm2pdf
 version			        0.9.1
 categories		      python textproc
 platforms		        darwin
@@ -20,6 +20,11 @@
                     sha1    92c3dc39aaa3d5452cc9d37d1d34385e8698888b \
                     rmd160  3778083bad1bf8c528b4cbde94e5ca0b511cb9af
 
-depends_run-append	port:chmlib \
-                    port:py26-chm \
-                    port:htmldoc
+python.versions     26 27
+python.default_version 27
+
+if {$subport != $name} {
+    depends_run-append	port:chmlib \
+                        port:py${python.version}-chm \
+                        port:htmldoc
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120515/cad3b85e/attachment.html>


More information about the macports-changes mailing list