<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6f525cde2808cc3e47577195ac9c155559fc206f">https://github.com/macports/macports-ports/commit/6f525cde2808cc3e47577195ac9c155559fc206f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6f525cde2808cc3e47577195ac9c155559fc206f
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Thu Feb 7 15:59:25 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-aniso8601: update to 4.1.0, add py37 subport
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - update homepage, use default PyPI livecheck
</span><span style='display:block; white-space:pre;color:#404040;'> - enable tests
</span><span style='display:block; white-space:pre;color:#404040;'> - install files in post-destroot
</span>---
python/py-aniso8601/Portfile | 35 +++++++++++++++++++++++------------
1 file changed, 23 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-aniso8601/Portfile b/python/py-aniso8601/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e354e33..4ffe83a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-aniso8601/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-aniso8601/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,11 +3,9 @@
</span> PortSystem 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set _name aniso8601
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set _n [string index ${_name} 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> name py-aniso8601
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.3.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 4.1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
categories-append devel textproc
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,20 +16,33 @@ maintainers nomaintainer
</span> description A library for parsing ISO 8601 strings
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://pypi.python.org/pypi/aniso8601
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:${_n}/${_name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname aniso8601-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://bitbucket.org/nielsenb/aniso8601
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${python.rootname}-${version}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 6f7b46f5323c325830dc604f950def2bdaa759d9 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c3b5246f5601b6ae5671911bc4ee5b3e3fe94752e8afab5ce074d8b1232952f1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 df1de3db675b027de98c45b6e45c56bd89e3e53b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 03c0ffeeb04edeca1ed59684cc6836dc377f58e52e315dc7be3af879909889f4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 39902
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 34 35 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 34 35 36 37
</span>
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-dateutil
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} eq 27} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append port:py${python.version}-mock
</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.cmd ${python.bin} setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=${worksrcpath}/build/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type pypi
</span> }
</pre><pre style='margin:0'>
</pre>