<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/49bf3695a648a706384a4177dc48108bb6fd5db1">https://github.com/macports/macports-ports/commit/49bf3695a648a706384a4177dc48108bb6fd5db1</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 49bf3695a64 youtube-dl: add python311 variant
</span>49bf3695a64 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 49bf3695a648a706384a4177dc48108bb6fd5db1
</span>Author: Mark Mentovai <mark@mentovai.com>
AuthorDate: Mon Nov 28 11:58:29 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> youtube-dl: 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>---
net/youtube-dl/Portfile | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/youtube-dl/Portfile b/net/youtube-dl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6baf8887ffb..b0a11952c86 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/youtube-dl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/youtube-dl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -93,12 +93,13 @@ variant ffmpeg description {Add ffmpeg dependency, used to extract audio} {
</span>
default_variants +ffmpeg
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python38 python39 python310 description {Use Python 3.7} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python37 python39 python310 description {Use Python 3.8} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python37 python38 python310 description {Use Python 3.9} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 conflicts python37 python38 python39 description {Use Python 3.10} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python38 python39 python310 python311 description {Use Python 3.7} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python37 python39 python310 python311 description {Use Python 3.8} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python37 python38 python310 python311 description {Use Python 3.9} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python37 python38 python39 python311 description {Use Python 3.10} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python37 python38 python39 python310 description {Use Python 3.11} {}
</span>
<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 +python310
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -110,6 +111,8 @@ if {[variant_isset python37]} {
</span> python.default_version 39
} elseif {[variant_isset python310]} {
python.default_version 310
<span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {[variant_isset python311]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.default_version 311
</span> }
depends_build-append port:py${python.version}-setuptools
</pre><pre style='margin:0'>
</pre>