<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/293f09f4d483a511a112d2c468ac4f4df8950929">https://github.com/macports/macports-ports/commit/293f09f4d483a511a112d2c468ac4f4df8950929</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 293f09f4d48 py-importlib-resources: pin py3{6,7} versions
</span>293f09f4d48 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 293f09f4d483a511a112d2c468ac4f4df8950929
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Apr 2 14:10:28 2024 +1100
<span style='display:block; white-space:pre;color:#404040;'> py-importlib-resources: pin py3{6,7} versions
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Support for these python versions was dropped upstream. Using latest
</span><span style='display:block; white-space:pre;color:#404040;'> supported version for each.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/69489
</span>---
python/py-importlib-resources/Portfile | 31 ++++++++++++++-----------------
1 file changed, 14 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-importlib-resources/Portfile b/python/py-importlib-resources/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7d6e681381c..6eb77d58139 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-importlib-resources/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-importlib-resources/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,7 +29,8 @@ python.versions 27 36 37 38 39 310 311 312
</span>
if {${name} ne ${subport}} {
depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools_scm
</span>
if {${python.version} == 27} {
version 3.3.1
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,7 +40,6 @@ if {${name} ne ${subport}} {
</span> size 29012
depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools_scm \
</span> port:py${python.version}-toml
depends_lib-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,6 +47,18 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-pathlib2 \
port:py${python.version}-singledispatch \
port:py${python.version}-typing
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {${python.version} == 36} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 5.4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums md5 ef86f9f1bb77958b171afaafbedf6c91 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 e39417855078deb5372174671f86475ed0b51339 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d756e2f85dd4de2ba89be0b21dba2a3bbec2e871a42a3a16719258a11f87506b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {${python.version} == 37} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 5.12.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums md5 5457c25b89b19fcaca8af03e541dfa41 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 2ad7c7831391d8701209bc85da8b16f4c388d816 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4be82589bf5c1d7999aedf2a45159d10cb3ca4f19b2271f8792bc8e6da7b22f6
</span> }
if {${python.version} < 310} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -54,21 +66,6 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-zipp
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${python.version} >= 36} {
</span><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_scm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.pep517 yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${python.version} == 36} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # break circular dependency with python-install
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.add_dependencies no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:py-bootstrap-modules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python${python.version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.env-append PYTHONPATH=${prefix}/share/py-bootstrap-modules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.args --skip-dependency-check
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot.env-append PYTHONPATH=${prefix}/share/py-bootstrap-modules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> test.run yes
test.cmd ${python.bin} -m unittest discover
test.target
</pre><pre style='margin:0'>
</pre>