<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f348573b36bcf543cf1b2e716db6cbeb75ceaf59">https://github.com/macports/macports-ports/commit/f348573b36bcf543cf1b2e716db6cbeb75ceaf59</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 f348573b36b avahi: add python310 variant
</span>f348573b36b is described below

<span style='display:block; white-space:pre;color:#808000;'>commit f348573b36bcf543cf1b2e716db6cbeb75ceaf59
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Thu Apr 14 20:26:32 2022 -0400

<span style='display:block; white-space:pre;color:#404040;'>    avahi: add python310 variant
</span>---
 net/avahi/Portfile | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/avahi/Portfile b/net/avahi/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6d24f5532bf..58cee274fe6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/avahi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/avahi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -203,6 +203,14 @@ variant python39 conflicts python27 python38 description {Build with Python 3.9}
</span>     configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.9/lib/pkgconfig
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python27 python38 description {Build with Python 3.10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.python        ${prefix}/bin/python3.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-append      port:dbus-python310 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            port:py310-gdbm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-append      port:py310-gobject3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.pkg_config_path-append ${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 x11 conflicts quartz {
     require_active_variants gtk3 x11
     require_active_variants gtk2 x11
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -219,12 +227,12 @@ if {![variant_isset quartz]} {
</span> if {![variant_isset gtk]} {
     default_variants-append +gtk3
 }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python38]} {
</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 python27] && ![variant_isset python38] && ![variant_isset python39]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    default_variants-append +python310
</span> }
 
 pre-configure {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {![variant_isset python39] && ![variant_isset python38] && ![variant_isset python27]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {![variant_isset python310] && ![variant_isset python39] && ![variant_isset python38] && ![variant_isset python27]} {
</span>         ui_error "avahi requires Python, please use a Python variant."
         return -code error
     }
</pre><pre style='margin:0'>

</pre>