Archived
1
0
Fork 0

gnu: yt-dlp: Remove trailing #t.

* gnu/packages/video.scm (yt-dlp)[source]: Remove trailing #t from
snippet.
[arguments]: Remove trailing #t from phases.
This commit is contained in:
Efraim Flashner 2022-05-30 10:20:47 +03:00
parent d56506aad5
commit 1a8519dd01
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2481,8 +2481,7 @@ YouTube.com and many more sites.")
;;"yt-dlp.1" ;;"yt-dlp.1"
"completions/bash/yt-dlp" "completions/bash/yt-dlp"
"completions/fish/yt-dlp.fish" "completions/fish/yt-dlp.fish"
"completions/zsh/_yt-dlp")) "completions/zsh/_yt-dlp"))))))
#t))))
(arguments (arguments
(substitute-keyword-arguments (package-arguments youtube-dl) (substitute-keyword-arguments (package-arguments youtube-dl)
((#:tests? _) #t) ((#:tests? _) #t)
@ -2493,8 +2492,7 @@ YouTube.com and many more sites.")
(lambda _ (lambda _
(substitute* "yt_dlp/postprocessor/ffmpeg.py" (substitute* "yt_dlp/postprocessor/ffmpeg.py"
(("\\.get_param\\('ffmpeg_location'\\)" match) (("\\.get_param\\('ffmpeg_location'\\)" match)
(format #f "~a or '~a'" match (which "ffmpeg")))) (format #f "~a or '~a'" match (which "ffmpeg"))))))
#t))
(replace 'build-generated-files (replace 'build-generated-files
(lambda _ (lambda _
;; Avoid the yt-dlp.1 target, which requires pandoc. ;; Avoid the yt-dlp.1 target, which requires pandoc.
@ -2506,8 +2504,7 @@ YouTube.com and many more sites.")
(("'etc/") (("'etc/")
(string-append "'" prefix "/etc/")) (string-append "'" prefix "/etc/"))
(("'share/") (("'share/")
(string-append "'" prefix "/share/")))) (string-append "'" prefix "/share/"))))))
#t))
(delete 'install-completion) (delete 'install-completion)
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)