<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/1692462cdc1195044ea43e97c655468aaf165423">https://github.com/macports/macports-ports/commit/1692462cdc1195044ea43e97c655468aaf165423</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1692462cdc1195044ea43e97c655468aaf165423
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat Nov 16 12:42:07 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-hdfs: update to 2.5.8, 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>---
python/py-hdfs/Portfile | 47 ++++++++++++++++++-----------------------------
1 file changed, 18 insertions(+), 29 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-hdfs/Portfile b/python/py-hdfs/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f8ab9d6..19f2907 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-hdfs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-hdfs/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 hdfs
</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-hdfs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.5.8
</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 2.0.4
</span> categories-append net sysutils parallel
platforms darwin
supported_archs noarch
license MIT
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> maintainers {petr @petrrr} openmaintainer
description API and command line interface for HDFS
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://hdfscli.readthedocs.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</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:#e0ffe0;'>+homepage https://hdfscli.readthedocs.org/
</span><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;'>-checksums md5 c48b86a0fb05d22b5f4eb4cb84fc6452 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 442f119b819afecb20ab3f13096c3a8a8827542f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c62038dec3d2a7d5344ceb3aa2a721dfaf35e46a311676d74f91d3cb2a866055
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 21c5aff4d3b154c68c31462b170e34a30a5fd2c5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1be117549fc1285571bc51aedc15df5a203138dba02f9adfa26761b69a949370 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 41903
</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-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}-docopt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-requests \
</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;'>+ port:py${python.version}-six
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:py${python.version}-docopt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-requests \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-six
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Adding documentation
</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;'>- LICENSE \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- README.rst \
</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} LICENSE \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ README.md ${dest_doc}
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</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>