<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/5eb92f4ba1c5b749025530501111b19796596efe">https://github.com/macports/macports-ports/commit/5eb92f4ba1c5b749025530501111b19796596efe</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5eb92f4ba1c5b749025530501111b19796596efe
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sun Jan 7 21:11:45 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-docker: fix test depdendencies
</span>---
python/py-docker/Portfile | 22 ++++++----------------
1 file changed, 6 insertions(+), 16 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-docker/Portfile b/python/py-docker/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b4e1a197ced..dbe5f4f900b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-docker/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-docker/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,9 +25,6 @@ checksums rmd160 96de2c178103e03a8ffa43156df5083972053c77 \
</span> python.versions 37 38 39 310 311
if {${subport} ne ${name}} {
<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;'>-
</span> depends_lib-append \
port:py${python.version}-paramiko \
port:py${python.version}-requests \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,26 +32,19 @@ if {${subport} ne ${name}} {
</span> port:py${python.version}-websocket-client
depends_test-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-flake8 \
</span> port:py${python.version}-mock \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-pytest \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-pytest-cov \
</span> port:py${python.version}-pytest-timeout
<span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0644 -W ${worksrcpath} CONTRIBUTING.md LICENSE \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MAINTAINERS README.md ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> pre-test {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test.env-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
</span> # See https://docs.pytest.org/en/stable/pythonpath.html
delete ${test.dir}/${test.target}/__init__.py
}
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:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} CONTRIBUTING.md LICENSE \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MAINTAINERS README.md ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
</pre><pre style='margin:0'>
</pre>