[89118] trunk/dports/python

singingwolfboy at macports.org singingwolfboy at macports.org
Thu Jan 19 11:52:59 PST 2012


Revision: 89118
          http://trac.macports.org/changeset/89118
Author:   singingwolfboy at macports.org
Date:     2012-01-19 11:52:58 -0800 (Thu, 19 Jan 2012)
Log Message:
-----------
Converted py26-flask portfile to unified format, fixes #32499

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

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

Modified: trunk/dports/python/py-flask/Portfile
===================================================================
--- trunk/dports/python/py26-flask/Portfile	2012-01-18 13:32:59 UTC (rev 89041)
+++ trunk/dports/python/py-flask/Portfile	2012-01-19 19:52:58 UTC (rev 89118)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-flask
+name                py-flask
 version             0.8
+python.versions     25 26 27
 platforms           darwin
 maintainers         ryandesign openmaintainer
 license             BSD
@@ -22,8 +23,10 @@
 checksums           rmd160  efd18f0b3bcbb577bc1ba9a10bfbcdce3588f558 \
                     sha256  937504fc2ae59c44f2181be139733190ed98c51a00adbb6013873692e90b06c9
 
-depends_lib-append  port:py26-jinja2 \
-                    port:py26-werkzeug
+if {$subport != $name} {
+    depends_lib-append  port:py${python.version}-jinja2 \
+                        port:py${python.version}-werkzeug
+}
 
 livecheck.type      regex
 livecheck.url       [lindex ${master_sites} 0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120119/7967d41e/attachment.html>


More information about the macports-changes mailing list