Skip to content

Commit

Permalink
yt-dlp: Update to 2024.11.18
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandesign committed Nov 27, 2024
1 parent 51a34ad commit e6f988c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions net/youtube-dl/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ if {${subport} eq ${name}} {
}

subport yt-dlp {
github.setup yt-dlp ${subport} 2024.11.04
github.setup yt-dlp ${subport} 2024.11.18
revision 0
checksums rmd160 81868df69e2e2e6c38defb09baac697c8174688a \
sha256 0ae3767c48d90d7fd6c5cb5a3d9fcb954441d984abf20c077d5f5bc0789b9aa4 \
size 5790714
checksums rmd160 9e7d39ef1b26ba210a11a1088defac0b9019fe31 \
sha256 d60cd68ddb12bfe3f443f83d5fe401088993e21c5362daeb4fb16ee39fc4b4dc \
size 5807807

dist_subdir ${subport}/${version}
distname ${subport}
Expand Down
20 changes: 10 additions & 10 deletions net/youtube-dl/files/yt-dlp-config-location.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- README.md.orig 2024-11-03 18:46:08.000000000 -0600
+++ README.md 2024-11-05 21:35:06.000000000 -0600
@@ -1124,9 +1124,9 @@
--- README.md.orig 2024-11-17 23:45:51.000000000 -0600
+++ README.md 2024-11-26 21:28:13.000000000 -0600
@@ -1125,9 +1125,9 @@

See also: [Notes about environment variables](#notes-about-environment-variables)
1. **System Configuration**:
Expand All @@ -13,7 +13,7 @@

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:
```
@@ -1913,8 +1913,8 @@
@@ -1914,8 +1914,8 @@
* `~/.yt-dlp/plugins/<package name>/yt_dlp_plugins/`
* `~/yt-dlp-plugins/<package name>/yt_dlp_plugins/`
* **System Plugins**
Expand All @@ -24,9 +24,9 @@
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/`
--- yt-dlp.1.orig 2024-10-22 00:04:38.000000000 -0500
+++ yt-dlp.1 2024-10-23 17:00:46.000000000 -0500
@@ -1216,11 +1216,11 @@
--- yt-dlp.1.orig 2024-11-17 23:45:53.000000000 -0600
+++ yt-dlp.1 2024-11-26 21:28:13.000000000 -0600
@@ -1217,11 +1217,11 @@
\f[B]System Configuration\f[R]:
.RS 4
.IP \[bu] 2
Expand All @@ -53,9 +53,9 @@
.RE
.RE
.IP "2." 3
--- yt_dlp/utils/_utils.py.orig 2024-11-03 18:45:48.000000000 -0600
+++ yt_dlp/utils/_utils.py 2024-11-05 21:35:06.000000000 -0600
@@ -4743,7 +4743,7 @@
--- yt_dlp/utils/_utils.py.orig 2024-11-17 23:45:34.000000000 -0600
+++ yt_dlp/utils/_utils.py 2024-11-26 21:28:13.000000000 -0600
@@ -4724,7 +4724,7 @@

def get_system_config_dirs(package_name):
# /etc/package_name
Expand Down
6 changes: 3 additions & 3 deletions net/youtube-dl/files/yt-dlp-update.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- yt_dlp/update.py.orig 2024-10-22 00:04:25.000000000 -0500
+++ yt_dlp/update.py 2024-10-23 17:00:46.000000000 -0500
@@ -118,7 +118,7 @@
--- yt_dlp/update.py.orig 2024-11-17 23:45:34.000000000 -0600
+++ yt_dlp/update.py 2024-11-26 21:28:13.000000000 -0600
@@ -117,7 +117,7 @@
for variant, name in {'win32_dir': 'Windows', 'darwin_dir': 'MacOS', 'linux_dir': 'Linux'}.items()},
'py2exe': 'py2exe is no longer supported by yt-dlp; This executable cannot be updated',
'source': 'You cannot update when running from source code; Use git to pull the latest changes',
Expand Down

0 comments on commit e6f988c

Please sign in to comment.