source: trunk/dports/python/py-stevedore/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.5 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 _name           stevedore
8set _n              [string index ${_name} 0]
9
10name                py-${_name}
11version             1.12.0
12categories-append   devel
13platforms           darwin
14maintainers         nomaintainer
15supported_archs     noarch
16license             Apache-2
17
18description         Manage dynamic plugins for Python applications
19long_description    ${description}
20
21homepage            https://pypi.python.org/pypi/${_name}/${version}
22
23master_sites        pypi:${_n}/${_name}/
24distname            ${_name}-${version}
25
26checksums           rmd160  76199a29dca21e383c717ad0ba4418a3d885458c \
27                    sha256  1bdeb2562d8f2c1e3047c2f17134a38b37a6e53e16ca1d9f79ff2ac5d5fe2925
28
29python.versions     27 34 35
30
31if {${name} ne ${subport}} {
32    # uses pkg_resources for extensions
33    depends_lib-append  port:py${python.version}-setuptools \
34                        port:py${python.version}-pbr \
35                        port:py${python.version}-six
36
37    # Adding documentation
38    post-destroot {
39        set dest_doc ${destroot}${prefix}/share/doc/${subport}
40        xinstall -${dest_doc}
41        xinstall -m 755 -W ${worksrcpath} \
42            README.rst \
43            LICENSE \
44            announce.rst \
45            ChangeLog \
46            CONTRIBUTING.rst \
47                ${dest_doc}
48    }
49    livecheck.type      none
50} else {
51    livecheck.type      pypi
52}
Note: See TracBrowser for help on using the repository browser.