<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4e771e720118628cdc575f7c1667752ac7637366">https://github.com/macports/macports-ports/commit/4e771e720118628cdc575f7c1667752ac7637366</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 4e771e720118628cdc575f7c1667752ac7637366
</span>Author: David Gilman <davidgilman1@gmail.com>
AuthorDate: Mon Nov 6 21:17:16 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> opencolorio: remove obsolete python 3.6 and 3.7 variants
</span>---
graphics/opencolorio/Portfile | 40 +++++++---------------------------------
1 file changed, 7 insertions(+), 33 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/opencolorio/Portfile b/graphics/opencolorio/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index da0f81d9233..4aef71ac06b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/opencolorio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/opencolorio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -106,7 +106,7 @@ if {${configure.build_arch} in [list ppc ppc64]} {
</span> # OpenColorIO intentially installs Python module in lib
# see https://github.com/imageworks/OpenColorIO/blob/15e96c1f579d3640947a5fcb5ec831383cc3956e/src/pyglue/CMakeLists.txt#L85
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 description {Build the Python 2.7 bindings} conflicts python36 python37 python38 python39 python310 python311 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 description {Build the Python 2.7 bindings} conflicts python38 python39 python310 python311 {
</span> depends_lib-append port:python27
configure.args-append \
-DPYTHON=${prefix}/bin/python2.7
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -119,33 +119,7 @@ variant python27 description {Build the Python 2.7 bindings} conflicts python36
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 description {Build the Python 3.6 bindings} conflicts python27 python37 python38 python39 python310 python311 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python36
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DPYTHON=${prefix}/bin/python3.6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${frameworks_dir}/Python.framework/Versions/3.6/lib/python3.6/site-packages
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${prefix}/lib/python3.6/site-packages/PyOpenColorIO.so \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${frameworks_dir}/Python.framework/Versions/3.6/lib/python3.6/site-packages/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 description {Build the Python 3.7 bindings} conflicts python27 python36 python38 python39 python310 python311 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python37
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DPYTHON=${prefix}/bin/python3.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${frameworks_dir}/Python.framework/Versions/3.7/lib/python3.7/site-packages
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${prefix}/lib/python3.7/site-packages/PyOpenColorIO.so \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${frameworks_dir}/Python.framework/Versions/3.7/lib/python3.7/site-packages/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 description {Build the Python 3.8 bindings} conflicts python27 python36 python37 python39 python310 python311 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 description {Build the Python 3.8 bindings} conflicts python27 python39 python310 python311 {
</span> depends_lib-append port:python38
configure.args-append \
-DPYTHON=${prefix}/bin/python3.8
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -158,7 +132,7 @@ variant python38 description {Build the Python 3.8 bindings} conflicts python27
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 description {Build the Python 3.9 bindings} conflicts python27 python36 python37 python38 python310 python311 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 description {Build the Python 3.9 bindings} conflicts python27 python38 python310 python311 {
</span> depends_lib-append port:python39
configure.args-append \
-DPYTHON=${prefix}/bin/python3.9
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -171,7 +145,7 @@ variant python39 description {Build the Python 3.9 bindings} conflicts python27
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 description {Build the Python 3.10 bindings} conflicts python27 python36 python37 python38 python39 python311 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 description {Build the Python 3.10 bindings} conflicts python27 python38 python39 python311 {
</span> depends_lib-append port:python310
configure.args-append \
-DPYTHON=${prefix}/bin/python3.10
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -185,7 +159,7 @@ variant python310 description {Build the Python 3.10 bindings} conflicts python2
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python311 description {Build the Python 3.11 bindings} conflicts python27 python36 python37 python38 python39 python310 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 description {Build the Python 3.11 bindings} conflicts python27 python38 python39 python310 {
</span> depends_lib-append port:python311
configure.args-append \
-DPYTHON=${prefix}/bin/python3.11
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -198,11 +172,11 @@ variant python311 description {Build the Python 3.11 bindings} conflicts python2
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python36] && ![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310] && ![variant_isset python311]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] && ![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310] && ![variant_isset python311]} {
</span> default_variants +python311
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python36] && ![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310] && ![variant_isset python311]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] && ![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310] && ![variant_isset python311]} {
</span> configure.args-append \
-DOCIO_BUILD_PYGLUE=OFF
}
</pre><pre style='margin:0'>
</pre>