<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/249d310b2f272b046224766bb644bd4e16a203a6">https://github.com/macports/macports-ports/commit/249d310b2f272b046224766bb644bd4e16a203a6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 249d310b2f272b046224766bb644bd4e16a203a6
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat Nov 16 13:06:59 2019 -0500

<span style='display:block; white-space:pre;color:#404040;'>    py-http-parser: remove py34 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;'>    - modernize checksums
</span>---
 python/py-http-parser/Portfile | 39 ++++++++++++++-------------------------
 1 file changed, 14 insertions(+), 25 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-http-parser/Portfile b/python/py-http-parser/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e432719..79995b9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-http-parser/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-http-parser/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,53 +3,42 @@
</span> PortSystem          1.0
 PortGroup           python 1.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set _name           http-parser
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set _n              [string index ${_name} 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name                py-${_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name                py-http-parser
</span> version             0.8.3
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories          python www
 license             MIT PSF
 platforms           darwin
 maintainers         {petr @petrrr} openmaintainer
 
 description         HTTP request/response parser
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> long_description    HTTP request/response parser for Python. If possible a \
                     C parser based on http-parser from Ryan Dahl will be used.
 
 homepage            https://github.com/benoitc/http-parser
<span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites        pypi:[string index ${python.rootname} 0]/${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;'>-master_sites        pypi:${_n}/${_name}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname            ${_name}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           md5 751967e2785c829dffebdc9a511e0eec \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha1 de2509e6b62d6beb191e0953d3b098ffac27fedd \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    rmd160 5953b6a238917e14b1bf6c1e4f995fbac03463b5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  5953b6a238917e14b1bf6c1e4f995fbac03463b5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  e2aff90a60def3e476bd71694d8757c0f95ebf2fedf0a8ae34ee306e0b20db83 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    83040
</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
</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;'>-    # Adding documentation and examples
</span>     post-destroot {
         set dest_doc ${destroot}${prefix}/share/doc/${subport}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        xinstall -d  ${dest_doc}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        xinstall -m 755 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            README.rst \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            LICENSE \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            NOTICE \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            THANKS \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                ${dest_doc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        xinstall -d ${dest_doc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        xinstall -m 0644 -W ${worksrcpath} README.rst \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            LICENSE NOTICE THANKS ${dest_doc}
</span> 
         delete ${dest_doc}/examples
         copy ${worksrcpath}/examples ${dest_doc}/examples
     }
 
     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/${_name}/json
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
</span> }
</pre><pre style='margin:0'>

</pre>