<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d5187e3bb462e47e5807aefb838b169188e30f64">https://github.com/macports/macports-ports/commit/d5187e3bb462e47e5807aefb838b169188e30f64</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d5187e3bb462e47e5807aefb838b169188e30f64
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Wed Mar 13 18:25:31 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-mmh3: update to 2.5.1, add py37
</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>---
python/py-mmh3/Portfile | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-mmh3/Portfile b/python/py-mmh3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index dc445e0..2f80ad6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-mmh3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-mmh3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,36 +3,36 @@
</span> PortSystem 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set real_name mmh3
</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 2.3.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-mmh3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.5.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories-append textproc math
maintainers nomaintainer
description Python wrapper for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
long_description ${description}
<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:#e0ffe0;'>+homepage https://pypi.python.org/pypi/${python.rootname}
</span> platforms darwin
license Permissive
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:m/${real_name}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites pypi:m/${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:#e0ffe0;'>+checksums rmd160 9e5929ae21705cdaea4e19ca1965a5e8dd613dd7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 185209a217c52afe43e079e5b232d0ef0f3a262601eaaf4371326ab6dcbec508 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 9797
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${real_name}-${version}
</span><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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 34 35 36 37
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 108cd84049528834dc857e2119d2427946b028f3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 ecadc3557c093211a70b49814cf91d6833fff403edf2d8405645e227262de928
</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> post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} README.rst ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} README.rst ${destroot}${docdir}
</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/${real_name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex "${real_name}/(\\d+(?:\\.\\d+)*)"
</span> }
</pre><pre style='margin:0'>
</pre>