source: trunk/dports/python/py-tz-gae/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: 957 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-tz-gae
7set real_name   gaepytz
8version         2011h
9categories-append     devel
10platforms       darwin
11supported_archs noarch
12maintainers     nomaintainer
13license         MIT
14
15description     pytz tuned for Google App Engine
16long_description \
17    ${description}
18
19homepage        http://code.google.com/p/gae-pytz/
20master_sites    pypi:g/${real_name}
21distname        ${real_name}-${version}
22
23python.versions 27 34
24
25checksums       rmd160  f704e2c99016d115d27f03fd47c5cb89721fc9d4 \
26                sha256  d6e214fdc071c9a22234aed92ea763889501d0c000ee202b8a5493ef4390843b
27
28if {${name} eq ${subport}} {
29    conflicts       py-tz
30    livecheck.type  regex
31    livecheck.url   ${master_sites}?C=M&O=D
32    livecheck.regex ${real_name}-(\\d+\\w?)
33} else {
34    depends_build-append port:py${python.version}-setuptools
35    conflicts       py${python.version}-tz
36    livecheck.type  none
37}
Note: See TracBrowser for help on using the repository browser.