<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/e662386968f45f7c9b15718003ff8774e56efd5c">https://github.com/macports/macports-ports/commit/e662386968f45f7c9b15718003ff8774e56efd5c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e662386968f45f7c9b15718003ff8774e56efd5c
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat Oct 26 17:54:02 2019 -0400

<span style='display:block; white-space:pre;color:#404040;'>    py-ply: 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;'>    - make use of python.rootname
</span><span style='display:block; white-space:pre;color:#404040;'>    - enable tests
</span>---
 python/py-ply/Portfile | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ply/Portfile b/python/py-ply/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 73fc88d..aeffa3b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-ply/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-ply/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,16 +3,14 @@
</span> PortSystem          1.0
 PortGroup           python 1.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set my_name         ply
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name                py-${my_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name                py-ply
</span> version             3.11
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories-append   lang devel
 platforms           darwin
 license             BSD
 supported_archs     noarch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</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:#ffe0e0;'>-
</span> maintainers         nomaintainer
 
 description         lex and yacc implementation for Python
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,27 +18,33 @@ long_description    ${description}
</span> 
 homepage            https://www.dabeaz.com/ply/
 master_sites        ${homepage}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname            ${my_name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname            ${python.rootname}-${version}
</span> 
 checksums           rmd160  d0039bbbf095aeb7ed82fc2fab4b4699e8406d50 \
                     sha256  00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3 \
                     size    159130
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions     27 35 36 37 38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    test.run        yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    test.cmd        cd test && python testlex.py && python testyacc.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>     post-destroot {
         set docdir ${prefix}/share/doc/${subport}
         xinstall -d ${destroot}${docdir}/html
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        xinstall -m 644 -W $worksrcpath ANNOUNCE CHANGES \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            TODO ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        xinstall -m 0644 -W $worksrcpath ANNOUNCE CHANGES \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            TODO README.md ${destroot}${docdir}
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        xinstall -m 644 $worksrcpath/doc/ply.html \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        xinstall -m 0644 $worksrcpath/doc/ply.html \
</span>             ${destroot}${docdir}/html
     }
 
     livecheck.type      none
 } else {
     livecheck.type      regex
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    livecheck.regex     ${my_name}-(\\d+(?:\\.\\d+)*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    livecheck.regex     ${python.rootname}-(\\d+(?:\\.\\d+)*)
</span> }
</pre><pre style='margin:0'>

</pre>