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

Last change on this file was 148976, checked in by raimue@…, 2 years 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 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.4 KB
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148976 2016-05-24 07:48:05Z $
4PortSystem          1.0
5PortGroup           python 1.0
7name                py-jinja2
8version             2.8
9categories-append   devel
10license             BSD
11maintainers         jmr openmaintainer
12supported_archs     noarch
14description         Python based sandboxed template engine
15long_description \
16    Jinja is a sandboxed template engine written in pure Python licensed\
17    under the BSD license. It provides a Django-like non-XML syntax and\
18    compiles templates into executable python code. It's basically a\
19    combination of Django templates and python code.
21platforms           darwin
24master_sites        pypi:J/Jinja2/
25distname            Jinja2-${version}
27checksums           md5 edb51693fe22c53cee5403775c71a99e \
28                    sha1 4a33c1a0fd585eba2507e8c274a9cd113b1d13ab \
29                    rmd160 1ec00ab41df1619d3cf3a7dde5eb4166f5ee5b36
31python.versions     26 27 33 34 35
33if {$subport ne $name} {
34    depends_lib     port:py${python.version}-setuptools \
35                    port:py${python.version}-markupsafe
36    livecheck.type  none
37} else {
38    livecheck.type  regex
39    livecheck.url
40    livecheck.regex {Jinja2 ([0-9\.]+)}
Note: See TracBrowser for help on using the repository browser.