diff options
author | B. Watson <urchlay@slackware.uk> | 2023-02-22 14:48:43 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-25 09:18:10 +0700 |
commit | 4c8510862687c500361c756625dd6047cea6e52f (patch) | |
tree | 36e632801664ea436d9e8839e80d189b721baf69 /network/yt-dlp | |
parent | 741c2e345ef7bdfaec4c47c8d439a173ecc512c2 (diff) |
network/yt-dlp: Updated for version 2023.02.17.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/yt-dlp')
-rw-r--r-- | network/yt-dlp/plugin_loading.diff | 12 | ||||
-rw-r--r-- | network/yt-dlp/yt-dlp.SlackBuild | 8 | ||||
-rw-r--r-- | network/yt-dlp/yt-dlp.info | 6 |
3 files changed, 22 insertions, 4 deletions
diff --git a/network/yt-dlp/plugin_loading.diff b/network/yt-dlp/plugin_loading.diff new file mode 100644 index 0000000000000..74237eed87cc8 --- /dev/null +++ b/network/yt-dlp/plugin_loading.diff @@ -0,0 +1,12 @@ +diff --git a/yt_dlp/plugins.py b/yt_dlp/plugins.py +index 6eecdb4d0..85ff5f19b 100644 +--- a/yt_dlp/plugins.py ++++ b/yt_dlp/plugins.py +@@ -88,7 +88,7 @@ def _get_package_paths(*root_paths, containing_folder='plugins'): + candidate = path / parts + if candidate.is_dir(): + yield candidate +- elif path.suffix in ('.zip', '.egg', '.whl'): ++ elif path.suffix in ('.zip', '.egg', '.whl') and not path.is_dir(): + if parts in dirs_in_zip(path): + yield candidate diff --git a/network/yt-dlp/yt-dlp.SlackBuild b/network/yt-dlp/yt-dlp.SlackBuild index cb0fb5c1eaa6d..1e129153c60d6 100644 --- a/network/yt-dlp/yt-dlp.SlackBuild +++ b/network/yt-dlp/yt-dlp.SlackBuild @@ -12,12 +12,13 @@ # dependency for pipe-viewer (and might be useful as a dep for other # things), it has to exist on SBo. +# 20230222 bkw: updated for v2023.02.17 # 20230104 bkw: updated for v2023.01.02 cd $(dirname $0) ; CWD=$(pwd) PRGNAM=yt-dlp -VERSION=${VERSION:-2023.01.02} +VERSION=${VERSION:-2023.02.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -54,6 +55,11 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +# https://github.com/yt-dlp/yt-dlp/issues/6306, reported by KG Hammarlund. +# Not sure what triggers the issue (I don't have it on my system), but +# this will be in the next release anyway I think. +patch -p1 < $CWD/plugin_loading.diff + # hardcoded paths. sed -i -e "s,share/doc/yt_dlp,doc/$PRGNAM-$VERSION," \ -e "s,share/man,man," \ diff --git a/network/yt-dlp/yt-dlp.info b/network/yt-dlp/yt-dlp.info index 3c9a0c629b809..5a674cb2e3edc 100644 --- a/network/yt-dlp/yt-dlp.info +++ b/network/yt-dlp/yt-dlp.info @@ -1,8 +1,8 @@ PRGNAM="yt-dlp" -VERSION="2023.01.02" +VERSION="2023.02.17" HOMEPAGE="https://github.com/yt-dlp/yt-dlp" -DOWNLOAD="https://github.com/yt-dlp/yt-dlp/releases/download/2023.01.02/yt-dlp.tar.gz" -MD5SUM="e9a3aab30a8ed498ca94358bc1b234a8" +DOWNLOAD="https://github.com/yt-dlp/yt-dlp/releases/download/2023.02.17/yt-dlp.tar.gz" +MD5SUM="d83e85f83a4acd8283c1bf1543143915" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |