source: trunk/dports/python/py-tox/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.6 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
6PortGroup           select 1.0
7
8name                py-tox
9version             2.3.1
10categories-append   devel
11maintainers         gmail.com:pedro.salgado openmaintainer
12platforms           darwin
13supported_archs     noarch
14license             MIT
15
16description         tox: virtualenv-based automation of test activities
17long_description    Tox as is a generic virtualenv management and test command line tool
18
19homepage            http://tox.testrun.org/
20master_sites        pypi:t/tox/
21
22distname            tox-${version}
23
24checksums           rmd160  dddc14678033bacc58a54b05f007b0dcefa50d93 \
25                    sha256  bf7fcc140863820700d3ccd65b33820ba747b61c5fe4e2b91bb8c64cb21a47ee
26
27python.versions     27 34 35
28
29if {${name} ne ${subport}} {
30    depends_lib-append port:py${python.version}-pluggy \
31                       port:py${python.version}-py \
32                       port:py${python.version}-virtualenv \
33                       port:tox_select
34
35    select.group       tox
36    select.file        ${filespath}/tox${python.version}
37    notes "
38To make the Python ${python.branch} version of tox the one that is run\
39when you execute the commands without a version suffix, e.g. 'tox', run:
40
41port select --set ${select.group} [file tail ${select.file}]
42"
43    livecheck.type     none
44
45} else {
46    livecheck.type      regex
47    livecheck.url       http://pypi.python.org/pypi/tox/json
48    livecheck.regex     {tox-(\d+(?:\.\d+)*)}
49}
Note: See TracBrowser for help on using the repository browser.