<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/559c52c9a2b1f7dca7fb00d54244b358191e1390">https://github.com/macports/macports-ports/commit/559c52c9a2b1f7dca7fb00d54244b358191e1390</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 559c52c9a2b1f7dca7fb00d54244b358191e1390
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sun Nov 10 20:30:51 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-pypeg2: remove py34, add py3[78] subports
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - use python.rootname
</span><span style='display:block; white-space:pre;color:#404040;'> - enable tests
</span>---
python/py-pypeg2/Portfile | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pypeg2/Portfile b/python/py-pypeg2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b0ea4c9..debf7f3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pypeg2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pypeg2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,24 +4,36 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-pypeg2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+python.rootname pyPEG2
</span> version 2.15.2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories python lang
platforms darwin
license GPL-2
maintainers {mojca @mojca} openmaintainer
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description An intrinsic PEG Parser-Interpreter for Python
long_description ${description}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> homepage https://fdik.org/pyPEG/
master_sites pypi:p/pyPEG2
distname pyPEG2-${version}
checksums rmd160 594103ba8a33086a306a172f27c6d29cf0c1435a \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2b2d4f80d8e1a9370b2a91f4a25f4abf7f69b85c8da84cd23ec36451958a1f6d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2b2d4f80d8e1a9370b2a91f4a25f4abf7f69b85c8da84cd23ec36451958a1f6d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 40334
</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 35 36 37 38
</span>
if { ${name} ne ${subport} } {
depends_run port:py${python.version}-lxml
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # TODO: enable testing (test suite exists)
</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}/pypeg2/test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd ${python.bin} test_pyPEG2.py && ${python.bin} test_xmlast.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><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
}
</pre><pre style='margin:0'>
</pre>