source: trunk/dports/python/py-ez_setup/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-ez_setup
8version             0.9
9categories-append   devel
10license             MIT
11maintainers         nomaintainer
12description         To solve a setuptools problem
13long_description        ${description}
14
15platforms           darwin
16
17homepage            http://pypi.python.org/pypi/ez_setup/
18master_sites        pypi:e/ez_setup/
19distname            ez_setup-${version}
20
21checksums           rmd160  796b5364e8e64455468b76b4f8a2fd10f0389d1b \
22                    sha256  303c5b17d552d1e3fb0505d80549f8579f557e13d8dc90e5ecef3c07d7f58642
23
24python.versions     26 27 34
25python.default_version 27
26
27if {${name} ne ${subport}} {
28    depends_build-append port:py${python.version}-setuptools
29
30    post-destroot {
31        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
32        xinstall -m 644 -W ${worksrcpath} NEWS.txt \
33            README.rst ${destroot}${prefix}/share/doc/${subport}
34    }
35    livecheck.type      none
36} else {
37    livecheck.type      regex
38    livecheck.url       ${homepage}
39    livecheck.regex     ez_setup-(\\d+(\\.\\d+)+)
40}
Note: See TracBrowser for help on using the repository browser.