Revision: 83230 http://trac.macports.org/changeset/83230 Author: jmr@macports.org Date: 2011-08-28 22:39:28 -0700 (Sun, 28 Aug 2011) Log Message: ----------- unify py*-jinja Modified Paths: -------------- trunk/dports/python/py-jinja/Portfile Added Paths: ----------- trunk/dports/python/py-jinja/ trunk/dports/python/py-jinja/files/ Removed Paths: ------------- trunk/dports/python/py25-jinja/ trunk/dports/python/py26-jinja/ Modified: trunk/dports/python/py-jinja/Portfile =================================================================== --- trunk/dports/python/py26-jinja/Portfile 2011-08-28 23:30:12 UTC (rev 83223) +++ trunk/dports/python/py-jinja/Portfile 2011-08-29 05:39:28 UTC (rev 83230) @@ -1,13 +1,14 @@ # $Id$ PortSystem 1.0 -PortGroup python26 1.0 +PortGroup python 1.0 -name py26-jinja +name py-jinja version 1.2 +revision 1 categories-append devel license BSD -maintainers nomaintainer +maintainers rickvanderzwet.nl:info description Python based sandboxed template engine long_description \ Jinja is a sandboxed template engine written in pure Python licensed\ @@ -25,8 +26,17 @@ sha1 46fcf22ce2a1d432296ebfe16bcf11ce17f5c097 \ rmd160 5b0a9ba2241e8ec6417b382384bbe3e1bf4dba8a -depends_lib-append port:py26-distribute +python.versions 25 26 +python.default_version 26 +if {$subport != $name} { + depends_lib-append port:py${python.version}-distribute + patchfiles patch-setup.py.diff + post-patch { + reinplace "s|@@NAME@@|${subport}|g" ${worksrcpath}/setup.py + } +} + livecheck.type regex livecheck.url http://pypi.python.org/pypi/Jinja/ livecheck.regex {Jinja ([0-9.]+)}
participants (1)
-
jmr@macports.org