Revision: 91417 https://trac.macports.org/changeset/91417 Author: stromnov@macports.org Date: 2012-04-01 05:27:39 -0700 (Sun, 01 Apr 2012) Log Message: ----------- py2*-mako: unify (#32979, maintainers timeout) Modified Paths: -------------- trunk/dports/python/py-mako/Portfile Removed Paths: ------------- trunk/dports/python/py25-mako/ trunk/dports/python/py26-mako/ trunk/dports/python/py27-mako/ Modified: trunk/dports/python/py-mako/Portfile =================================================================== --- trunk/dports/python/py-mako/Portfile 2012-04-01 08:23:23 UTC (rev 91416) +++ trunk/dports/python/py-mako/Portfile 2012-04-01 12:27:39 UTC (rev 91417) @@ -2,41 +2,50 @@ # $Id$ PortSystem 1.0 -PortGroup python24 1.0 +PortGroup python 1.0 name py-mako -version 0.1.10 +version 0.7.0 +revision 0 +python.versions 24 25 26 27 categories-append www license MIT -maintainers dh +platforms darwin +supported_archs noarch + +maintainers dh akitada stromnov + description A super-fast templating language that borrows \ the best ideas from the existing templating \ languages. -long_description \ - Mako is a template library written in Python. \ - It provides a familiar, non-XML syntax which \ - compiles into Python modules for maximum \ - performance. Mako's syntax and API borrows from \ - the best ideas of many others, including Django \ - templates, Cheetah, Myghty, and Genshi. Conceptually, \ - Mako is an embedded Python (i.e. Python Server Page) \ - language, which refines the familiar ideas of \ - componentized layout and inheritance to produce one \ - of the most straightforward and flexible models \ - available, while also maintaining close ties to \ - Python calling and scoping semantics. +long_description Mako is a template library written in Python. \ + It provides a familiar, non-XML syntax which \ + compiles into Python modules for maximum \ + performance. Mako's syntax and API borrows from \ + the best ideas of many others, including Django \ + templates, Cheetah, Myghty, and Genshi. Conceptually, \ + Mako is an embedded Python (i.e. Python Server Page) \ + language, which refines the familiar ideas of \ + componentized layout and inheritance to produce one \ + of the most straightforward and flexible models \ + available, while also maintaining close ties to \ + Python calling and scoping semantics. -platforms darwin +homepage http://www.makotemplates.org/ +master_sites http://pypi.python.org/packages/source/M/Mako/ -homepage http://www.makotemplates.org/ -master_sites http://cheeseshop.python.org/packages/source/M/Mako/ distname Mako-${version} -depends_build port:py24-distribute +checksums rmd160 2dfb9b375e76466d2615e65df617af48df82817b \ + sha256 61a09621988e5a4bdf90f4c82dda6c804ff2f0450a555eca22628da9cc1bb60f -livecheck.url ${homepage}download.html +if {$subport != $name} { + depends_lib port:py${python.version}-distribute \ + port:py${python.version}-beaker \ + port:py${python.version}-markupsafe +} + livecheck.type regex -livecheck.regex "Current version is <b>(\\d+(?:\\.\\d+)*)</b>" - -checksums sha1 d50ab35540a8df85853cb34be32b39a25f84786c +livecheck.url ${master_sites} +livecheck.regex "Mako-(\\d+(?:\\.\\d+)*)${extract.suffix}"