source: trunk/dports/python/py-pyrant/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.1 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-pyrant
8version             0.6.5
9license             Apache-2
10maintainers         stromnov openmaintainer
11
12description         Pyrant is a Python wrapper around Tokyo Tyrant.
13
14long_description    ${description}
15
16platforms           darwin
17supported_archs     noarch
18
19homepage            http://code.google.com/p/pyrant/
20master_sites        pypi:p/pyrant/
21distname            pyrant-${version}
22
23checksums           md5     e59b3a21771e138b82c6a9a69ae57219 \
24                    sha1    5d834ea145728bdd4f818f81213bcfcf4f6f610d \
25                    rmd160  65ada9a56e12d7065be2c017e93d1afa45be281a
26
27python.versions     26
28
29if {${name} ne ${subport}} {
30    depends_build       port:py${python.version}-setuptools
31    livecheck.type      none
32} else {
33    livecheck.type      regex
34    livecheck.url       https://pypi.python.org/pypi/pyrant/json
35    livecheck.regex     "pyrant-(\\d+(?:\\.\\d+)*)${extract.suffix}"
36}
Note: See TracBrowser for help on using the repository browser.