<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6387cbde4c6bda6eeeca621faba051625e1f5ee3">https://github.com/macports/macports-ports/commit/6387cbde4c6bda6eeeca621faba051625e1f5ee3</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 6387cbde4c6 vigra: add variant for Python 3.9
</span>6387cbde4c6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6387cbde4c6bda6eeeca621faba051625e1f5ee3
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Apr 17 08:22:12 2021 -0700
<span style='display:block; white-space:pre;color:#404040;'> vigra: add variant for Python 3.9
</span>---
graphics/vigra/Portfile | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/vigra/Portfile b/graphics/vigra/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 888b70db803..808865db84f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/vigra/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/vigra/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -98,7 +98,7 @@ if {[variant_isset valgrind]} {
</span> configure.args-append -DWITH_VALGRIND=NO
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python35 python36 python37 python38 description "Also build vigranumpy python27 bindings" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python35 python36 python37 python38 python39 description "Also build vigranumpy python27 bindings" {
</span> configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7 \
-DPYTHON_SPHINX=${prefix}/bin/sphinx-build-2.7
depends_lib-append port:boost \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -108,7 +108,7 @@ variant python27 conflicts python35 python36 python37 python38 description "Also
</span> require_active_variants boost python27
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python27 python36 python37 python38 description "Also build vigranumpy python35 bindings" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python27 python36 python37 python38 python39 description "Also build vigranumpy python35 bindings" {
</span> configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python3.5 \
-DPYTHON_SPHINX=${prefix}/bin/sphinx-build-3.5
depends_lib-append port:boost \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -118,7 +118,7 @@ variant python35 conflicts python27 python36 python37 python38 description "Also
</span> require_active_variants boost python35
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python27 python35 python37 python38 description "Also build vigranumpy python36 bindings" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python27 python35 python37 python38 python39 description "Also build vigranumpy python36 bindings" {
</span> configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python3.6 \
-DPYTHON_SPHINX=${prefix}/bin/sphinx-build-3.6
depends_lib-append port:boost \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -128,7 +128,7 @@ variant python36 conflicts python27 python35 python37 python38 description "Also
</span> require_active_variants boost python36
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python27 python35 python36 python38 description "Also build vigranumpy python37 bindings" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python27 python35 python36 python38 python39 description "Also build vigranumpy python37 bindings" {
</span> configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python3.7 \
-DPYTHON_SPHINX=${prefix}/bin/sphinx-build-3.7
depends_lib-append port:boost \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -138,7 +138,7 @@ variant python37 conflicts python27 python35 python36 python38 description "Also
</span> require_active_variants boost python37
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python27 python35 python36 python37 description "Also build vigranumpy python38 bindings" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python27 python35 python36 python37 python39 description "Also build vigranumpy python38 bindings" {
</span> configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python3.8 \
-DPYTHON_SPHINX=${prefix}/bin/sphinx-build-3.8
depends_lib-append port:boost \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -148,12 +148,22 @@ variant python38 conflicts python27 python35 python36 python37 description "Also
</span> require_active_variants boost python38
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python35] && ![variant_isset python36] && ![variant_isset python37] && ![variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python27 python35 python36 python37 python38 description "Also build vigranumpy python39 bindings" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python3.9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYTHON_SPHINX=${prefix}/bin/sphinx-build-3.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:boost \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python39 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py39-numpy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py39-sphinx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants boost python39
</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;'>+if {![variant_isset python27] && ![variant_isset python35] && ![variant_isset python36] && ![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39]} {
</span> # default for boost is python38
default_variants +python38
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python35] && ![variant_isset python36] && ![variant_isset python37] && ![variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] && ![variant_isset python35] && ![variant_isset python36] && ![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39]} {
</span> configure.args-append -DWITH_VIGRANUMPY=NO
}
</pre><pre style='margin:0'>
</pre>