<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/3cfca77baaf4f1a01687d63a2f19d0a899d7dc31">https://github.com/macports/macports-ports/commit/3cfca77baaf4f1a01687d63a2f19d0a899d7dc31</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3cfca77baaf4f1a01687d63a2f19d0a899d7dc31
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Wed Nov 27 09:11:33 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-dispatcher: remove py34, add py38 subport
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - use python.rootname, default PyPI livecheck
</span><span style='display:block; white-space:pre;color:#404040;'> - add size to checksums
</span><span style='display:block; white-space:pre;color:#404040;'> - set test.dir
</span>---
python/py-dispatcher/Portfile | 38 ++++++++++++++++++++------------------
1 file changed, 20 insertions(+), 18 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-dispatcher/Portfile b/python/py-dispatcher/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ede6c15..b0af243 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-dispatcher/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-dispatcher/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,47 +1,49 @@
</span> # -*- 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
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup python 1.0
</span>
name py-dispatcher
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set real_name PyDispatcher
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.rootname PyDispatcher
</span> version 2.0.5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories-append devel
license BSD
platforms darwin
supported_archs noarch
maintainers {dh @donkopotamus} openmaintainer
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description python dispatcher mechanism for creating event models
long_description PyDispatcher provides the Python programmer with a \
multiple-producer-multiple-consumer \
signal-registration and routing infrastructure for use \
in multiple contexts.
<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;'>-
</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://pypi.python.org/pypi/${python.rootname}
</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>
checksums rmd160 1b74f1ee498bd4b2806076994a8d543d58bd6734 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 5570069e1b1769af1fe481de6dd1d3a388492acddd2cdad7a3bde145615d5caf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5570069e1b1769af1fe481de6dd1d3a388492acddd2cdad7a3bde145615d5caf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 34437
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 34 35 36 37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 35 36 37 38
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build port:py${python.version}-setuptools
</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:#ffe0e0;'>- test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.cmd ${python.bin} tests/test_dispatcher.py && ${python.bin} tests/test_robustapply.py && ${python.bin} tests/test_saferef.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.env PYTHONPATH=${worksrcpath}/build/lib
</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} test_dispatcher.py && ${python.bin} test_robustapply.py && ${python.bin} test_saferef.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.dir ${build.dir}/tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=${worksrcpath}/build/lib
</span> test.target
post-destroot {
file delete -force ${destroot}${prefix}/share/doc/${subport}
file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${subport}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span><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/${real_name}/json
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex ${real_name}-(\[0-9\.\]+)${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span> }
</pre><pre style='margin:0'>
</pre>