<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5f0f212baa6fb354c5b7328a242c64f5e57ce80f">https://github.com/macports/macports-ports/commit/5f0f212baa6fb354c5b7328a242c64f5e57ce80f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5f0f212baa6fb354c5b7328a242c64f5e57ce80f
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Wed Apr 11 15:30:32 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> py-urlwatch: use versioned 2to3-3.x as installed by python3x
</span>---
python/py-urlwatch/Portfile | 2 ++
1 file changed, 2 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-urlwatch/Portfile b/python/py-urlwatch/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2b5eebd..6fe36ef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-urlwatch/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-urlwatch/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,6 +37,8 @@ if {${name} ne ${subport}} {
</span>
pre-configure {
if { ${python.version} >= 30 } {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # convert to python3 using versioned 2to3-3.x as installed by python3x
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|^2to3|${prefix}/bin/2to3-${python.branch}|" ${worksrcpath}/convert-to-python3.sh
</span> system "cd ${worksrcpath} && ${worksrcpath}/convert-to-python3.sh"
}
}
</pre><pre style='margin:0'>
</pre>