source: trunk/dports/python/py-rtm/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: 908 bytes
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-rtm
7version         0.4.1
8revision        1
9categories-append     devel
10platforms       darwin
11supported_archs noarch
12maintainers     nomaintainer
13license         MIT
14
15description     Python interface for Remember The Milk API.
16long_description ${description}
17
18homepage        http://pypi.python.org/pypi/pyrtm
19master_sites    pypi:p/pyrtm/
20distname        pyrtm-${version}
21use_bzip2       yes
22
23python.versions 27 34
24
25if {${name} ne ${subport}} {
26  depends_lib-append port:py${python.version}-setuptools
27}
28
29checksums       rmd160 7328c9d118f07fe05b3764d6eb2d7bb5b44728da \
30                sha256 93daee65367d81163903fd1c3697e85709846686202766a328470458fe1b4ec9
31
32if {${name} eq ${subport}} {
33  livecheck.type  regex
34  livecheck.url   ${master_sites}
35  livecheck.regex {pyrtm-(\d+(?:\.\d+)*).tar.bz2}
36} else {
37  livecheck.type  none
38}
Note: See TracBrowser for help on using the repository browser.