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

Last change on this file was 148976, checked in by raimue@…, 2 years 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 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
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 $
4PortSystem              1.0
5PortGroup               python 1.0
7name                    py-pygtkhelpers
8set real_name           pygtkhelpers
9version                 0.4.3
10platforms               darwin
11license                 LGPL-3
12maintainers             nomaintainer
13description             A library to assist the building of PyGTK applications.
14long_description        ${description}
16homepage      ${real_name}
17master_sites            pypi:p/${real_name}
18distname                ${real_name}-${version}
20checksums               rmd160  cc169648a3c5df5e4aeeb169a8824a060035f332 \
21                        sha256  65417d091c68f6262ebaf18c1358f55ffe9e3735261d4c1bfb0d6e5bed1905b8
23python.versions         26 27
24python.link_binaries    no
25python.move_binaries    no
27if {${name} ne ${subport}} {
28    depends_lib         port:py${python.version}-setuptools
29    livecheck.type      none
30} else {
31    livecheck.type      regex
32    livecheck.url       ${master_sites}
33    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.