<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/59d3a0585b7f8bc34ca43c966d25fac40da2ab7d">https://github.com/macports/macports-ports/commit/59d3a0585b7f8bc34ca43c966d25fac40da2ab7d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 59d3a0585b7f8bc34ca43c966d25fac40da2ab7d
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Thu Mar 10 14:32:02 2022 -0500

<span style='display:block; white-space:pre;color:#404040;'>    deluge: add python 39 310, default to 310
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/64793
</span>---
 net/deluge/Portfile | 74 ++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 48 insertions(+), 26 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/deluge/Portfile b/net/deluge/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2d12c4ea8ac..832e0ed56f6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/deluge/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/deluge/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,7 +50,7 @@ build.env           "PYTHON_CFLAGS=-I${prefix}/include -I${prefix}/include/boost
</span>                     "CFLAGS=-I${prefix}/include -I${prefix}/include/boost" \
                     CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python37 python38 description {Build for Python 2.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python38 description {Build for Python 2.7} {
</span>         require_active_variants libtorrent-rasterbar python27
         python.default_version 27
         depends_build-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,29 +72,7 @@ variant python27 conflicts python37 python38 description {Build for Python 2.7}
</span>                     port:py27-zopeinterface
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python27 python38 description {Build for Python 3.7} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        require_active_variants libtorrent-rasterbar python37
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        python.default_version 37
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-setuptools \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-wheel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-gobject3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-service_identity \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-twisted \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-asn1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-rencode \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-xdg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-openssl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-Pillow \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-mako \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-chardet \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-six \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-setproctitle \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py37-zopeinterface
</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 conflicts python27 python37 description {Build for Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python27 python310 description {Build for Python 3.8} {
</span>         require_active_variants libtorrent-rasterbar python38
         python.default_version 38
         depends_build-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -116,8 +94,52 @@ variant python38 conflicts python27 python37 description {Build for Python 3.8}
</span>                     port:py38-zopeinterface
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python37] && ![variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    default_variants    +python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python27 python310 description {Build for Python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        require_active_variants libtorrent-rasterbar python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        python.default_version 39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-setuptools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-wheel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-gobject3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-service_identity \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-twisted \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-asn1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-rencode \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-xdg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-Pillow \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-mako \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-chardet \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-six \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-setproctitle \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py39-zopeinterface
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python27 python39 description {Build for Python 3.10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        require_active_variants libtorrent-rasterbar python310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        python.default_version 310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-setuptools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-wheel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-gobject3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-service_identity \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-twisted \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-asn1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-rencode \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-xdg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-Pillow \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-mako \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-chardet \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-six \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-setproctitle \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py310-zopeinterface
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] && ![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    default_variants    +python310
</span> }
 
 python.link_binaries no
</pre><pre style='margin:0'>

</pre>