<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/a53525e95893fa14ae994c1cfb74e6757312c42e">https://github.com/macports/macports-ports/commit/a53525e95893fa14ae994c1cfb74e6757312c42e</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 a53525e uhd*: add experimental +python35 variant; addresses ticket https://trac.macports.org/ticket/52902 .
</span>a53525e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a53525e95893fa14ae994c1cfb74e6757312c42e
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Wed Dec 7 14:56:30 2016 -0500
<span style='display:block; white-space:pre;color:#404040;'> uhd*: add experimental +python35 variant; addresses ticket https://trac.macports.org/ticket/52902 .
</span>---
science/uhd/Portfile | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/uhd/Portfile b/science/uhd/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fdad5f8..0082398 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/uhd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/uhd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -120,23 +120,30 @@ default_variants +docs +examples +libusb +manual +test +manpages
</span>
# select Python to use; default to 2.7
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python34 description {Build using Python 2.7} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python34 conflicts python27 description {Build using Python 3.4} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python34 python35 description {Build using Python 2.7} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python34 conflicts python27 python35 description {Build using Python 3.4} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python27 python34 description {Build using Python 3.5 (experimental)} {}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python34]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python34] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python35]} {
</span> default_variants +python27
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python34]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "\n\nYou must select either the +python27 or +python34 variant.\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python34] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python35]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "\n\nYou must select one of the variants +python27 , +python34 , or +python35 .\n"
</span> return -code error "Invalid variant selection"
}
set PythonVersionNoDot ""
if {[variant_isset python27]} {
set PythonVersionNoDot "27"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {[variant_isset python34]} {
</span> set PythonVersionNoDot "34"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set PythonVersionNoDot "35"
</span> }
set PythonVersionWithDot [join [split ${PythonVersionNoDot} ""] "."]
</pre><pre style='margin:0'>
</pre>