<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/b8068079c301afbfe88d0080f238603aa5ada909">https://github.com/macports/macports-ports/commit/b8068079c301afbfe88d0080f238603aa5ada909</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 b806807 pybombs: better way to set default python version
</span>b806807 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b8068079c301afbfe88d0080f238603aa5ada909
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Thu Feb 27 15:29:13 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> pybombs: better way to set default python version
</span>---
science/pybombs/Portfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/pybombs/Portfile b/science/pybombs/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 290c116..181ec0d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/pybombs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/pybombs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup github 1.0
</span> name pybombs
set pythons_suffixes {27 35 36 37 38}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.default_version 37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set default_py_ver 37
</span>
categories science python
license GPL-3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -91,7 +91,7 @@ foreach this_py_version_no_dot ${pythons_suffixes} {
</span> }
if {${PY_VER_NO_DOT} == 0} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python[option python.default_version]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python${default_py_ver}
</span> }
# make sure the default variant is not deselected alone
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -105,6 +105,6 @@ foreach this_py_version_no_dot ${pythons_suffixes} {
</span> }
if {${PY_VER_NO_DOT} == 0} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "\n\nYou must select a Python variant; you cannot select -python[option python.default_version] alone.\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "\n\nYou must select a Python variant; you cannot select -python{default_py_ver} alone.\n"
</span> return -code error "Invalid variant selection."
}
</pre><pre style='margin:0'>
</pre>