[129683] trunk/dports/www/ajp-wsgi/Portfile

larryv at macports.org larryv at macports.org
Thu Dec 18 14:05:17 PST 2014


Revision: 129683
          https://trac.macports.org/changeset/129683
Author:   larryv at macports.org
Date:     2014-12-18 14:05:17 -0800 (Thu, 18 Dec 2014)
Log Message:
-----------
ajp-wsgi: Use Python 2.7 and remove variants

Modified Paths:
--------------
    trunk/dports/www/ajp-wsgi/Portfile

Modified: trunk/dports/www/ajp-wsgi/Portfile
===================================================================
--- trunk/dports/www/ajp-wsgi/Portfile	2014-12-18 22:05:11 UTC (rev 129682)
+++ trunk/dports/www/ajp-wsgi/Portfile	2014-12-18 22:05:17 UTC (rev 129683)
@@ -2,8 +2,10 @@
 # $Id$
 
 PortSystem          1.0
+
 name                ajp-wsgi
 version             1.1
+revision            1
 categories          www
 platforms           darwin
 license             BSD
@@ -19,12 +21,15 @@
                     server.
 homepage            http://www.saddi.com/software/ajp-wsgi
 
+depends_lib-append  port:python27
+
 master_sites        ${homepage}/dist/
 use_bzip2           yes
 checksums           md5     406bc951520186d3b17cc0abae6e32f6 \
                     sha1    85e30d6f612f42485caa4ee406159661760de575 \
                     rmd160  7f7b7d80f3daff25bbdfcb988c381b0d1a24722a
 
+configure.cmd       ${prefix}/bin/python2.7
 configure.pre_args
 configure.args      configure.py
 
@@ -39,25 +44,6 @@
       ${destroot}${prefix}/share/examples/${name}
 }
 
-variant python25 conflicts python26 python27 description {Use with Python 2.5} {
-   depends_lib-append   port:python25
-   configure.cmd        ${prefix}/bin/python2.5
-}
-
-variant python26 conflicts python25 python27 description {Use with Python 2.6} {
-   depends_lib-append   port:python26
-   configure.cmd        ${prefix}/bin/python2.6
-}
-
-variant python27 conflicts python25 python26 description {Use with Python 2.7} {
-   depends_lib-append   port:python27
-   configure.cmd        ${prefix}/bin/python2.7
-}
-
-if {![variant_isset python25] && ![variant_isset python27]} {
-   default_variants     +python26
-}
-
 livecheck.type      regex
 livecheck.url       "${master_sites}?C=M;O=D"
 livecheck.regex     "${name}-(\[0-9.\]+)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141218/51ec95d9/attachment.html>


More information about the macports-changes mailing list