<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/7a55799e98e3231ccf5b2a9e34da57a4a8260688">https://github.com/macports/macports-ports/commit/7a55799e98e3231ccf5b2a9e34da57a4a8260688</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 7a55799e98e fontforge: add python311 variant
</span>7a55799e98e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 7a55799e98e3231ccf5b2a9e34da57a4a8260688
</span>Author: Mark Mentovai <mark@mentovai.com>
AuthorDate: Tue Nov 22 12:39:58 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> fontforge: add python311 variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The python310 variant is still the default, as it’s early days for
</span><span style='display:block; white-space:pre;color:#404040;'> Python 3.11 and, in particular, Python 3.11 in MacPorts.
</span>---
graphics/fontforge/Portfile | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/fontforge/Portfile b/graphics/fontforge/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fbd2d5ea4c1..fcad81d9735 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/fontforge/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/fontforge/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -87,7 +87,7 @@ configure.args-append -DENABLE_GUI=False \
</span> -DENABLE_WRITE_PFM=False \
-DENABLE_X11=False
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python38 python39 python310 description {Enable Python support (Python 3.7)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python38 python39 python310 python311 description {Enable Python support (Python 3.7)} {
</span> depends_lib-append port:python37
configure.args-replace -DENABLE_PYTHON_EXTENSION=False \
-DENABLE_PYTHON_EXTENSION=True
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -99,7 +99,7 @@ variant python37 conflicts python38 python39 python310 description {Enable Pytho
</span> "${frameworks_dir}/Python.framework/Versions/3.7/lib/pkgconfig"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python37 python39 python310 description {Enable Python support (Python 3.8)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python37 python39 python310 python311 description {Enable Python support (Python 3.8)} {
</span> depends_lib-append port:python38
configure.args-replace -DENABLE_PYTHON_EXTENSION=False \
-DENABLE_PYTHON_EXTENSION=True
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -111,7 +111,7 @@ variant python38 conflicts python37 python39 python310 description {Enable Pytho
</span> "${frameworks_dir}/Python.framework/Versions/3.8/lib/pkgconfig"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python37 python38 python310 description {Enable Python support (Python 3.9)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python37 python38 python310 python311 description {Enable Python support (Python 3.9)} {
</span> depends_lib-append port:python39
configure.args-replace -DENABLE_PYTHON_EXTENSION=False \
-DENABLE_PYTHON_EXTENSION=True
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -123,7 +123,7 @@ variant python39 conflicts python37 python38 python310 description {Enable Pytho
</span> "${frameworks_dir}/Python.framework/Versions/3.9/lib/pkgconfig"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 conflicts python37 python38 python39 description {Enable Python support (Python 3.10)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python37 python38 python39 python311 description {Enable Python support (Python 3.10)} {
</span> depends_lib-append port:python310
configure.args-replace -DENABLE_PYTHON_EXTENSION=False \
-DENABLE_PYTHON_EXTENSION=True
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -135,6 +135,18 @@ variant python310 conflicts python37 python38 python39 description {Enable Pytho
</span> "${frameworks_dir}/Python.framework/Versions/3.10/lib/pkgconfig"
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python37 python38 python39 python310 description {Enable Python support (Python 3.11)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -DENABLE_PYTHON_EXTENSION=False \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DENABLE_PYTHON_EXTENSION=True
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -DENABLE_PYTHON_SCRIPTING=False \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DENABLE_PYTHON_SCRIPTING=True
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DPython3_EXECUTABLE="${prefix}/bin/python3.11" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYHOOK_INSTALL_DIR="${frameworks_dir}/Python.framework/Versions/3.11/lib/python3.11/site-packages"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${frameworks_dir}/Python.framework/Versions/3.11/lib/pkgconfig"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant gui description {Enable GUI support} {
PortGroup app 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -145,6 +157,6 @@ variant gui description {Enable GUI support} {
</span> }
default_variants +gui
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310] && ![variant_isset python311]} {
</span> default_variants-append +python310
}
</pre><pre style='margin:0'>
</pre>