public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/yt-dlp/
Date: Fri,  6 Jan 2023 22:04:39 +0000 (UTC)	[thread overview]
Message-ID: <1673042101.c5ab3c7b87f4871d7edaa6db899f6569983aa384.ionen@gentoo> (raw)

commit:     c5ab3c7b87f4871d7edaa6db899f6569983aa384
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  6 21:54:57 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jan  6 21:55:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ab3c7b

net-misc/yt-dlp: add 2023.1.6

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-misc/yt-dlp/Manifest               |  1 +
 net-misc/yt-dlp/yt-dlp-2023.1.6.ebuild | 64 ++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/net-misc/yt-dlp/Manifest b/net-misc/yt-dlp/Manifest
index 2aa9ed1a80cf..a3c83c7955b4 100644
--- a/net-misc/yt-dlp/Manifest
+++ b/net-misc/yt-dlp/Manifest
@@ -1,2 +1,3 @@
 DIST yt-dlp-2022.11.11.tar.gz 2470530 BLAKE2B 0d453d08678cccffccd7e4639fd66d08bead30d0cfae6f5a09d46d2a79a03a24b84b7c27d28a1f4b3bb03fdb96b8f9734e7f9910d02b9cd4a04bacdc3ff2c705 SHA512 be29154746f4c499eb25489be45ea759bf83f7aeb086a2a0e90a2bee6936c0d9362b1cd7af5eebed4f01f84a3542a9d5fa5746b647c349cad2e26b45cf4a861b
 DIST yt-dlp-2023.1.2.tar.gz 2524384 BLAKE2B f26fab8d2066670e89ae3c98feb1b23fd4eaa7b73ab2e7bf8c17f1c208f3b0eeb9b9df373fec0dcdedbf86f48f887580022507847ad3e2d0f2519925df689e19 SHA512 088a4ea8af83008872b4e123123c630178d550a31628b170bd1484f11e3dfb70a6b0c8b74d936a8b0893c8406d49e9f0c3dacf59d3855cce4ce22d26fb718709
+DIST yt-dlp-2023.1.6.tar.gz 2529382 BLAKE2B d7682346f6a783e0e7b95fc312bb0fffc2b1053ecdbf9b61b01402a8b6d73e41ca7809876d99a1e29d0bf708443444908e931715197c8c2c42807672a55eae61 SHA512 6817659dfa90bc9eecd60608e995097af381d598b4c094784b0cb467f16794f60ffcd90db89444cff2d86312ab1310f13c438def9fb05e3a2154c2e88af48670

diff --git a/net-misc/yt-dlp/yt-dlp-2023.1.6.ebuild b/net-misc/yt-dlp/yt-dlp-2023.1.6.ebuild
new file mode 100644
index 000000000000..c843dbe792a7
--- /dev/null
+++ b/net-misc/yt-dlp/yt-dlp-2023.1.6.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+inherit bash-completion-r1 distutils-r1 optfeature wrapper
+
+DESCRIPTION="youtube-dl fork with additional features and fixes"
+HOMEPAGE="https://github.com/yt-dlp/yt-dlp/"
+SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz"
+
+LICENSE="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~x64-macos"
+
+RDEPEND="
+	dev-python/pycryptodome[${PYTHON_USEDEP}]
+	!net-misc/youtube-dl[-yt-dlp(-)]"
+
+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|websockets)/d" || die
+}
+
+python_test() {
+	epytest -m 'not download'
+}
+
+python_install_all() {
+	dodoc README.md Changelog.md supportedsites.md
+	doman yt-dlp.1
+
+	dobashcomp completions/bash/yt-dlp
+
+	insinto /usr/share/fish/vendor_completions.d
+	doins completions/fish/yt-dlp.fish
+
+	insinto /usr/share/zsh/site-functions
+	doins completions/zsh/_yt-dlp
+
+	rm -r "${ED}"/usr/share/doc/yt_dlp || die
+
+	make_wrapper youtube-dl "yt-dlp --compat-options youtube-dl"
+}
+
+pkg_postinst() {
+	optfeature "various features (merging tracks, streamed content)" media-video/ffmpeg
+	has_version media-video/atomicparsley || # allow fallback but don't advertise
+		optfeature "embedding metadata thumbnails in MP4/M4A files" media-libs/mutagen
+
+	if [[ ! ${REPLACING_VERSIONS} ]]; then
+		elog 'A wrapper using "yt-dlp --compat-options youtube-dl" was installed'
+		elog 'as "youtube-dl". This is strictly for compatibility and it is'
+		elog 'recommended to use "yt-dlp" directly, it may be removed in the future.'
+	fi
+}


             reply	other threads:[~2023-01-06 22:04 UTC|newest]

