<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f954a1bcc771b505bc87406e94702fd37e72c333">https://github.com/macports/macports-ports/commit/f954a1bcc771b505bc87406e94702fd37e72c333</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 f954a1bcc77 fontforge: Add +python310 variant, make default
</span>f954a1bcc77 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit f954a1bcc771b505bc87406e94702fd37e72c333
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Mon Jan 17 13:26:22 2022 +0100

<span style='display:block; white-space:pre;color:#404040;'>    fontforge: Add +python310 variant, make default
</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 90627a6ad78..9a06741faaa 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 description {Enable Python support (Python 3.7)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python38 python39 python310 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 description {Enable Python support
</span>                             "${frameworks_dir}/Python.framework/Versions/3.7/lib/pkgconfig"
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python37 python39 description {Enable Python support (Python 3.8)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python37 python39 python310 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 description {Enable Python support
</span>                             "${frameworks_dir}/Python.framework/Versions/3.8/lib/pkgconfig"
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python37 python38 description {Enable Python support (Python 3.9)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python37 python38 python310 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,6 +123,18 @@ variant python39 conflicts python37 python38 description {Enable Python support
</span>                             "${frameworks_dir}/Python.framework/Versions/3.9/lib/pkgconfig"
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python37 python38 python39 description {Enable Python support (Python 3.10)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-append      port:python310
</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.10" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            -DPYHOOK_INSTALL_DIR="${frameworks_dir}/Python.framework/Versions/3.10/lib/python3.10/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.10/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
     depends_lib-append      path:lib/pkgconfig/gtk+-3.0.pc:gtk3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -132,6 +144,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]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    default_variants-append +python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    default_variants-append +python310
</span> }
</pre><pre style='margin:0'>

</pre>