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

Last change on this file was 148976, checked in by raimue@…, 14 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@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        pypi:J/Jinja/
23distname            Jinja-${version}
24
25checksums           md5 1235a005ade00b213800ff1e798c0241 \
26                    sha1 46fcf22ce2a1d432296ebfe16bcf11ce17f5c097 \
27                    rmd160 5b0a9ba2241e8ec6417b382384bbe3e1bf4dba8a
28
29python.versions     26 27
30
31if {${name} ne ${subport}} {
32    depends_lib-append  port:py${python.version}-setuptools
33    patchfiles          patch-setup.py.diff
34    post-patch {
35       reinplace "s|@@NAME@@|${subport}|g" ${worksrcpath}/setup.py
36    }
37}
38
39livecheck.type      regex
40livecheck.url       http://pypi.python.org/pypi/Jinja/
41livecheck.regex     {Jinja ([0-9.]+)}
Note: See TracBrowser for help on using the repository browser.