source: trunk/dports/python/py-hiredis/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.0 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-hiredis
8version             0.2.0
9revision            0
10categories-append   devel databases
11platforms           darwin
12license             BSD
13
14python.versions     27 33 34
15
16maintainers         stromnov openmaintainer
17
18description         Python wrapper for hiredis
19long_description    ${description}
20
21homepage            https://github.com/pietern/hiredis-py
22master_sites        pypi:h/hiredis/
23
24distname            hiredis-${version}
25
26checksums           rmd160  5bced44970eaaf3e91835da4c966663b7af388e9 \
27                    sha256  ca958e13128e49674aa4a96f02746f5de5973f39b57297b84d59fd44d314d5b5
28
29if {${name} ne ${subport}} {
30    livecheck.type      none
31} else {
32    livecheck.type      regex
33    livecheck.url       https://pypi.python.org/pypi/hiredis/json
34    livecheck.regex     {hiredis-(\d+(?:\.\d+)*)\.[tz]}
35}
Note: See TracBrowser for help on using the repository browser.