Commits

reneeotten authored and Chih-Hsuan Yen committed fe4249257b8
py-pygooglechart: fix livecheck, deprecated

- modernize checksums
No tags

python/py-pygooglechart/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-pygooglechart
7 8 version 0.4.0
9 +revision 0
8 10 license GPL-3+
9 11 maintainers nomaintainer
10 12 platforms darwin
11 13 supported_archs noarch
12 14
13 15 description ygooglechart is a complete Python wrapper for the Google Chart API
14 16 long_description ${description}
15 17
16 18 categories-append devel
17 19
18 20 homepage https://github.com/gak/pygooglechart
19 -master_sites http://slowchop.com/pygooglechart/download/ \
20 - pypi:p/pygooglechart
21 +master_sites pypi:p/pygooglechart
21 22 distname pygooglechart-${version}
22 23
23 -checksums md5 247b69617aa4676ccd3b48fdbbcf2abf \
24 - sha1 edb63a9f802183ab338210728e0f49ceff2c069d \
25 - rmd160 e04f2eb5e11d64b7e8c9befa81074b5ec060b91a
24 +checksums sha1 edb63a9f802183ab338210728e0f49ceff2c069d \
25 + rmd160 e04f2eb5e11d64b7e8c9befa81074b5ec060b91a \
26 + sha256 018d4dd800eea8e0e42a4b3af2a3d5d6b2a2b39e366071b7f270e9628b5f6454 \
27 + size 28244
28 +
29 +deprecated.upstream_support no
26 30
27 31 python.versions 27
28 32
29 -if {$subport ne $name} {
33 +if {${subport} ne ${name}} {
30 34 depends_build-append \
31 35 port:py${python.version}-setuptools
32 36
33 37 post-destroot {
34 38 set docdir ${prefix}/share/doc/${subport}
35 39 xinstall -d ${destroot}${docdir}
36 - xinstall -m 644 -W ${worksrcpath} COPYING ${destroot}${docdir}
40 + xinstall -m 0644 -W ${worksrcpath} COPYING ${destroot}${docdir}
37 41 }
42 +
38 43 livecheck.type none
39 -} else {
40 - livecheck.type regex
41 - livecheck.url ${homepage}
42 - livecheck.regex {pygooglechart-(\d+(?:\.\d+)*)}
43 44 }

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

Add shortcut