source: trunk/dports/python/py-boto/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.3 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-boto
8version             2.39.0
9
10categories-append   net
11platforms           darwin
12supported_archs     noarch
13license             MIT
14maintainers         nomaintainer
15
16description         Python interface to Amazon's Web Services
17long_description    ${description}
18
19homepage            http://docs.pythonboto.org/
20
21set pypi_path       [string index ${python.rootname} 0]/${python.rootname}
22master_sites        pypi:${pypi_path}
23distname            ${python.rootname}-${version}
24
25checksums           md5     503e6ffd7d56dcdffa38cb316bb119e9 \
26                    rmd160  9a117f982352e83273819c9d5b0282bd18eed0ef \
27                    sha256  950c5bf36691df916b94ebc5679fed07f642030d39132454ec178800d5b6c58a
28
29python.versions     27 34 35
30
31if {${name} ne ${subport}} {
32    post-destroot {
33        if {[file exists ${destroot}${python.pkgd}/tests]} {
34            delete ${destroot}${python.pkgd}/tests
35        }
36    }
37
38    livecheck.type  none
39} else {
40    livecheck.type  regex
41    livecheck.url   https://pypi.python.org/pypi/${python.rootname}/json
42    livecheck.regex "\"${python.rootname}-(\[.\\d\]+)\\${extract.suffix}\""
43}
Note: See TracBrowser for help on using the repository browser.