From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4096B15808B for ; Thu, 15 Feb 2024 09:31:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 508672BC01A; Thu, 15 Feb 2024 09:30:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B8AD2BC01A for ; Thu, 15 Feb 2024 09:30:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2691034301B for ; Thu, 15 Feb 2024 09:30:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D0F5E95 for ; Thu, 15 Feb 2024 09:30:56 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1707989401.23b95ba64f7ef8da1ec8028c2db38d94475aab3d.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/yt-dlp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/yt-dlp/yt-dlp-9999.ebuild X-VCS-Directories: net-misc/yt-dlp/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 23b95ba64f7ef8da1ec8028c2db38d94475aab3d X-VCS-Branch: master Date: Thu, 15 Feb 2024 09:30:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 58b0b47f-6cc4-4adc-9a44-dc58ea67c47a X-Archives-Hash: 57ba42ef647d2f109b2637be6f82ce1e commit: 23b95ba64f7ef8da1ec8028c2db38d94475aab3d Author: Ionen Wolkens gentoo org> AuthorDate: Thu Feb 15 09:09:33 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Thu Feb 15 09:30:01 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23b95ba6 net-misc/yt-dlp: update live (now using hatchling) Closes: https://bugs.gentoo.org/924615 Signed-off-by: Ionen Wolkens gentoo.org> net-misc/yt-dlp/yt-dlp-9999.ebuild | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/net-misc/yt-dlp/yt-dlp-9999.ebuild b/net-misc/yt-dlp/yt-dlp-9999.ebuild index 3c581e629cd6..bbe29b97b747 100644 --- a/net-misc/yt-dlp/yt-dlp-9999.ebuild +++ b/net-misc/yt-dlp/yt-dlp-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=setuptools +DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{10..12} ) inherit bash-completion-r1 distutils-r1 git-r3 optfeature wrapper @@ -17,18 +17,21 @@ IUSE="man" RDEPEND=" dev-python/pycryptodome[${PYTHON_USEDEP}] - !net-misc/youtube-dl[-yt-dlp(-)]" -BDEPEND="man? ( virtual/pandoc )" + !net-misc/youtube-dl[-yt-dlp(-)] +" +BDEPEND=" + man? ( virtual/pandoc ) +" distutils_enable_tests pytest src_prepare() { distutils-r1_src_prepare - # adjust requires for pycryptodome and optional dependencies (bug #828466) - sed -ri requirements.txt \ - -e "s/^(pycryptodome)x/\1/" \ - -e "/^(brotli.*|certifi|mutagen|requests|urllib3|websockets)/d" || die + # adjust pycryptodome and drop optional dependencies (bug #828466) + sed -Ei pyproject.toml \ + -e 's/("pycryptodome)x/\1/' \ + -e '/"(brotli.*|certifi|mutagen|requests|urllib3|websockets)/d' || die } python_compile() {