<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/768bc6a463bf7e1e766251015b6e1b5319095e6c">https://github.com/macports/macports-ports/commit/768bc6a463bf7e1e766251015b6e1b5319095e6c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 768bc6a463bf7e1e766251015b6e1b5319095e6c
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Thu Apr 4 13:23:58 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-pyicu: update to 2.3
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - update homepage / description
</span><span style='display:block; white-space:pre;color:#404040;'> - use default PyPI livecheck
</span><span style='display:block; white-space:pre;color:#404040;'> - install files in post-destroot
</span><span style='display:block; white-space:pre;color:#404040;'> - enable tests
</span>---
python/py-pyicu/Portfile | 38 +++++++++++++++++++++++++++-----------
1 file changed, 27 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyicu/Portfile b/python/py-pyicu/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4275dde..abb8687 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pyicu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyicu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,33 +4,49 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-pyicu
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories-append textproc
platforms darwin
maintainers nomaintainer
license MIT
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description Python extension wrapping IBM's International \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Components for Unicode C++ library (ICU)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Python extension wrapping the ICU C++ API
</span> long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://pypi.python.org/pypi/PyICU/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/ovalhub/pyicu
</span> master_sites pypi:P/PyICU/
distname PyICU-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 0c76f4f1ebbde3adf8c2ca2e48a5cb25f9d5925f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 5fdab441c91adf9ceb6373dfdca18fbde3676f906babda45d85cf0fa8e43fd8a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 203402
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 c7ddb3a7f61e24ce49f7e80b8c0ddb8722b5d255 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 419d389b014ee48f31014920f300c842df0770a283ab1fb4de82a6af334cac4d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 214710
</span>
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append port:icu
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-test {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append port:py${python.version}-pytest \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-six
</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 py.test-${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</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;'>+ set docdir ${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} LICENSE CREDITS \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ README.md CHANGES ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url ${homepage}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex PyICU-(\[0-9.\]+)${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.name PyICU
</span> }
</pre><pre style='margin:0'>
</pre>