<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/446e1cc439a8024d8e9b7d7e95756331d9a05856">https://github.com/macports/macports-ports/commit/446e1cc439a8024d8e9b7d7e95756331d9a05856</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 446e1cc439a yt-dlp: Update to 2024.04.09
</span>446e1cc439a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 446e1cc439a8024d8e9b7d7e95756331d9a05856
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Tue Apr 16 11:39:22 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> yt-dlp: Update to 2024.04.09
</span>---
net/youtube-dl/Portfile | 8 +--
net/youtube-dl/files/yt-dlp-config-location.patch | 69 ++++++++++++-----------
net/youtube-dl/files/yt-dlp-update.patch | 6 +-
3 files changed, 43 insertions(+), 40 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 4b26a6f951d..a43645d39b5 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;'>@@ -37,11 +37,11 @@ if {${subport} eq ${name}} {
</span> }
subport yt-dlp {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- github.setup yt-dlp ${subport} 2024.03.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup yt-dlp ${subport} 2024.04.09
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 98f7edf1a422b0be6e4a5606edaa94c67282be3a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 1db8eade9e860543b655f5f973e26727ac2cc20874dc6fed9a3e78a4a05ee989 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 5515436
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 b1d470b6ee5db207e3db2f165345814447acfaf1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 59d3caed5cc899e486a7b8873f6143b6a1d22c5b5c05009b709ca0104f5d9eed \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 5589808
</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 9b13203a307..fd9ef01c77f 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,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- README.md.orig 2024-03-10 14:41:57.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ README.md 2024-03-10 20:54:08.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1100,9 +1100,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- README.md.orig 2024-04-09 12:05:38.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ README.md 2024-04-16 10:17:27.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1118,9 +1118,9 @@
</span>
See also: [Notes about environment variables](#notes-about-environment-variables)
1. **System Configuration**:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,7 +13,7 @@
</span>
E.g. 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;'>-@@ -1860,8 +1860,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1880,8 +1880,8 @@
</span> * `~/.yt-dlp/plugins/<package name>/yt_dlp_plugins/`
* `~/yt-dlp-plugins/<package name>/yt_dlp_plugins/`
* **System Plugins**
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,35 +24,38 @@
</span> 2. **Executable location**: Plugin packages can similarly be installed in a `yt-dlp-plugins` directory under the executable location (recommended for portable installations):
* Binary: where `<root-dir>/yt-dlp.exe`, `<root-dir>/yt-dlp-plugins/<package name>/yt_dlp_plugins/`
* Source: where `<root-dir>/yt_dlp/__main__.py`, `<root-dir>/yt-dlp-plugins/<package name>/yt_dlp_plugins/`
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- yt-dlp.1.orig 2024-03-10 14:41:58.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ yt-dlp.1 2024-03-10 20:54:09.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1267,9 +1267,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- See also: [Notes about environment variables](#notes-about-environment-variables)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1. **System Configuration**:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- * \[ga]/etc/yt-dlp.conf\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- * \[ga]/etc/yt-dlp/config\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- * \[ga]/etc/yt-dlp/config.txt\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * \[ga]@PREFIX@/etc/yt-dlp.conf\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * \[ga]@PREFIX@/etc/yt-dlp/config\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * \[ga]@PREFIX@/etc/yt-dlp/config.txt\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- E.g. with the following configuration file yt-dlp will always extract the audio, not copy the mtime, use a proxy and save all videos under \[ga]YouTube\[ga] directory in your home directory:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- \f[R]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2636,8 +2636,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * \[ga]\[ti]/.yt-dlp/plugins/<package name>/yt_dlp_plugins/\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * \[ga]\[ti]/yt-dlp-plugins/<package name>/yt_dlp_plugins/\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * **System Plugins**
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- * \[ga]/etc/yt-dlp/plugins/<package name>/yt_dlp_plugins/\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- * \[ga]/etc/yt-dlp-plugins/<package name>/yt_dlp_plugins/\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * \[ga]@PREFIX@/etc/yt-dlp/plugins/<package name>/yt_dlp_plugins/\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * \[ga]@PREFIX@/etc/yt-dlp-plugins/<package name>/yt_dlp_plugins/\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 2. **Executable location**: Plugin packages can similarly be installed in a \[ga]yt-dlp-plugins\[ga] directory under the executable location (recommended for portable installations):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * Binary: where \[ga]<root-dir>/yt-dlp.exe\[ga], \[ga]<root-dir>/yt-dlp-plugins/<package name>/yt_dlp_plugins/\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * Source: where \[ga]<root-dir>/yt_dlp/__main__.py\[ga], \[ga]<root-dir>/yt-dlp-plugins/<package name>/yt_dlp_plugins/\[ga]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- yt_dlp/utils/_utils.py.orig 2024-03-10 14:41:19.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ yt_dlp/utils/_utils.py 2024-03-10 20:54:09.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -4665,7 +4665,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- yt-dlp.1.orig 2024-04-09 12:05:41.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ yt-dlp.1 2024-04-16 10:18:37.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1201,11 +1201,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \f[B]System Configuration\f[R]:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .RS 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .IP \[bu] 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-\f[C]/etc/yt-dlp.conf\f[R]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++\f[C]@PREFIX@/etc/yt-dlp.conf\f[R]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .IP \[bu] 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-\f[C]/etc/yt-dlp/config\f[R]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++\f[C]@PREFIX@/etc/yt-dlp/config\f[R]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .IP \[bu] 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-\f[C]/etc/yt-dlp/config.txt\f[R]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++\f[C]@PREFIX@/etc/yt-dlp/config.txt\f[R]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .RE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .PP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ E.g.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3191,9 +3191,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \f[B]System Plugins\f[R]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .RS 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .IP \[bu] 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-\f[C]/etc/yt-dlp/plugins/<package name>/yt_dlp_plugins/\f[R]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++\f[C]@PREFIX@/etc/yt-dlp/plugins/<package name>/yt_dlp_plugins/\f[R]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .IP \[bu] 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-\f[C]/etc/yt-dlp-plugins/<package name>/yt_dlp_plugins/\f[R]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++\f[C]@PREFIX@/etc/yt-dlp-plugins/<package name>/yt_dlp_plugins/\f[R]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .RE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .RE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .IP "2." 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- yt_dlp/utils/_utils.py.orig 2024-04-09 12:03:56.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ yt_dlp/utils/_utils.py 2024-04-16 10:19:50.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -4689,7 +4689,7 @@
</span>
def get_system_config_dirs(package_name):
# /etc/package_name
<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 68232352825..c9ddb9e5cde 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,10 +1,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- yt_dlp/update.py.orig 2023-11-15 18:02:06.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ yt_dlp/update.py 2023-11-18 12:08:56.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- yt_dlp/update.py.orig 2024-04-09 12:03:56.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ yt_dlp/update.py 2024-04-16 10:48:35.000000000 -0500
</span> @@ -114,7 +114,7 @@
**{variant: f'Auto-update is not supported for unpackaged {name} executable; Re-download the latest release'
for variant, name in {'win32_dir': 'Windows', 'darwin_dir': 'MacOS', 'linux_dir': 'Linux'}.items()},
'source': 'You cannot update when running from source code; Use git to pull the latest changes',
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- 'unknown': 'You installed yt-dlp with a package manager or setup.py; Use that to update',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 'unknown': 'You installed yt-dlp from a manual build or with a package manager; Use that to update',
</span> + 'unknown': 'You installed yt-dlp with MacPorts; Use "sudo port selfupdate && sudo port upgrade yt-dlp" to update. If MacPorts does not have the latest version you can request an update at https://trac.macports.org/newticket?type=update&port=yt-dlp&cc=ryandesign&summary=yt-dlp:%20Update%20to%20latest%20version',
'other': 'You are using an unofficial build of yt-dlp; Build the executable again',
}
</pre><pre style='margin:0'>
</pre>