source: trunk/dports/python/py-jinja/Portfile @ 83230

Last change on this file since 83230 was 83230, checked in by jmr@…, 8 years ago

unify py*-jinja

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 83230 2011-08-29 05:39:28Z jmr@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-jinja
7version             1.2
8revision            1
9categories-append   devel
10license             BSD
11maintainers         rickvanderzwet.nl:info
12description         Python based sandboxed template engine
13long_description \
14    Jinja is a sandboxed template engine written in pure Python licensed\
15    under the BSD license. It provides a Django-like non-XML syntax and\
16    compiles templates into executable python code. It's basically a\
17    combination of Django templates and python code.
18
19platforms           darwin
20
21homepage            http://jinja.pocoo.org/
22master_sites        http://pypi.python.org/packages/source/J/Jinja/
23distname            Jinja-${version}
24
25checksums           md5 1235a005ade00b213800ff1e798c0241 \
26                    sha1 46fcf22ce2a1d432296ebfe16bcf11ce17f5c097 \
27                    rmd160 5b0a9ba2241e8ec6417b382384bbe3e1bf4dba8a
28
29python.versions     25 26
30python.default_version 26
31
32if {$subport != $name} {
33    depends_lib-append  port:py${python.version}-distribute
34    patchfiles          patch-setup.py.diff
35    post-patch {
36       reinplace "s|@@NAME@@|${subport}|g" ${worksrcpath}/setup.py
37    }
38}
39
40livecheck.type      regex
41livecheck.url       http://pypi.python.org/pypi/Jinja/
42livecheck.regex     {Jinja ([0-9.]+)}
Note: See TracBrowser for help on using the repository browser.