<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/c7798be67f969ded5d860529e94d520f26d53267">https://github.com/macports/macports-ports/commit/c7798be67f969ded5d860529e94d520f26d53267</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c7798be67f969ded5d860529e94d520f26d53267
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Tue Feb 4 08:15:11 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-hypy: update to 1.0.1, add py37 subport
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - enable tests
</span>---
python/py-hypy/Portfile | 38 ++++++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 14 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-hypy/Portfile b/python/py-hypy/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d910b28..9778b2e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-hypy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-hypy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,10 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-hypy
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.8.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.rootname Hypy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.0.1
</span> revision 0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories-append textproc
license LGPL-2.1
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,29 +17,37 @@ description Fulltext search interface for Python applications
</span> long_description Hypy is a fulltext search interface for Python \
applications. Use it to index and search your \
documents from Python code.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://goonmill.org/hypy/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:H/Hypy/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname Hypy-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 3278ad8558cce2ed0e75508564061cfa311470fe \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 bde11b8f1c199aa3cf9d2dbb38e9182d297fd5a0ae2d1ce00866670e24a37aeb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 41681
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/corydodt/Hypy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 e80e489f990c9cb01acb5ee22240c530aac08e9c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 706a8516835898d2f8d0260b49547b7d9b021f3825369f21d7c53edecfaaacf4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 41140
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 37
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:hyperestraier
</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}-six \
</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:hyperestraier
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-setup.py.diff
</span> post-patch {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|VERSION_NOT_FOUND|${version}|" ${worksrcpath}/setup.py
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # test only work after installing the port first; likely due to the use
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # of pkg_resources in _version.py
</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;'>+ 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><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/doc/${subport}
</span> xinstall -m 0644 -W ${worksrcpath} README.md \
${destroot}${prefix}/share/doc/${subport}
}
</pre><pre style='margin:0'>
</pre>