source: trunk/dports/python/py-django-nose/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.1 KB
Line 
1# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6set _name           django-nose
7set _n              [string index ${_name} 0]
8
9name                py-${_name}
10version             1.2
11
12categories-append   devel
13platforms           darwin
14license             BSD
15maintainers         nomaintainer
16
17description         Django test runner that uses nose
18long_description    ${description}
19
20homepage            http://github.com/jbalogh/${_name}
21master_sites        pypi:${_n}/${_name}
22distname            ${_name}-${version}
23
24checksums           md5     199d5358317a804b39fe05d806cab427 \
25                    rmd160  bdd535ec8bbd042eab00c47b605848ad67b14fdd \
26                    sha256  9aae16b562866a4ddaa5e8978729abadbbed544728d88e0b9c9af7b31dd072ed
27
28python.versions     27 34 35
29
30if {${name} ne ${subport}} {
31    depends_lib     port:py${python.version}-django \
32                    port:py${python.version}-nose
33
34    livecheck.type  none
35} else {
36    livecheck.type  regex
37    livecheck.url   [lindex ${master_sites} 0]
38    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
39}
Note: See TracBrowser for help on using the repository browser.