<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/67b6bbe2ebcda222319a2f582d2c426e301e624d">https://github.com/macports/macports-ports/commit/67b6bbe2ebcda222319a2f582d2c426e301e624d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 67b6bbe2ebcda222319a2f582d2c426e301e624d
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sun Sep 29 13:45:59 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-platformdirs: remove py37 subport
</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/70975
</span>---
python/py-platformdirs/Portfile | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-platformdirs/Portfile b/python/py-platformdirs/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 562d0326239..0ef6bb79e0b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-platformdirs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-platformdirs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,16 +22,16 @@ checksums rmd160 ab9c718c8dc4d8aa46fd31c87e8a3b482f879b92 \
</span> sha256 357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907 \
size 21302
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# keep all these Python versions, port is a dependency of py-virtualenv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# keep th Python 2.7 subport as it is a dependency of py-virtualenv
</span> # See <https://trac.macports.org/wiki/Python#VersionPolicy>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 37 38 39 310 311 312
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 38 39 310 311 312
</span>
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools \
port:py${python.version}-setuptools_scm
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${python.version} <= 35} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} == 27} {
</span> version 2.0.2
epoch 1
revision 0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,18 +44,13 @@ if {${name} ne ${subport}} {
</span> } else {
depends_build port:py${python.version}-hatch-vcs
python.pep517_backend hatch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${python.version} < 38} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-typing_extensions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> }
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst ${destroot}${docdir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${python.version} <= 36} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} == 27} {
</span> xinstall -m 0644 -W ${worksrcpath} CHANGES.rst ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE.txt ${destroot}${docdir}
} else {
</pre><pre style='margin:0'>
</pre>