<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/3f9a4bfc31e55150f5878e68237216c501cf5b49">https://github.com/macports/macports-ports/commit/3f9a4bfc31e55150f5878e68237216c501cf5b49</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3f9a4bfc31e55150f5878e68237216c501cf5b49
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed May 18 03:37:45 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> yt-dlp: Update to 2022.05.18
</span>---
net/youtube-dl/Portfile | 8 ++++----
net/youtube-dl/files/yt-dlp-config-location.patch | 22 +++++++++++-----------
net/youtube-dl/files/yt-dlp-update.patch | 6 +++---
3 files changed, 18 insertions(+), 18 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 368cf25ac5a..ede9dffe41e 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;'>@@ -35,11 +35,11 @@ if {${subport} eq ${name}} {
</span> }
subport yt-dlp {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- github.setup yt-dlp ${subport} 2022.04.08
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup yt-dlp ${subport} 2022.05.18
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 d65963f84988b02338534b14ba4793ab71f074dd \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 a9ea3753977dd82f051f0674fbdc3eb5ff49a67246f4bd3cac5745702828d1db \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 4524592
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 2e21f04dee626ffda5a9b74643c958f21c6b3902 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 59a0e89d79018070844c6301f7848594b746ca4857e7da14a5e6938a24e63172 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 4541851
</span>
dist_subdir ${subport}/${version}
distname ${subport}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/youtube-dl/files/yt-dlp-config-location.patch b/net/youtube-dl/files/yt-dlp-config-location.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index bc6346d7f36..a13562b6b58 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/youtube-dl/files/yt-dlp-config-location.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/youtube-dl/files/yt-dlp-config-location.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,17 +1,17 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- README.md.orig 2022-02-04 00:39:15.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ README.md 2022-02-07 09:45:16.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1067,7 +1067,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * `~/yt-dlp.conf.txt`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- README.md.orig 2022-05-17 22:37:36.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ README.md 2022-05-18 03:34:01.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1090,7 +1090,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> `%XDG_CONFIG_HOME%` defaults to `~/.config` if undefined. On windows, `%APPDATA%` generally points to `C:\Users\<user name>\AppData\Roaming` and `~` points to `%HOME%` if present, `%USERPROFILE%` (generally `C:\Users\<user name>`), or `%HOMEDRIVE%%HOMEPATH%`
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> -1. **System Configuration**: `/etc/yt-dlp.conf`
+1. **System Configuration**: `@PREFIX@/etc/yt-dlp.conf`
For example, with the following configuration file yt-dlp will always extract the audio, not copy the mtime, use a proxy and save all videos under `YouTube` directory in your home directory:
```
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- yt-dlp.1.orig 2022-02-04 00:39:18.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ yt-dlp.1 2022-02-07 09:45:16.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1075,7 +1075,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- yt-dlp.1.orig 2022-05-17 22:37:38.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ yt-dlp.1 2022-05-18 03:33:05.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1091,7 +1091,7 @@
</span> \f[C]%HOMEDRIVE%%HOMEPATH%\f[R]
.RE
.IP "5." 3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,9 +20,9 @@
</span> .PP
For example, with the following configuration file yt\-dlp will always
extract the audio, not copy the mtime, use a proxy and save all videos
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- yt_dlp/options.py.orig 2022-01-21 05:57:03.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ yt_dlp/options.py 2022-01-24 05:03:31.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -101,7 +101,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- yt_dlp/options.py.orig 2022-05-17 22:37:24.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ yt_dlp/options.py 2022-05-18 03:33:05.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -94,7 +94,7 @@
</span> yield add_config('Portable', get_executable_path())
yield add_config('Home', expand_path(root.parse_args()[0].paths.get('home', '')).strip())
yield add_config('User', None, user=True)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/youtube-dl/files/yt-dlp-update.patch b/net/youtube-dl/files/yt-dlp-update.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 2463a42ae90..a5ae3fc336f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/youtube-dl/files/yt-dlp-update.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/youtube-dl/files/yt-dlp-update.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- yt_dlp/update.py.orig 2022-02-04 00:38:56.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ yt_dlp/update.py 2022-02-07 09:47:30.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -54,7 +54,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- yt_dlp/update.py.orig 2022-05-17 22:37:24.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ yt_dlp/update.py 2022-05-18 03:36:07.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -35,7 +35,7 @@
</span> 'win_dir': 'Auto-update is not supported for unpackaged windows executable; Re-download the latest release',
'mac_dir': 'Auto-update is not supported for unpackaged MacOS executable; Re-download the latest release',
'source': 'You cannot update when running from source code; Use git to pull the latest changes',
</pre><pre style='margin:0'>
</pre>