<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/05223ec057e8b4412ae946c57d58f9fa2c83b861">https://github.com/macports/macports-ports/commit/05223ec057e8b4412ae946c57d58f9fa2c83b861</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 05223ec057e8b4412ae946c57d58f9fa2c83b861
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Wed Feb 12 12:57:46 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-soundfile: fix dependency type, set test.env, noarch
</span>---
python/py-soundfile/Portfile | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-soundfile/Portfile b/python/py-soundfile/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 89f2a11..4ea5c15 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-soundfile/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-soundfile/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,17 +5,17 @@ PortGroup github 1.0
</span> PortGroup python 1.0
github.setup bastibe SoundFile 0.10.3 {} post1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> name py-[string tolower ${github.project}]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-categories-append audio
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append audio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span> license BSD
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span>
description SoundFile is an audio library based on libsndfile,\
CFFI, and NumPy.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> long_description ${description} SoundFile can read and write sound\
files. File reading/writing is supported through\
libsndfile, which is a free, cross-platform,\
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,11 +36,11 @@ python.versions 37 38
</span>
if {${name} ne ${subport}} {
depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-cffi \
</span> port:py${python.version}-setuptools
depends_lib-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libsndfile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsndfile \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-cffi
</span>
depends_run-append \
port:py${python.version}-numpy
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,6 +48,11 @@ if {${name} ne ${subport}} {
</span> depends_test-append \
port:py${python.version}-pytest
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd pytest-${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=${worksrcpath}/build/lib
</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:#e0e0e0;'>@@ -55,9 +60,5 @@ if {${name} ne ${subport}} {
</span> ${destroot}${docdir}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.cmd pytest-${python.branch}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.target tests
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> livecheck.type none
}
</pre><pre style='margin:0'>
</pre>