source: trunk/dports/python/py-baker/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=portfile: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
7set my_name         Baker
8name                py-[string tolower ${my_name}]
9version             1.3
10python.versions     26 27 33 34
11maintainers         g5pw openmaintainer
12license             Apache-2
13description         Easy, powerful access to Python functions from the \
14                    command line.
15long_description    ${description}
16
17platforms           darwin
18supported_archs     noarch
19
20homepage            http://pypi.python.org/pypi/${my_name}
21master_sites        pypi:B/${my_name}/
22
23checksums           rmd160  9fe09881a78c1234979094d082fda204aa6d21eb \
24                    sha256  2d81e99af7d7d6441297a0c13de023fe3f1510718e89d2baacea917ee09d154d
25
26if {${name} ne ${subport}} {
27    depends_build       port:py${python.version}-setuptools
28    distname            ${my_name}-${version}
29    livecheck.type      none
30} else {
31    livecheck.type      regex
32    livecheck.url       ${master_sites}
33    livecheck.regex     "${my_name}-(\\d+(\\.\\d+){1,2})${extract.suffix}"
34}
Note: See TracBrowser for help on using the repository browser.