source: trunk/dports/python/py-pystache/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# -*- 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 ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pystache
8version             0.5.4
9revision            0
10categories-append   devel textproc
11platforms           darwin
12license             MIT
13supported_archs     noarch
14
15python.versions     27 33 34 35
16
17maintainers         stromnov openmaintainer
18
19description         Mustache for Python
20
21long_description    Pystache is a Python implementation of Mustache. \
22                    Mustache is a framework-agnostic, logic-free templating \
23                    system inspired by ctemplate and et.
24
25homepage            http://github.com/defunkt/pystache
26master_sites        pypi:p/pystache/
27
28distname            pystache-${version}
29
30checksums           rmd160  07b303af8cb3841fb1afb1bf73c625cf54b6fe94 \
31                    sha256  f7bbc265fb957b4d6c7c042b336563179444ab313fb93a719759111eabd3b85a
32
33if {${name} ne ${subport}} {
34    depends_build-append \
35                        port:py${python.version}-setuptools
36    livecheck.type      none
37} else {
38    livecheck.type      regex
39    livecheck.url       https://pypi.python.org/pypi/pystache/json
40    livecheck.regex     {pystache-(\d+(?:\.\d+)*)\.[tz]}
41}
Note: See TracBrowser for help on using the repository browser.