source: trunk/dports/python/py-speaklater/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# -*- 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
7set _name           speaklater
8set _n              [string index ${_name} 0]
9
10name                py-${_name}
11version             1.3
12categories-append   textproc
13platforms           darwin
14supported_archs     noarch
15license             BSD
16maintainers         nomaintainer
17
18description         lazy strings for translations
19long_description    ${description}
20
21homepage            https://github.com/mitsuhiko/speaklater
22master_sites        pypi:${_n}/${_name}
23distname            ${_name}-${version}
24
25checksums           rmd160  70c03aa32233a9f4a6dd352c4dca1fe0d1888ffe \
26                    sha256  59fea336d0eed38c1f0bf3181ee1222d0ef45f3a9dd34ebe65e6bfffdd6a65a9
27
28python.versions     26 27 34
29
30if {${name} eq ${subport}} {
31    livecheck.type  regex
32    livecheck.url   [lindex ${master_sites} 0]
33    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
34} else {
35    livecheck.type  none
36}
Note: See TracBrowser for help on using the repository browser.