Thread overview: 188+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-06 22:04 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-22  1:54 [gentoo-commits] repo/gentoo:master commit in: net-misc/yt-dlp/ Ionen Wolkens
2025-03-22  1:54 Ionen Wolkens
2025-02-20 18:55 Ionen Wolkens
2025-02-20 18:55 Ionen Wolkens
2025-02-19  6:54 Ionen Wolkens
2025-01-26  6:35 Ionen Wolkens
2025-01-26  6:35 Ionen Wolkens
2025-01-16  0:09 Ionen Wolkens
2025-01-13  1:29 Ionen Wolkens
2025-01-13  1:29 Ionen Wolkens
2024-12-24  0:28 Ionen Wolkens
2024-12-16  8:42 Ionen Wolkens
2024-12-13 14:28 Ionen Wolkens
2024-12-06 17:45 Ionen Wolkens
2024-12-06 17:45 Ionen Wolkens
2024-12-04  4:56 Ionen Wolkens
2024-12-04  4:56 Ionen Wolkens
2024-11-18  9:06 Ionen Wolkens
2024-11-18  9:06 Ionen Wolkens
2024-11-04  1:23 Ionen Wolkens
2024-11-04  1:23 Ionen Wolkens
2024-10-22  5:39 Ionen Wolkens
2024-10-22  5:39 Ionen Wolkens
2024-10-08  1:32 Ionen Wolkens
2024-10-08  1:32 Ionen Wolkens
2024-09-27 23:53 Ionen Wolkens
2024-09-12 11:01 Ionen Wolkens
2024-09-12 11:01 Ionen Wolkens
2024-08-06  9:26 Ionen Wolkens
2024-08-06  9:26 Ionen Wolkens
2024-08-01 22:57 Ionen Wolkens
2024-07-25  4:10 Ionen Wolkens
2024-07-25  4:10 Ionen Wolkens
2024-07-16 23:52 Ionen Wolkens
2024-07-09  9:13 Ionen Wolkens
2024-07-08  1:52 Ionen Wolkens
2024-07-08  1:52 Ionen Wolkens
2024-07-03  0:39 Ionen Wolkens
2024-07-02  1:55 Ionen Wolkens
2024-07-02  1:55 Ionen Wolkens
2024-06-06 13:20 Ionen Wolkens
2024-05-29 14:43 Jakov Smolić
2024-05-28  2:11 Ionen Wolkens
2024-05-26 22:44 Ionen Wolkens
2024-05-26 22:44 Ionen Wolkens
2024-04-27 12:11 Ionen Wolkens
2024-04-09 17:57 Ionen Wolkens
2024-03-31 21:30 Ionen Wolkens
2024-03-30 15:50 Ionen Wolkens
2024-03-18  7:54 Arthur Zamarin
2024-03-10 20:18 Ionen Wolkens
2024-02-15  9:30 Ionen Wolkens
2024-01-15 19:57 Sam James
2024-01-08 12:59 Ionen Wolkens
2024-01-06  8:16 Sam James
2023-12-30 22:36 Ionen Wolkens
2023-11-20  5:12 Ionen Wolkens
2023-11-20  5:12 Ionen Wolkens
2023-11-20  5:12 Ionen Wolkens
2023-11-16  0:43 Ionen Wolkens
2023-11-16  0:43 Ionen Wolkens
2023-11-14 23:52 Ionen Wolkens
2023-11-14 23:35 Ionen Wolkens
2023-10-25  7:58 Ionen Wolkens
2023-10-18 14:31 Ionen Wolkens
2023-10-14  0:01 Ionen Wolkens
2023-10-14  0:01 Ionen Wolkens
2023-10-12  5:25 Ionen Wolkens
2023-10-12  5:25 Ionen Wolkens
2023-10-10 20:20 Ionen Wolkens
2023-10-07  2:04 Ionen Wolkens
2023-10-07  2:04 Ionen Wolkens
2023-09-29 10:42 Ionen Wolkens
2023-09-24  7:02 Ionen Wolkens
2023-09-18 11:07 Ionen Wolkens
2023-08-09 18:14 Piotr Karbowski
2023-07-06 21:29 Ionen Wolkens
2023-07-06 21:29 Ionen Wolkens
2023-07-06 21:29 Ionen Wolkens
2023-06-26  8:19 Sam James
2023-06-22 10:11 Ionen Wolkens
2023-06-21  6:12 Ionen Wolkens
2023-05-07 17:42 Ionen Wolkens
2023-03-09 20:13 Ionen Wolkens
2023-03-05  2:27 Ionen Wolkens
2023-03-04  9:42 Ionen Wolkens
2023-03-04  9:42 Ionen Wolkens
2023-02-24  9:26 Ionen Wolkens
2023-02-17 22:58 Ionen Wolkens
2023-02-17 14:03 Ionen Wolkens
2023-02-13 15:59 Ionen Wolkens
2023-01-14 14:42 Ionen Wolkens
2023-01-11 11:26 Ionen Wolkens
2023-01-11 11:26 Ionen Wolkens
2023-01-02 15:31 Ionen Wolkens
2022-11-18  6:25 Ionen Wolkens
2022-11-11 11:39 Ionen Wolkens
2022-10-20 13:34 Ionen Wolkens
2022-10-12 13:47 Ionen Wolkens
2022-10-04  5:51 Ionen Wolkens
2022-09-17  8:42 Ionen Wolkens
2022-09-07  7:19 Ionen Wolkens
2022-09-01 14:12 Ionen Wolkens
2022-09-01 14:12 Ionen Wolkens
2022-08-19  8:12 Ionen Wolkens
2022-08-19  8:12 Ionen Wolkens
2022-08-18  6:55 Ionen Wolkens
2022-08-15  1:54 Ionen Wolkens
2022-08-09  1:54 Ionen Wolkens
2022-08-07 13:59 Ionen Wolkens
2022-07-25  6:11 Ionen Wolkens
2022-07-18  0:54 Ionen Wolkens
2022-07-11 22:57 Ionen Wolkens
2022-07-03  5:33 Ionen Wolkens
2022-07-03  5:33 Ionen Wolkens
2022-06-29  4:18 Ionen Wolkens
2022-06-28  6:13 Ionen Wolkens
2022-06-22  1:34 Ionen Wolkens
2022-06-16 13:16 Ionen Wolkens
2022-06-02 15:07 Ionen Wolkens
2022-06-02 15:07 Ionen Wolkens
2022-05-18  5:41 Ionen Wolkens
2022-04-18 14:38 Ionen Wolkens
2022-04-10 21:43 Ionen Wolkens
2022-04-08 17:20 Ionen Wolkens
2022-04-08 13:55 Ionen Wolkens
2022-04-08 13:55 Ionen Wolkens
2022-03-16 11:24 Ionen Wolkens
2022-03-14 11:43 Ionen Wolkens
2022-03-14 11:43 Ionen Wolkens
2022-03-12 20:38 Fabian Groffen
2022-03-09 14:50 Ionen Wolkens
2022-03-09 14:50 Ionen Wolkens
2022-03-09 12:53 Ionen Wolkens
2022-02-26 11:53 Arthur Zamarin
2022-02-22 19:25 Sam James
2022-02-22 19:25 Sam James
2022-02-16  2:57 Ionen Wolkens
2022-02-16  2:57 Ionen Wolkens
2022-02-05 23:39 Ionen Wolkens
2022-02-04  7:07 Ionen Wolkens
2022-02-04  7:07 Ionen Wolkens
2022-02-04  7:07 Ionen Wolkens
2022-02-03 19:36 Ionen Wolkens
2022-02-03 19:36 Ionen Wolkens
2022-02-03 19:36 Ionen Wolkens
2022-01-28  7:47 Ionen Wolkens
2022-01-21 14:26 Ionen Wolkens
2022-01-13  8:06 Ionen Wolkens
2021-12-31 14:24 Ionen Wolkens
2021-12-28 17:10 Ionen Wolkens
2021-12-27  2:54 Ionen Wolkens
2021-12-25  1:02 Ionen Wolkens
2021-12-16 19:11 Ionen Wolkens
2021-12-06 21:21 Ionen Wolkens
2021-12-06 20:21 Ionen Wolkens
2021-12-06 20:21 Ionen Wolkens
2021-12-01  0:59 Ionen Wolkens
2021-11-22 16:19 Ionen Wolkens
2021-11-17  9:16 Ionen Wolkens
2021-11-17  9:16 Ionen Wolkens
2021-11-17  6:57 Arthur Zamarin
2021-11-17  6:01 Arthur Zamarin
2021-11-16  1:26 Ionen Wolkens
2021-11-10  5:57 Ionen Wolkens
2021-11-09 12:55 Ionen Wolkens
2021-11-07  1:34 Sam James
2021-11-04 17:09 Sam James
2021-11-01 15:46 Sam James
2021-10-30 23:14 Ionen Wolkens
2021-10-30  9:14 Ionen Wolkens
2021-10-29 22:25 Ionen Wolkens
2021-10-28 23:23 Ionen Wolkens
2021-10-28 23:23 Ionen Wolkens
2021-10-22 22:43 Ionen Wolkens
2021-10-22 22:43 Ionen Wolkens
2021-10-22 22:43 Ionen Wolkens
2021-10-17  2:05 Ionen Wolkens
2021-10-16 22:47 Ionen Wolkens
2021-10-16 22:07 Sam James
2021-10-16 22:07 Sam James
2021-10-16 22:00 Sam James
2021-10-16 20:35 Piotr Karbowski
2021-09-27 21:18 Piotr Karbowski
2021-09-06 21:07 Piotr Karbowski
2021-08-24 21:02 Marek Szuba
2021-08-23 20:45 Piotr Karbowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1673042101.c5ab3c7b87f4871d7edaa6db899f6569983aa384.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox