unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57173] [PATCH] gnu: yt-dlp: Update to 2022.08.08.
@ 2022-08-13 13:53 raingloom
  2022-08-13 14:19 ` bug#57173: " Tobias Geerinckx-Rice via Guix-patches via
  0 siblings, 1 reply; 5+ messages in thread
From: raingloom @ 2022-08-13 13:53 UTC (permalink / raw)
  To: 57173; +Cc: raingloom

* gnu/packages/video.scm (yt-dlp): Update to 2022.08.08.
  [source]: remove snippet, switch to git-fetch
---
 gnu/packages/video.scm | 23 ++++++-----------------
 1 file changed, 6 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6d0b5ccb58..94ef3f0468 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2486,26 +2486,15 @@ (define-public youtube-dl
 (define-public yt-dlp
   (package/inherit youtube-dl
     (name "yt-dlp")
-    (version "2022.07.18")
+    (version "2022.08.08")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/yt-dlp/yt-dlp/"
-                                  "releases/download/"
-                                  version "/yt-dlp.tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/yt-dlp/yt-dlp/")
+                    (commit version)))
               (sha256
                (base32
-                "1wmzfqhysx1mqdba4ikvm6nbahasihi4xgqwqad20y3vs701slyj"))
-              (snippet
-               #~(begin
-                   ;; Delete the pre-generated files, except for the man page
-                   ;; which requires 'pandoc' to build.
-                   (for-each delete-file
-                             (list "yt-dlp"
-                                   ;;pandoc is needed to generate
-                                   ;;"yt-dlp.1"
-                                   "completions/bash/yt-dlp"
-                                   "completions/fish/yt-dlp.fish"
-                                   "completions/zsh/_yt-dlp"))))))
+                "07qz1zdndlpki0asw35zk5hdjcwpl3n1g54nxg4yb1iykbyv7rll"))))
     (arguments
      (substitute-keyword-arguments (package-arguments youtube-dl)
        ((#:tests? _) #t)
-- 
2.37.1





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#57173: [PATCH] gnu: yt-dlp: Update to 2022.08.08.
  2022-08-13 13:53 [bug#57173] [PATCH] gnu: yt-dlp: Update to 2022.08.08 raingloom
@ 2022-08-13 14:19 ` Tobias Geerinckx-Rice via Guix-patches via
  2022-08-14 12:42   ` [bug#57173] " Csepp
  2022-09-21  9:20   ` [bug#57173] " Björn Höfling
  0 siblings, 2 replies; 5+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2022-08-13 14:19 UTC (permalink / raw)
  To: raingloom; +Cc: 57173-done, guix-patches

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

Hi raingloom,

raingloom 写道:
> * gnu/packages/video.scm (yt-dlp): Update to 2022.08.08.

Thanks!

Since yt-dlp was already up to date, I've turned this into a 
‘fetch from git’ patch with the following additions:

>   [source]: remove snippet, switch to git-fetch

  ^^ extraneous indentation; s/remove/Remove/.

When using GIT-FETCH, always set the file-name to something 
meaningful:

  (file-name (git-file-name name version))

> -                   ;; Delete the pre-generated files, except 
> for the man page
> -                   ;; which requires 'pandoc' to build.

OK, but then we do need to build it ourselves, not remove it.

Done in c2481b1bea56f2885110d5af0a6cff36a3d95933.

The new package works fine, but differs slightly: 
extractor/lazy_extractors.py is no longer installed.  What's up 
with that?

Leaving open for now,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#57173] [PATCH] gnu: yt-dlp: Update to 2022.08.08.
  2022-08-13 14:19 ` bug#57173: " Tobias Geerinckx-Rice via Guix-patches via
@ 2022-08-14 12:42   ` Csepp
  2023-09-02  3:58     ` bug#57173: " Vagrant Cascadian
  2022-09-21  9:20   ` [bug#57173] " Björn Höfling
  1 sibling, 1 reply; 5+ messages in thread
From: Csepp @ 2022-08-14 12:42 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: raingloom, 57173


Tobias Geerinckx-Rice <me@tobias.gr> writes:

> [[PGP Signed Part:Undecided]]
> Hi raingloom,
>
> raingloom 写道:
>> * gnu/packages/video.scm (yt-dlp): Update to 2022.08.08.
>
> Thanks!
>
> Since yt-dlp was already up to date, I've turned this into a ‘fetch
> from git’ patch with the following additions:
>
>>   [source]: remove snippet, switch to git-fetch
>
>  ^^ extraneous indentation; s/remove/Remove/.

Dang, I'll get the hang of the changelog format sometime this decade. :)

> When using GIT-FETCH, always set the file-name to something
> meaningful:
>
>  (file-name (git-file-name name version))
>
>> -                   ;; Delete the pre-generated files, except for
>> the man page
>> -                   ;; which requires 'pandoc' to build.
>
> OK, but then we do need to build it ourselves, not remove it.
>
> Done in c2481b1bea56f2885110d5af0a6cff36a3d95933.

I lazily assumed it was being generated already, I guess the comment was
misleading and I should have verified it.

> The new package works fine, but differs slightly:
> extractor/lazy_extractors.py is no longer installed.  What's up with
> that?

Not sure what that is or where it's used.  I'll try to take a look soon-ish.

> Leaving open for now,
>
> T G-R
>
> [[End of PGP Signed Part]]





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#57173] [PATCH] gnu: yt-dlp: Update to 2022.08.08.
  2022-08-13 14:19 ` bug#57173: " Tobias Geerinckx-Rice via Guix-patches via
  2022-08-14 12:42   ` [bug#57173] " Csepp
@ 2022-09-21  9:20   ` Björn Höfling
  1 sibling, 0 replies; 5+ messages in thread
From: Björn Höfling @ 2022-09-21  9:20 UTC (permalink / raw)
  To: 57173; +Cc: me, raingloom

[-- Attachment #1: Type: text/plain, Size: 408 bytes --]

On Sat, 13 Aug 2022 16:19:46 +0200
Tobias Geerinckx-Rice via Guix-patches via <guix-patches@gnu.org> wrote:

> Leaving open for now,

Hi raingloom, hi Tobias,

is there anything left here? Will you provide an updated patch with
some remainings, or can we close this here?

I'm just skimming through older patches and try to identify what needs
to be pushed vs can be closed.

Thanks,

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#57173: [PATCH] gnu: yt-dlp: Update to 2022.08.08.
  2022-08-14 12:42   ` [bug#57173] " Csepp
@ 2023-09-02  3:58     ` Vagrant Cascadian
  0 siblings, 0 replies; 5+ messages in thread
From: Vagrant Cascadian @ 2023-09-02  3:58 UTC (permalink / raw)
  To: Csepp, Tobias Geerinckx-Rice; +Cc: 57173-done

[-- Attachment #1: Type: text/plain, Size: 1246 bytes --]

On 2022-08-14, Csepp wrote:
> Tobias Geerinckx-Rice <me@tobias.gr> writes:
>> raingloom 写道:
>>> * gnu/packages/video.scm (yt-dlp): Update to 2022.08.08.
...
>> When using GIT-FETCH, always set the file-name to something
>> meaningful:
>>
>>  (file-name (git-file-name name version))
>>
>>> -                   ;; Delete the pre-generated files, except for
>>> the man page
>>> -                   ;; which requires 'pandoc' to build.
>>
>> OK, but then we do need to build it ourselves, not remove it.
>>
>> Done in c2481b1bea56f2885110d5af0a6cff36a3d95933.
>
> I lazily assumed it was being generated already, I guess the comment was
> misleading and I should have verified it.
>
>> The new package works fine, but differs slightly:
>> extractor/lazy_extractors.py is no longer installed.  What's up with
>> that?
>
> Not sure what that is or where it's used.  I'll try to take a look soon-ish.
>
>> Leaving open for now,

If there are other outstanding issues, might be best to open a new bug
for them at this point?

yt-dlp has been updated several times since, the latest being:

88d107b2b9bf72a628065a1475ecce7b49852c35 gnu: yt-dlp: Update to 2023.07.06.

Marking as done.

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-02  3:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-13 13:53 [bug#57173] [PATCH] gnu: yt-dlp: Update to 2022.08.08 raingloom
2022-08-13 14:19 ` bug#57173: " Tobias Geerinckx-Rice via Guix-patches via
2022-08-14 12:42   ` [bug#57173] " Csepp
2023-09-02  3:58     ` bug#57173: " Vagrant Cascadian
2022-09-21  9:20   ` [bug#57173] " Björn Höfling

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).