source: trunk/dports/python/py-librabbitmq/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.2 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-librabbitmq
8version             1.6.1
9revision            0
10categories-append   devel
11platforms           darwin
12license             MPL-1.1 MIT
13
14python.versions     27
15
16maintainers         stromnov openmaintainer
17
18description         AMQP Client using the rabbitmq-c library.
19long_description    ${description}
20
21homepage            http://github.com/celery/librabbitmq
22master_sites        pypi:l/librabbitmq/
23
24distname            librabbitmq-${version}
25
26checksums           rmd160  1a4debacf5ff9d3eddb457814b50768c18698e0d \
27                    sha256  604a226b9fe3f9e439353702a731f2a39cf771882e68bca020cb224d9b990c49
28
29if {${name} ne ${subport}} {
30    depends_build-append \
31                        port:py${python.version}-setuptools
32
33    # Fix conflict with billiard (#42577)
34    post-extract {
35        delete ${worksrcpath}/funtests
36    }
37
38    livecheck.type      none
39} else {
40    livecheck.type      regex
41    livecheck.url       https://pypi.python.org/pypi/librabbitmq/json
42    livecheck.regex     {librabbitmq-(\d+(?:\.\d+)*)\.[tz]}
43}
Note: See TracBrowser for help on using the repository browser.