<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/32e34acba6ca6aa31c2a802d2abde5c3735b49a6">https://github.com/macports/macports-ports/commit/32e34acba6ca6aa31c2a802d2abde5c3735b49a6</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 32e34acba6c fontforge: Support python312 variant
</span>32e34acba6c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 32e34acba6ca6aa31c2a802d2abde5c3735b49a6
</span>Author: GONG Jie <gongjie.jie@gmail.com>
AuthorDate: Tue Sep 24 17:32:24 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> fontforge: Support python312 variant
</span>---
graphics/fontforge/Portfile | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 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 6847bc82012..10f256f8dec 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;'>@@ -107,7 +107,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 python38 conflicts python39 python310 python311 description {Enable Python support (Python 3.8)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python39 python310 python311 python312 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;'>@@ -119,7 +119,7 @@ variant python38 conflicts python39 python310 python311 description {Enable Pyth
</span> "${frameworks_dir}/Python.framework/Versions/3.8/lib/pkgconfig"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python38 python310 python311 description {Enable Python support (Python 3.9)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python38 python310 python311 python312 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;'>@@ -131,7 +131,7 @@ variant python39 conflicts python38 python310 python311 description {Enable Pyth
</span> "${frameworks_dir}/Python.framework/Versions/3.9/lib/pkgconfig"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 conflicts python38 python39 python311 description {Enable Python support (Python 3.10)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python38 python39 python311 python312 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;'>@@ -143,7 +143,7 @@ variant python310 conflicts python38 python39 python311 description {Enable Pyth
</span> "${frameworks_dir}/Python.framework/Versions/3.10/lib/pkgconfig"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python311 conflicts python38 python39 python310 description {Enable Python support (Python 3.11)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python38 python39 python310 python312 description {Enable Python support (Python 3.11)} {
</span> depends_lib-append port:python311
configure.args-replace -DENABLE_PYTHON_EXTENSION=False \
-DENABLE_PYTHON_EXTENSION=True
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -155,6 +155,18 @@ variant python311 conflicts python38 python39 python310 description {Enable Pyth
</span> "${frameworks_dir}/Python.framework/Versions/3.11/lib/pkgconfig"
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python312 conflicts python38 python39 python310 python311 description {Enable Python support (Python 3.12)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python312
</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.12" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYHOOK_INSTALL_DIR="${frameworks_dir}/Python.framework/Versions/3.12/lib/python3.12/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.12/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;'>@@ -165,6 +177,6 @@ variant gui description {Enable GUI support} {
</span> }
default_variants +gui
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310] && ![variant_isset python311]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +python311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310] && ![variant_isset python311] && ![variant_isset python312]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +python312
</span> }
</pre><pre style='margin:0'>
</pre>