<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/6e0bf13e4dc2a98acbcfa61f67ab1773f76589db">https://github.com/macports/macports-ports/commit/6e0bf13e4dc2a98acbcfa61f67ab1773f76589db</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6e0bf13e4dc2a98acbcfa61f67ab1773f76589db
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat Oct 21 15:44:26 2023 -0400

<span style='display:block; white-space:pre;color:#404040;'>    py-{pcapy,pyshark}: simplify test phase
</span>---
 python/py-pcapy/Portfile   | 11 ++---------
 python/py-pyshark/Portfile |  9 +--------
 2 files changed, 3 insertions(+), 17 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pcapy/Portfile b/python/py-pcapy/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9d7c1877b71..11f1ad826d0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pcapy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pcapy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,8 +19,6 @@ long_description    Pcapy is a Python extension module that interfaces with \
</span> platforms           darwin
 
 homepage            https://github.com/SecureAuthCorp/pcapy/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname            ${python.rootname}-${version}
</span> 
 checksums           rmd160  558694f7315b97a09a7d7164c2d042f6a0899aee \
                     sha256  aa239913678d7ba116e66057a37f914de7726aecd11d00db470127df115c4e78 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,12 +54,7 @@ if {${name} ne ${subport}} {
</span>             ChangeLog ${destroot}${docdir}
     }
 
<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>     test.run        yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    test.cmd        cd tests && ${python.bin} pcapytests.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    test.target
</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;background:#e0ffe0;'>+    python.test_framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    test.cmd        ${python.bin} tests/pcapytests.py
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyshark/Portfile b/python/py-pyshark/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e533b4720fd..ce716c464f7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pyshark/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyshark/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,8 +35,7 @@ if {${name} ne ${subport}} {
</span>                     path:bin/tshark:wireshark3
 
     depends_test-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py${python.version}-mock \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py${python.version}-pytest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-mock
</span> 
     # diff -Naur -I '^ *#' src/pyshark/config.ini.orig src/pyshark/config.ini | sed -E 's|\.orig||' > patch-config-ini.diff
     patchfiles      patch-config-ini.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,10 +47,4 @@ if {${name} ne ${subport}} {
</span>     build.dir       ${worksrcpath}/src
 
     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.dir        ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    test.target     tests
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    test.env        PYTHONPATH=${build.dir}/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> }
</pre><pre style='margin:0'>

</pre>