Browse Source
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>
pull/196/head
B. Watson
3 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with
22 additions and
4 deletions
-
network/yt-dlp/plugin_loading.diff
-
network/yt-dlp/yt-dlp.SlackBuild
-
network/yt-dlp/yt-dlp.info
|
|
@ -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 |
|
|
@ -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," \ |
|
|
|
|
|
@ -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="" |
|
|
|