From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +KR+NDvTeGaFCwEA62LTzQ:P1 (envelope-from ) for ; Mon, 24 Jun 2024 02:00:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +KR+NDvTeGaFCwEA62LTzQ (envelope-from ) for ; Mon, 24 Jun 2024 04:00:27 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=V7xelNbj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719194427; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=l6Ocl/sUgy+A3VpVvAdMoUjx6uetapNU5SYEbLcAFPg=; b=YLSGvuz/xDF9rVSiZmy3B/BLoUN0RDezZmwzlFDkLI+CWFKy+NfHxScM8eIGPx4RXxZO1t PYl2hYFnVA7uRabVC4SuIdFlwle7sNfLZot5AF5G2CwFQYeuM5H+M3cpJvqtymBpRq1nT+ z5Y7SXrL+6wU9DFcE3CZNRAxwR5F11UcOjHgN+c1lkdDcKx5qNHxEOUemYRiI4aL30Ra8e ml3pL2yyCU9oOM4AUnvh0v6QzpBZIOfpl6zgnk8L5k8HaZyFuYEKM3hm59/4UJUSQt7aNb XuEIpfyxx8REnDU0MilDEigzMd7cwWjLmqVSJBmNOxw/e87/tkTZg6lCDYPNHg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719194427; a=rsa-sha256; cv=none; b=DGyz4u8WOcUO4ygiVdvpkfoqZNCGNQs50dmiC/crwhXOpSCuVmuP7c9LHf+v3aIQEKnUh5 2NPsIsIB8mQR0ocVQle4hrbNQ3guz1K9c9Ez292ewufemann9HlN/sLWwUn5ZZqiS6WhwM nZgxLUxMbYn58C+/39c5RRKWrM896smzL1Xt+Jalw8CDlL4XMzA0c4O40iH8ERiQDhOPIX es92gPfdUz2j+6YtI3MwXm6vEs26x0gVbnjk+Dp5f416YrU5+0CMbX3WlJTEp2DE2urKQX qpAN94v4w0BT3G384Tb0Hm+JbEawIz31FZO/mEW3SqvGO20Vro0vbmaQjvCgCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=V7xelNbj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 980A21DF01 for ; Mon, 24 Jun 2024 04:00:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLZ00-0005gx-BZ; Sun, 23 Jun 2024 22:00:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLYzy-0005gN-4n for guix-patches@gnu.org; Sun, 23 Jun 2024 22:00:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLYzx-0002xu-R1 for guix-patches@gnu.org; Sun, 23 Jun 2024 22:00:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sLYzy-00061H-Gm for guix-patches@gnu.org; Sun, 23 Jun 2024 22:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71640] yt-dlp: Update to 2024-05-27 Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jun 2024 02:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71640 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Leo Famulari Cc: 71640@debbugs.gnu.org Received: via spool by 71640-submit@debbugs.gnu.org id=B71640.171919436423040 (code B ref 71640); Mon, 24 Jun 2024 02:00:02 +0000 Received: (at 71640) by debbugs.gnu.org; 24 Jun 2024 01:59:24 +0000 Received: from localhost ([127.0.0.1]:33109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLYzL-0005zX-SV for submit@debbugs.gnu.org; Sun, 23 Jun 2024 21:59:24 -0400 Received: from mail-qv1-f47.google.com ([209.85.219.47]:48390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLYzK-0005zC-4K for 71640@debbugs.gnu.org; Sun, 23 Jun 2024 21:59:23 -0400 Received: by mail-qv1-f47.google.com with SMTP id 6a1803df08f44-6ad86f3cc34so17930906d6.1 for <71640@debbugs.gnu.org>; Sun, 23 Jun 2024 18:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719194295; x=1719799095; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=l6Ocl/sUgy+A3VpVvAdMoUjx6uetapNU5SYEbLcAFPg=; b=V7xelNbjic9t0UVYb9Ly2FuLWTtPY2Un90OSyTPgSxas541JM/JrwUgbdyQXDXPZHR s8WUb5wjefGp2eQ9+lHXtbCM4njI/KmRCd6NoF77XXGNDk/8VV2nbz3eI1Tp3mL73F+y ki3GOlYsCA1mrHt3FLBj6AouD3QqrATFjgIdwAxWNre+eM58BvRABH9XsW8fXkW5pVwY IYq7EiVaT8sedNGcQNYc1QKPOg5a3kls96fkHnwh0zIkL6TpKC7+/6HkduiqJhqFSgbg vjx72K4fs/K0kEdbH+j/mx+gbPa2bF2JPJCpE9+K+LAxUJO1p9P9DQzPeP6QEWeicQWW 5x3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719194295; x=1719799095; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=l6Ocl/sUgy+A3VpVvAdMoUjx6uetapNU5SYEbLcAFPg=; b=hWuGYWj6QhwpAYWvTjLVYDUd9Bc4qoY46rBGCNUPTFVcTJYEPPhZLwkN1od217CZM+ I03RMgd7Dt4xqLolyOaQJywt5zCF2Uv2np1ckQzavvBMugv2V9J0OnGaJO32Y5chA5yC ZdtrAvTPwb/rwOIQBbqivtMpkj+lvjUN6cPfpfEGNX4QoQdW0eir0dyLM5m+j5Rg3Ncf LTnkfUlOCTffY1QY2sTjcj4u6ET1N34hgjESYNwMy5KZGQHlNbQMEuURLxcAobYnc6z1 AE32bm7AgNTYsZmx6LKEizA8I8+4nmsiSJkVCPDvGuc/YULThNkkjIeDbPf7wq3s4FKP eMzA== X-Gm-Message-State: AOJu0Yw152H/s5GfogYNLdhRGoEleo0h+w5eSrRtx7XUwQe3i7j3iSFG /gfwc4TtrXeWwCSql1cg3h/h6kg73EUFz0JhvFV9EV7iPvN6K+W3yWUt8UFb X-Google-Smtp-Source: AGHT+IH1k0cKryw4uV5tqYd+e13x2EyD8xHkiKIkzTSBSu9A+iNx9G4iWnHZsT1PFsHazqWteTkJOg== X-Received: by 2002:a0c:eb88:0:b0:6b5:4098:abe2 with SMTP id 6a1803df08f44-6b54098ad9amr36789476d6.52.1719194295315; Sun, 23 Jun 2024 18:58:15 -0700 (PDT) Received: from hurd (dsl-205-233-124-241.b2b2c.ca. [205.233.124.241]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b535f57f4dsm15717616d6.62.2024.06.23.18.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 18:58:14 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <79fa17151ff834161b71e2dbffe853ddff29a66d.1718763195.git.leo@famulari.name> (Leo Famulari's message of "Tue, 18 Jun 2024 22:13:15 -0400") References: <79fa17151ff834161b71e2dbffe853ddff29a66d.1718763195.git.leo@famulari.name> Date: Sun, 23 Jun 2024 21:58:13 -0400 Message-ID: <87cyo79k5m.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 980A21DF01 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.26 X-Spam-Score: -5.26 X-TUID: FUBAVVA5p23l Hi, Leo Famulari writes: > * gnu/packages/video.scm (yt-dlp): Update to 2024.05.27. > [build-system]: Use PYPROJECT-BUILD-SYSTEM. > [arguments]: Remove the custom build phase 'fix-the-data-directories', because > There is no longer a setup.py file to be amended. > [inputs]: Add PYTHON-REQUESTS-NEXT and PYTHON-URLLIB3-NEXT. > [native-inputs]: Add PYTHON-HATCHLING. > > Change-Id: I0c9e609817071346ca85d1f0966cf8994b2da2c5 > --- > gnu/packages/video.scm | 18 ++++++------------ > 1 file changed, 6 insertions(+), 12 deletions(-) > > diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm > index 76e4a8a02f..e3c20693fc 100644 > --- a/gnu/packages/video.scm > +++ b/gnu/packages/video.scm > @@ -3137,7 +3137,7 @@ (define-public youtube-dl > (define-public yt-dlp > (package > (name "yt-dlp") > - (version "2023.10.13") > + (version "2024.05.27") > (source > (origin > (method git-fetch) > @@ -3146,8 +3146,8 @@ (define-public yt-dlp > (commit version))) > (file-name (git-file-name name version)) > (sha256 > - (base32 "1cy8cpqwq6yfsbrnln3qqp9lsjckn20m6w7b890ha7jahyir5m1n")))) > - (build-system python-build-system) > + (base32 "13j6vg0kxfw3hppq7gzbz2d72g415071gh5arkwzj902rh0c7777")))) > + (build-system pyproject-build-system) > (arguments > `(#:tests? ,(not (%current-target-system)) > #:phases > @@ -3176,14 +3176,6 @@ (define-public yt-dlp > "PYTHON=python" > "yt-dlp" > "completions")))) > - (add-before 'install 'fix-the-data-directories > - (lambda* (#:key outputs #:allow-other-keys) > - (let ((prefix (assoc-ref outputs "out"))) > - (substitute* "setup.py" > - (("'etc/") > - (string-append "'" prefix "/etc/")) > - (("'share/") > - (string-append "'" prefix "/share/")))))) > (replace 'check > (lambda* (#:key tests? #:allow-other-keys) > (when tests? > @@ -3192,6 +3184,8 @@ (define-public yt-dlp > python-certifi > python-mutagen > python-pycryptodomex > + python-requests-next ; TODO Remove this special package > + python-urllib3-next ; TODO Remove this one too That's OK only because that's an application and these inputs are not propagated. I'm a bit worried the '-next' variants may be used by packagers elsewhere, but I guess this means we should give the python-team branch a spin. Also, I see you haven't used inheritance anywhere; I guess that's to make the transition to the latest package as painful as possible (simply deleting the old definitions). -- Thanks, Maxim