summaryrefslogtreecommitdiff
path: root/net-misc/yt-dlp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-20 00:15:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-20 00:15:26 +0000
commit1534d50aaf24272ec425fa439389ef7e1f7bf174 (patch)
treec48ca34f49e5c335c0d06b96d9f09d4a74e144d5 /net-misc/yt-dlp
parent2e512e4e32285f8c4eb19586d014cb9d31454ec9 (diff)
gentoo auto-resync : 20:02:2025 - 00:15:26
Diffstat (limited to 'net-misc/yt-dlp')
-rw-r--r--net-misc/yt-dlp/Manifest2
-rw-r--r--net-misc/yt-dlp/yt-dlp-2025.02.19.ebuild74
2 files changed, 76 insertions, 0 deletions
diff --git a/net-misc/yt-dlp/Manifest b/net-misc/yt-dlp/Manifest
index d29089e5269d..e795793adce9 100644
--- a/net-misc/yt-dlp/Manifest
+++ b/net-misc/yt-dlp/Manifest
@@ -1,6 +1,8 @@
DIST yt-dlp-2025.01.15.tar.gz 5819696 BLAKE2B f846d9bc7dec85667dc6ded40b9307731889fe1736920a40367de8f3ec3b1127f630d437792654baf21a2d83a3cd59757341cb6fbfe95f4b614e650d061c231d SHA512 20786cb0d16e58dc9fb2b2e35852b496862d79dfa42ebf92e430161c89863fc1d6247a2c1f9220e8555b20ea60ffbabb3e0d81521df98e47677f56ad1f4a68a1
DIST yt-dlp-2025.01.26.tar.gz 5827713 BLAKE2B 4c305ef5832334b4e21f6f65661392226cfa3c73627153db613f60ef9e8de10b1b795c1d12f81ffd5be435302c8622e0a6bf1a17297db3b3d7b7da957c524723 SHA512 dd3d29f46d897a5595248cb27a9e99447f2638afa449716a96b6712c6cfb53180201e9a6927c09a69eb6d704b8a47d9171c9fb13a674c87b79da0d473bc8bf50
+DIST yt-dlp-2025.02.19.tar.gz 5842393 BLAKE2B e35716ceb51739668ed1b9f263d643ef33de3fd4ed38d21cc02971f3f454484814b57f370730a91ea8e2c21995027b8f2e13caf6a41bbdfd0798f8856416d124 SHA512 91179c08f6d3eafc8b796671f513b7908a53632b2c926293bbe887cbb3843c6dc80c80de90a7f892b98e6dd5b77daeea10f02e5a2ee078855ce78227e4c9be4a
EBUILD yt-dlp-2025.01.15.ebuild 2177 BLAKE2B 2603679867045071d898b9d5c06d4bf4df3742ffeaaa77de109f52f944e777b5f243fdb8fcf0754f7dc18ce884510861c3c902bfd4c502584647aaf3c795b407 SHA512 31f9ddd9d0a4c4783b1d7b61cbda42f7eef12551bf756b73e5cb999f27fd25b059a21c26114865e29fdb0bee92fa8b52b1547c322fca66883be216d90a0d9e5c
EBUILD yt-dlp-2025.01.26.ebuild 2177 BLAKE2B 2603679867045071d898b9d5c06d4bf4df3742ffeaaa77de109f52f944e777b5f243fdb8fcf0754f7dc18ce884510861c3c902bfd4c502584647aaf3c795b407 SHA512 31f9ddd9d0a4c4783b1d7b61cbda42f7eef12551bf756b73e5cb999f27fd25b059a21c26114865e29fdb0bee92fa8b52b1547c322fca66883be216d90a0d9e5c
+EBUILD yt-dlp-2025.02.19.ebuild 2468 BLAKE2B c768b14f20c99d7299d92a687e905af83609246069039a4751452ebaf075484bb4e5b7577b0008ef3f9374f9ccc7438489a5e72c2457b88b624f8100b3c50e9f SHA512 75b2a351ab765d92679a387d8322b13044f592d7b2886bcf1850d8e6fcfab97e05af8a0bbb6c5246a083327555eef43ebd19c83bc6c6730a2aae4e86af44f1d0
EBUILD yt-dlp-9999.ebuild 2197 BLAKE2B 61f5b720a56c7d82289c8a056146410d4817137e3085215c913a6f765853ac7989587fb98fdcbd52fe2e729137f53a8923f0732ad59522954170102049dac973 SHA512 29f9b741292ddf8333a062827265e589f98d2b2f040b83458f6937846e3f070e577d2aeddca69684182cc176d1ef793e3fd287856ea2164007e6fb639eea209e
MISC metadata.xml 392 BLAKE2B d2aa6fc43f7f9038d320197a18107f15e56ed5e242e6c3cdc1b7111184580ab14fae8cbd16776794d207dd39ea0ca65975c08a54449f4cf90370ea95a66083d9 SHA512 867c61c1e41d7594decd5e10a2b45d934313cb751ba22356fc1ab61e0a40b2543847b195d20c7a39ba92370d8b3908e6f90d690915579b55808872efe8d3cebe
diff --git a/net-misc/yt-dlp/yt-dlp-2025.02.19.ebuild b/net-misc/yt-dlp/yt-dlp-2025.02.19.ebuild
new file mode 100644
index 000000000000..9782fc326317
--- /dev/null
+++ b/net-misc/yt-dlp/yt-dlp-2025.02.19.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+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="
+ https://github.com/yt-dlp/yt-dlp/releases/download/${PV}/${PN}.tar.gz
+ -> ${P}.tar.gz
+"
+S=${WORKDIR}/${PN}
+
+LICENSE="Unlicense"
+SLOT="0"
+# note that yt-dlp bumps are typically done straight-to-stable (unless there
+# was major/breaking changes) given website changes breaks it on a whim
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86 ~arm64-macos ~x64-macos"
+
+RDEPEND="
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ !net-misc/youtube-dl[-yt-dlp(-)]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # fails with FEATURES=network-sandbox
+ test/test_networking.py::TestHTTPRequestHandler::test_connect_timeout
+ # fails with FEATURES=distcc, bug #915614
+ test/test_networking.py::TestYoutubeDLNetworking::test_proxy\[None-expected2\]
+ # needs (optional) websockets-15 which is not stable yet, and
+ # it is not considered a big issue if websockets tests fails
+ # as not even advertised as a optfeature, so just skip for now
+ test/test_websockets.py::TestWebsSocketRequestHandlerConformance::test_verify_cert\[Websockets\]
+ )
+
+ 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
+ optfeature "decrypting cookies from Chromium-based browsers" dev-python/secretstorage
+
+ 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
+}