Revision: 74761 http://trac.macports.org/changeset/74761 Author: blb@macports.org Date: 2011-01-01 14:32:01 -0800 (Sat, 01 Jan 2011) Log Message: ----------- www/ajp-wsgi - update to 1.0.4, add python 2.7 variant Modified Paths: -------------- trunk/dports/www/ajp-wsgi/Portfile Modified: trunk/dports/www/ajp-wsgi/Portfile =================================================================== --- trunk/dports/www/ajp-wsgi/Portfile 2011-01-01 19:43:35 UTC (rev 74760) +++ trunk/dports/www/ajp-wsgi/Portfile 2011-01-01 22:32:01 UTC (rev 74761) @@ -2,9 +2,9 @@ PortSystem 1.0 name ajp-wsgi -version 1.0.2 +version 1.0.4 categories www -maintainers blb +maintainers blb openmaintainer description WSGI server/gateway implementing AJP long_description \ ajp-wsgi is a WSGI server/gateway that implements AJP 1.3 to \ @@ -19,9 +19,9 @@ master_sites ${homepage}/dist/ use_bzip2 yes -checksums md5 68a9c049c662aa243c2e5966a75b130e \ - sha1 2edb4a708ab81d9cc8f0c0dd9e309ca62015d4d5 \ - rmd160 0bcf03ab21f3840d80c6831570327cccaabf8d63 +checksums md5 4cca47ddfc6779f183e9ed040228acc1 \ + sha1 64d2f76d1365d8ebad35e9bc57af2007c3255905 \ + rmd160 4c244d73636d4c2069772beef03d5780adb85fa9 configure.args configure.py configure.pre_args @@ -37,17 +37,22 @@ ${destroot}${prefix}/share/examples/${name} } -variant python25 conflicts python26 description {Use with Python 2.5} { +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 description {Use with Python 2.6} { +variant python26 conflicts python25 python27 description {Use with Python 2.6} { depends_lib-append port:python26 configure.cmd ${prefix}/bin/python2.6 } -if {![variant_isset python25] && ![variant_isset python26]} { +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 }