source: trunk/dports/python/py-enum34/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.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-enum34
8version             1.1.6
9categories          python
10platforms           darwin
11license             BSD
12maintainers         mojca openmaintainer
13description         Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4
14long_description    ${description}
15homepage            https://pypi.python.org/pypi/enum34
16master_sites        pypi:e/enum34
17distname            enum34-${version}
18
19checksums           rmd160  b6bf8846921ddbbd4c1a70de69e9036f0a41a9b4 \
20                    sha256  8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1
21
22# works in 24 25 26 27 31 32 33
23python.versions     26 27 33
24
25if {${name} ne ${subport}} {
26    depends_build-append \
27                    port:py${python.version}-setuptools
28    livecheck.type  none
29} else {
30    livecheck.type  regex
31    livecheck.url   ${homepage}
32    livecheck.regex {enum34 (\d+(?:\.\d+)*)}
33}
Note: See TracBrowser for help on using the repository browser.