# $Id: Portfile 148976 2016-05-24 07:48:05Z raimue@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-jinja version 1.2 revision 1 categories-append devel license BSD maintainers rickvanderzwet.nl:info description Python based sandboxed template engine long_description \ Jinja is a sandboxed template engine written in pure Python licensed\ under the BSD license. It provides a Django-like non-XML syntax and\ compiles templates into executable python code. It's basically a\ combination of Django templates and python code. platforms darwin homepage http://jinja.pocoo.org/ master_sites pypi:J/Jinja/ distname Jinja-${version} checksums md5 1235a005ade00b213800ff1e798c0241 \ sha1 46fcf22ce2a1d432296ebfe16bcf11ce17f5c097 \ rmd160 5b0a9ba2241e8ec6417b382384bbe3e1bf4dba8a python.versions 26 27 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-setuptools 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.]+)}