<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/493ffa29839dfd1dee572ae55499176536c821f9">https://github.com/macports/macports-ports/commit/493ffa29839dfd1dee572ae55499176536c821f9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 493ffa29839dfd1dee572ae55499176536c821f9
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Fri Feb 21 11:16:39 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> Python PG: fix appending of 'm' suffix to be just 3.0 <= PyVer <= 3.7
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Noted in: https://trac.macports.org/ticket/60104
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Some binaries might need to be rebuilt for this change to take effect.
</span>---
_resources/port1.0/group/python-1.0.tcl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/python-1.0.tcl b/_resources/port1.0/group/python-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 7556158..d5cc615 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/python-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/python-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -292,7 +292,9 @@ proc python_get_defaults {var} {
</span> # look for "${inc_dir}*" and pick the first one found;
# make assumptions if none are found
if {[catch {set inc_dirs [glob ${inc_dir}*]}]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${python.version} < 30} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # append 'm' suffix if 30 <= PyVer <= 37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Py27- and Py38+ do not use this suffix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} < 30 || ${python.version} > 37} {
</span> return ${inc_dir}
} else {
return ${inc_dir}m
</pre><pre style='margin:0'>
</pre>