<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/fff58eccf1952913fbac18da3af0501937517a4d">https://github.com/macports/macports-ports/commit/fff58eccf1952913fbac18da3af0501937517a4d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit fff58eccf1952913fbac18da3af0501937517a4d
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Fri Mar 11 14:02:16 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-formencode: fix 2to3 use for recent setuptools versions
</span>---
python/py-formencode/Portfile | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-formencode/Portfile b/python/py-formencode/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a593ff888fd..59174808eef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-formencode/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-formencode/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,6 @@ version 1.3.1
</span> revision 0
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> supported_archs noarch
license PSF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,6 +24,14 @@ checksums rmd160 2a9a47791bf31eec71456b6029a154223e8e4e73 \
</span> python.versions 27 37 38
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} > 27} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-setup.py-no2to3.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${prefix}/bin/2to3-${python.branch} --write --nobackups formencode"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append \
port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,6 +41,4 @@ if {${name} ne ${subport}} {
</span> xinstall -m 0644 -W ${worksrcpath} README.rst \
${destroot}${docdir}
}
<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>