<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/800657c4cdea11137101c4665c29d0d11d820e45">https://github.com/macports/macports-ports/commit/800657c4cdea11137101c4665c29d0d11d820e45</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 800657c4cdea11137101c4665c29d0d11d820e45
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Wed Feb 12 18:13:04 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-presets: fix dependencies/test phase, add noarch
</span>---
python/py-presets/Portfile | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-presets/Portfile b/python/py-presets/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index acd819d..d09ebcc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-presets/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-presets/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 bmcfee presets 0.1.3
<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-${github.project}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-categories-append devel
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append devel
</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 ISC
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description A python module to manipulate default parameters\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A python module to manipulate default parameters \
</span> of a module's functions.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> long_description ${description}
checksums rmd160 c8081e31934f9ea973524e5ea0bb8e5fe55a7b25 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,12 +28,18 @@ if {${name} ne ${subport}} {
</span> depends_build-append \
port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-numpydoc
</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>
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.args -o addopts=''
</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;'>@@ -41,9 +47,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>