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

Last change on this file was 148976, checked in by raimue@…, 16 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-carrot
8version             0.10.7
9categories-append   devel
10license             BSD
11platforms           darwin
12supported_archs     noarch
13maintainers         stromnov openmaintainer
14
15description         AMQP Messaging Framework for Python.
16
17long_description    ${description}
18
19homepage            http://ask.github.com/carrot/
20master_sites        pypi:c/carrot/
21
22distname            carrot-${version}
23
24checksums           md5     530a0614de3a669314c3acd4995c54d5 \
25                    sha1    3295a79a93ac6d77f41d830057af3ee8df97567b \
26                    rmd160  be0cce6da09f2acf106e1d3a4947b8b587d02edd
27
28python.versions     26
29
30if {${name} ne ${subport}} {
31    depends_build       port:py${python.version}-setuptools
32    livecheck.type      none
33} else {
34    livecheck.type      regex
35    livecheck.url       https://pypi.python.org/pypi/carrot/json
36    livecheck.regex     "carrot-(\\d+(?:\\.\\d+)*)${extract.suffix}"
37}
Note: See TracBrowser for help on using the repository browser.