source: trunk/dports/python/py-six/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.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-six
8version             1.10.0
9categories-append   devel
10license             MIT
11platforms           darwin
12supported_archs     noarch
13
14maintainers         g5pw openmaintainer
15
16description         ${name} is a Python 2 and 3 compatibility library.
17long_description    ${description} It provides utility functions for smoothing\
18                    over the differences between the Python versions with the goal\
19                    of writing Python code that is compatible on both Python versions.
20
21homepage            http://pypi.python.org/pypi/six/
22master_sites        pypi:s/six/
23
24distname            six-${version}
25
26checksums           rmd160  9c5e84a8d2640fc98b33f62896a4f9a3f64167ee \
27                    sha256  105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a
28
29python.versions     26 27 33 34 35
30
31if {${name} ne ${subport}} {
32    livecheck.type      none
33} else {
34    livecheck.type      regex
35    livecheck.url       https://pypi.python.org/pypi/six/json
36    livecheck.regex     {six-(\d+(?:\.\d+)*)\.[tz]}
37}
Note: See TracBrowser for help on using the repository browser.