<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/602d3855d371e9ba54858b69bd98986b4831908e">https://github.com/macports/macports-ports/commit/602d3855d371e9ba54858b69bd98986b4831908e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 602d3855d371e9ba54858b69bd98986b4831908e
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat May 2 11:24:46 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-tz: update to 2020.1, enable tests
</span>---
python/py-tz/Portfile | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tz/Portfile b/python/py-tz/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8b81ffa..cd2269b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-tz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,8 +5,7 @@ PortGroup python 1.0
</span>
name py-tz
python.rootname pytz
<span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts py-tz-gae
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2019.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2020.1
</span> revision 0
categories-append devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,19 +20,27 @@ long_description pytz brings the Olson tz database into Python. This library
</span>
homepage https://pypi.python.org/pypi/pytz
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 3450820a510da54ceff2edc16e74d4aa8f76026a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 312286
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 69064deed06259b927d299f438bfa5773dd5379d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 311771
</span>
python.versions 27 35 36 37 38
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts py${python.version}-tz-gae
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} in "27 35 36"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts py${python.version}-tz-gae
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.dir ${build.dir}/pytz/tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd ${python.bin} test_lazy.py && ${python.bin} test_tzinfo.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=${worksrcpath}/build/lib
</span>
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0644 -W $worksrcpath LICENSE.txt README.txt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W $worksrcpath LICENSE.txt README.rst \
</span> ${destroot}${docdir}
}
</pre><pre style='margin:0'>
</pre>