<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/b030d47c1595228d333c6e42281ef716e4b0a059">https://github.com/macports/macports-ports/commit/b030d47c1595228d333c6e42281ef716e4b0a059</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b030d47c1595228d333c6e42281ef716e4b0a059
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Thu Apr 4 22:55:38 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-pytools: update to 2019.1, add py37
</span><span style='display:block; white-space:pre;color:#404040;'>
</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><span style='display:block; white-space:pre;color:#404040;'> - use default PyPI livecheck and python.rootname
</span>---
python/py-pytools/Portfile | 48 ++++++++++++++++++++++++++++++----------------
1 file changed, 32 insertions(+), 16 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pytools/Portfile b/python/py-pytools/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c8ff739..292395b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pytools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pytools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,10 +3,9 @@
</span> PortSystem 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set real_name pytools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name py-${real_name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2017.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-pytools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2019.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> platforms darwin
supported_archs noarch
license MIT
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,22 +15,39 @@ description A collection of tools for Python
</span> long_description Pytools is a big bag of things that are 'missing' \
from the Python standard library.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://pypi.python.org/pypi/${real_name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:p/${real_name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${real_name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://documen.tician.de/pytools/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites pypi:p/${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 67f3250237ca2472a0ffbd140056aea607e7f92a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 80f1bba4469d473c1b3969bc8e188c03bcc94d35807a889ceebbfc78e3208115
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 84a65add0ac2fdbbfd07e68f0d6a1927de36c7a4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f6972030e6c97089e49b832fd1f4e7959aee89bb6db929aaa3bde2553d78872b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 57745
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 35 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 35 36 37
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append port:py${python.version}-decorator
</span><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><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:py${python.version}-appdirs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-decorator \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-numpy \
</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;'>+
</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} README.rst LICENSE \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${docdir}
</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;'>+ depends_test-append port:py${python.version}-pytest
</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;'>+ 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;'>+
</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 regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url https://pypi.python.org/pypi/${python.rootname}/json
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex "\"${python.rootname}-(\[.\\d\]+)\\${extract.suffix}\""
</span> }
</pre><pre style='margin:0'>
</pre>