<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/1ea88a6fb8367ab16bcf6983c5e3246a1c0de079">https://github.com/macports/macports-ports/commit/1ea88a6fb8367ab16bcf6983c5e3246a1c0de079</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1ea88a6fb8367ab16bcf6983c5e3246a1c0de079
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat Nov 16 11:32:49 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-fastavro: update to 0.22.7
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - remove py34, add py3[78] subports
</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;'> - enable tests (tests for snappy and zstandard fail as these extra
</span><span style='display:block; white-space:pre;color:#404040;'> dependencies are not available/isntalled)
</span>---
python/py-fastavro/Portfile | 39 ++++++++++++++++++++++-----------------
1 file changed, 22 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-fastavro/Portfile b/python/py-fastavro/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 60f227d..8f0fb75 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-fastavro/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-fastavro/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,37 +3,42 @@
</span> PortSystem 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set _name fastavro
</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:#e0ffe0;'>+name py-fastavro
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.22.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name py-${_name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.14.3
</span> categories-append net parallel science
platforms darwin
license MIT
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> maintainers {petr @petrrr} openmaintainer
description Fast read and write module for AVRO files
long_description ${description}
homepage https://fastavro.readthedocs.org/
<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;'>-distname ${_name}-${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;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 966cb09c8be20c6e1a6c8f5e54548e63 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 cf11ecc0877685863f3555277d8c6c2052aebea8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2acb475a1391ff1aa635c51c52420264368fcca2994408a88b0a1cc13fdad3bb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 545c13b4f0311ca096391447dac7f22314b8350b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b50ac77e0f4199f66e496c835bddaee23fdf8936ff4a1c9e19206b331f4c4952 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 545121
</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}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-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><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-pytest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-test {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</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.cmd py.test-${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</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/${_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>