Commits

Renee Otten authored and Chris Jones committed 8998f5b66a7
py-pygtkhelpers: fix livecheck, deprecated
No tags

python/py-pygtkhelpers/Portfile

Modified
1 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 2
3 3 PortSystem 1.0
4 4 PortGroup python 1.0
5 +PortGroup deprecated 1.0
5 6
6 7 name py-pygtkhelpers
7 -set real_name pygtkhelpers
8 8 version 0.4.3
9 +revision 0
9 10 platforms darwin
10 11 license LGPL-3
11 12 maintainers nomaintainer
12 13 description A library to assist the building of PyGTK applications.
13 14 long_description ${description}
14 15
15 -homepage https://pypi.python.org/pypi/${real_name}
16 -master_sites pypi:p/${real_name}
17 -distname ${real_name}-${version}
16 +homepage https://pypi.python.org/pypi/${python.rootname}
17 +master_sites pypi:p/${python.rootname}
18 +distname ${python.rootname}-${version}
18 19
19 20 checksums rmd160 cc169648a3c5df5e4aeeb169a8824a060035f332 \
20 21 sha256 65417d091c68f6262ebaf18c1358f55ffe9e3735261d4c1bfb0d6e5bed1905b8
21 22
23 +deprecated.upstream_support no
24 +
22 25 python.versions 27
23 26 python.link_binaries no
24 27 python.move_binaries no
25 28
26 29 if {${name} ne ${subport}} {
27 - depends_lib port:py${python.version}-setuptools
30 + depends_lib-append port:py${python.version}-setuptools
28 31 livecheck.type none
29 -} else {
30 - livecheck.type regex
31 - livecheck.url ${master_sites}
32 - livecheck.regex "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
33 32 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut