source: trunk/dports/python/py-supervisor/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.8 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
7set real_name       supervisor
8
9name                py-supervisor
10version             3.1.3
11platforms           darwin
12supported_archs     noarch
13license             BSD ZPL-2.1
14maintainers         nomaintainer
15
16description         Process manager for UNIX-like OSs
17
18long_description    \
19    The supervisor is a client/server system that allows its users to control \
20    a number of processes on UNIX-like operating systems
21
22homepage            http://supervisord.org
23
24master_sites        pypi:s/${real_name}
25distname            supervisor-${version}
26
27checksums           rmd160  9598b25640e72b0322cbb79a8f8f26712135efba \
28                    sha256  e32c546fe8d2a6e079ec4819c49fd24534d4075a58af39118d04367918b3c282
29
30python.versions     27
31
32if {${name} ne ${subport}} {
33    depends_lib-append  port:py${python.version}-setuptools \
34                        port:py${python.version}-elementtree \
35                        port:py${python.version}-meld3 \
36                        port:py${python.version}-medusa
37
38    test.run        yes
39
40    post-destroot {
41        file delete -force ${destroot}${prefix}/doc
42        xinstall -m 644 -W ${worksrcpath} \
43            README.rst \
44            CHANGES.txt \
45            COPYRIGHT.txt \
46            LICENSES.txt \
47            TODO.txt \
48            docs/plugins.rst \
49            supervisor/skel/sample.conf \
50            ${destroot}${prefix}/share/doc/${subport}
51    }
52
53    livecheck.type  none
54} else {
55    livecheck.type  regex
56    livecheck.url   https://pypi.python.org/pypi/${real_name}/json
57    livecheck.regex "\"${real_name}-(\[.\\d\]+)\\${extract.suffix}\""
58}
Note: See TracBrowser for help on using the repository browser.