Commits

reneeotten authored and Chih-Hsuan Yen committed 48914121d36
py-pygooglechart: add modeline, adjust whitespace
No tags

python/py-pygooglechart/Portfile

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

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

Add shortcut