source: trunk/dports/python/py-tagcloud/Portfile

Last change on this file was 148976, checked in by raimue@…, 18 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
7name                py-tagcloud
8version             0.3.5
9platforms           darwin
10supported_archs     noarch
11maintainers         nomaintainer
12description         create simple tag clouds inspired by http://www.wordle.net/
13long_description    ${description}
14license             BSD
15
16homepage            https://pypi.python.org/pypi/pytagcloud
17distname            pytagcloud-${version}
18master_sites        pypi:p/pytagcloud/
19
20checksums           rmd160  bfddcc17caed92400bb9e8f704ce86cfc384dba6 \
21                    sha256  4d56539f0c80ed96f0d320fa0667db3f2d0cc3d2925f84522b82f48f6c0973e9
22
23python.versions     27
24
25if {${name} ne ${subport}} {
26    depends_run-append  port:py${python.version}-game \
27                        port:py${python.version}-simplejson
28
29    livecheck.type      none
30} else {
31    livecheck.type     regex
32    livecheck.url       ${homepage}
33    livecheck.regex     "<a href=\"/pypi/pytagcloud/.*?\">(\\d+(?:\\.\\d+)*)</a>"
34}
Note: See TracBrowser for help on using the repository browser.