Commits
Renee Otten authored and Adam Mercer committed 8ee6dba7ffd
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 - | PortSystem 1.0 |
4 - | PortGroup python 1.0 |
5 - | |
6 - | name py-tz |
7 - | set my_name pytz |
8 - | version 2018.9 |
9 - | revision 0 |
10 - | categories-append devel |
11 - | platforms darwin |
12 - | supported_archs noarch |
13 - | maintainers {ram @skymoo} openmaintainer |
14 - | license MIT |
15 - | |
16 - | description World Timezone Definitions for Python |
17 - | long_description \ |
18 - | pytz brings the Olson tz database into Python. This library allows \ |
19 - | accurate and cross platform timezone calculations. |
20 - | |
21 - | homepage https://pypi.python.org/pypi/pytz |
22 - | master_sites pypi:1b/50/4cdc62fc0753595fc16c8f722a89740f487c6e5670c644eb8983946777be \ |
23 - | pypi:p/pytz/ |
24 - | distname ${my_name}-${version} |
25 - | #use_zip yes |
26 - | |
27 - | python.versions 27 34 35 36 37 |
28 - | |
29 - | checksums rmd160 60a5a4de522e3a4d8bed1f8f58f7bdcf0abfb157 \ |
30 - | sha256 d5f05e487007e29e03409f9398d074e158d920d36eb82eaf66fb1136b0c5374c \ |
31 - | size 310705 |
32 - | |
33 - | post-destroot { |
34 - | if {${name} ne ${subport}} { |
35 - | set docdir ${prefix}/share/doc/${subport} |
36 - | xinstall -d ${destroot}${docdir} |
37 - | xinstall -m 644 -W $worksrcpath LICENSE.txt README.txt \ |
38 - | ${destroot}${docdir} |
3 + | PortSystem 1.0 |
4 + | PortGroup python 1.0 |
5 + | |
6 + | name py-tz |
7 + | set my_name pytz |
8 + | conflicts py-tz-gae |
9 + | version 2018.9 |
10 + | revision 0 |
11 + | |
12 + | categories-append devel |
13 + | platforms darwin |
14 + | supported_archs noarch |
15 + | license MIT |
16 + | maintainers {ram @skymoo} openmaintainer |
17 + | |
18 + | description World Timezone Definitions for Python |
19 + | long_description pytz brings the Olson tz database into Python. This library allows \ |
20 + | accurate and cross platform timezone calculations. |
21 + | |
22 + | homepage https://pypi.python.org/pypi/pytz |
23 + | master_sites pypi:1b/50/4cdc62fc0753595fc16c8f722a89740f487c6e5670c644eb8983946777be \ |
24 + | pypi:p/pytz/ |
25 + | distname ${my_name}-${version} |
26 + | |
27 + | checksums rmd160 60a5a4de522e3a4d8bed1f8f58f7bdcf0abfb157 \ |
28 + | sha256 d5f05e487007e29e03409f9398d074e158d920d36eb82eaf66fb1136b0c5374c \ |
29 + | size 310705 |
30 + | |
31 + | python.versions 27 34 35 36 37 |
32 + | |
33 + | if {${name} ne ${subport}} { |
34 + | conflicts py${python.version}-tz-gae |
35 + | |
36 + | post-destroot { |
37 + | set docdir ${prefix}/share/doc/${subport} |
38 + | xinstall -d ${destroot}${docdir} |
39 + | xinstall -m 0644 -W $worksrcpath LICENSE.txt README.txt \ |
40 + | ${destroot}${docdir} |
39 41 | } |
40 - | } |
41 42 | |
42 - | if {${name} eq ${subport}} { |
43 - | conflicts py-tz-gae |
44 - | livecheck.type regex |
45 - | livecheck.url ${homepage} |
46 - | livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*) |
43 + | livecheck.type none |
47 44 | } else { |
48 - | conflicts py${python.version}-tz-gae |
49 - | livecheck.type none |
45 + | livecheck.name ${my_name} |
50 46 | } |