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

Last change on this file was 148976, checked in by raimue@…, 18 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.2 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-meld3
8set real_name       meld3
9version             1.0.0
10license             ZPL-2.1
11maintainers         nomaintainer
12description         SGML template system
13long_description    meld3 is an HTML/XML templating system for Python 2.3+ \
14                    which keeps template markup and dynamic rendering logic \
15                    separate from one another.
16
17platforms           darwin
18
19homepage            http://www.plope.com/software/meld3
20master_sites        pypi:m/${real_name}
21distname            ${real_name}-${version}
22
23checksums           rmd160  079742bd8829507272c75a78c90e26dd05dc811b \
24                    sha256  57b41eebbb5a82d4a928608962616442e239ec6d611fe6f46343e765e36f0b2b
25
26python.versions     27 34
27
28if {${name} ne ${subport}} {
29    depends_build-append    port:py${python.version}-setuptools
30    test.run        yes
31    livecheck.type  none
32} else {
33    livecheck.type  regex
34    livecheck.url   [lindex ${master_sites} 0]
35    livecheck.regex ${real_name}-(\[0-9.\]+)${extract.suffix}
36}
Note: See TracBrowser for help on using the repository browser.