<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/a57aa5f3e386c071cb6b57927a93652b5768da18">https://github.com/macports/macports-ports/commit/a57aa5f3e386c071cb6b57927a93652b5768da18</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a57aa5f3e386c071cb6b57927a93652b5768da18
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat Oct 21 15:37:14 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-{falcon,future,minidb}: simplify test phase
</span>---
python/py-falcon/Portfile | 8 --------
python/py-future/Portfile | 8 --------
python/py-minidb/Portfile | 7 +------
3 files changed, 1 insertion(+), 22 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-falcon/Portfile b/python/py-falcon/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 55dccdde2a2..411ba26627c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-falcon/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-falcon/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,13 +44,5 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-websockets \
port:py${python.version}-yaml
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pre-test {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> test.run yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test.cmd py.test-${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><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-future/Portfile b/python/py-future/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3ecdf048b51..7ff985000ba 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-future/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-future/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,13 +42,5 @@ if {${name} ne ${subport}} {
</span> copy {*}[glob ${worksrcpath}/docs/*.rst] ${dest_doc}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_test-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-pytest
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> test.run yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test.cmd py.test-${python.branch}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.target
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.env PYTHONPATH=${worksrcpath}/build/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-minidb/Portfile b/python/py-minidb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cb7cb825495..dba1add9b15 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-minidb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-minidb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,13 +25,8 @@ checksums rmd160 115d6fb0d797d88d763a34960b917069cc182f5e \
</span> python.versions 37 38
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_test-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-nose
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> test.run yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test.cmd nosetests-${python.branch}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.target
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.env PYTHONPATH=${worksrcpath}/build/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.test_framework nose
</span>
post-destroot {
set docdir ${prefix}/share/doc/${subport}
</pre><pre style='margin:0'>
</pre>