summaryrefslogtreecommitdiff
path: root/net-misc/yt-dlp
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/yt-dlp')
-rw-r--r--net-misc/yt-dlp/Manifest10
-rw-r--r--net-misc/yt-dlp/yt-dlp-2025.03.26.ebuild (renamed from net-misc/yt-dlp/yt-dlp-2025.02.19.ebuild)1
-rw-r--r--net-misc/yt-dlp/yt-dlp-2025.03.27.ebuild73
-rw-r--r--net-misc/yt-dlp/yt-dlp-2025.03.31.ebuild73
-rw-r--r--net-misc/yt-dlp/yt-dlp-9999.ebuild1
5 files changed, 153 insertions, 5 deletions
diff --git a/net-misc/yt-dlp/Manifest b/net-misc/yt-dlp/Manifest
index 86f69d17e286..2d024c8ecc25 100644
--- a/net-misc/yt-dlp/Manifest
+++ b/net-misc/yt-dlp/Manifest
@@ -1,4 +1,8 @@
-DIST yt-dlp-2025.02.19.tar.gz 5842393 BLAKE2B e35716ceb51739668ed1b9f263d643ef33de3fd4ed38d21cc02971f3f454484814b57f370730a91ea8e2c21995027b8f2e13caf6a41bbdfd0798f8856416d124 SHA512 91179c08f6d3eafc8b796671f513b7908a53632b2c926293bbe887cbb3843c6dc80c80de90a7f892b98e6dd5b77daeea10f02e5a2ee078855ce78227e4c9be4a
-EBUILD yt-dlp-2025.02.19.ebuild 2420 BLAKE2B aa87bfbc02c62dffcc5fbc5711e59c9a49f9ad9869b1f82ba7eb61ed1f569c6668bc263cdbf5e83eb5f2327a91e1b0ec75bac3251f7d21591ddb1123e574dbe2 SHA512 8129eb5a482a97ac44ab5ce796fcaee1a297fc433016a34fcb6a5ef2a65b2a45aa6b4e81bc8d824df380375b2928ad4d8873bf4404d7f400ca7e036cc6532123
-EBUILD yt-dlp-9999.ebuild 2440 BLAKE2B 54ec3a69363bad6385e63fbf29994d9b0885762e1a08f15c3326298cf06724164a082e4f346b56c7b5fe31498c7c472613318af4dc59b2667d3c32325b2a2959 SHA512 ec6ddabd3970f6e474df85c5e3057021ba3d919f0f7cdaf0d43a668554538a967a6fc3ae67596e87cf888a9d39392a1b7671709904cec053c5c2167556ed2cc2
+DIST yt-dlp-2025.03.26.tar.gz 5908282 BLAKE2B bb14fb170a8be5b544dc3be3102a459d8ed33f6ffa41f3ffe987f129d89320d359cb29e53c4c10fc7e7969d8445728f6f98e49fa513f927a659dbec66a7fabc4 SHA512 c10380b738a44d2345b5e4b872dafd6272f00c2e5122117e35ed08c5488dbd697bf92c20da6f62dd6db81baf7acd4b321adff323c065cb7839645cfeaf63648c
+DIST yt-dlp-2025.03.27.tar.gz 5909156 BLAKE2B b2dbd481277a582818998dc97785f8cebc9cefc8ce71ef498eb96a4f7a86d9b482cd059fcb6a7664c64b508be0ac6bacf13c7a376ed91e20166ff777088a2f8c SHA512 565f788752f51cce2a2273ba6af345c7fd10700b8ce86bdce82550874a5f1cba75a740ed3ae67cb0c61448ef590c7dec4fdc7012c44c43ae20346de88775dff6
+DIST yt-dlp-2025.03.31.tar.gz 5918295 BLAKE2B 65027958db5084916c67c34d5e9f4794785e97a70d56658859c1a69c42e524aaba39429659d64b1d666d8792ae89ebc7742b2173c91933ddddbd8e8455487507 SHA512 d517cba7d05e643c4977d2ee4b29c820b6ada6652ae8dabd066eae9764df0d3360cbfdd60c567043d0582f33d9a48d33b0449478867bebd932fedb6fcca995c9
+EBUILD yt-dlp-2025.03.26.ebuild 2386 BLAKE2B 38fb61861b043396dd76896a8327de49453263be948dfe299c5d2edddb9153c2ac936cdedc74cf457b6e12bad9fee3e9d03c04aaccab31a733407bdc55f9b692 SHA512 1686d50efe620ad13dd37db9ca3ee76b674a30325a41872eb2a787e6fa8304c67fa435a266a6f7e8f546dbb1963abd1de945f8d7affdf1a8e49332bd5760dc74
+EBUILD yt-dlp-2025.03.27.ebuild 2386 BLAKE2B 38fb61861b043396dd76896a8327de49453263be948dfe299c5d2edddb9153c2ac936cdedc74cf457b6e12bad9fee3e9d03c04aaccab31a733407bdc55f9b692 SHA512 1686d50efe620ad13dd37db9ca3ee76b674a30325a41872eb2a787e6fa8304c67fa435a266a6f7e8f546dbb1963abd1de945f8d7affdf1a8e49332bd5760dc74
+EBUILD yt-dlp-2025.03.31.ebuild 2386 BLAKE2B 38fb61861b043396dd76896a8327de49453263be948dfe299c5d2edddb9153c2ac936cdedc74cf457b6e12bad9fee3e9d03c04aaccab31a733407bdc55f9b692 SHA512 1686d50efe620ad13dd37db9ca3ee76b674a30325a41872eb2a787e6fa8304c67fa435a266a6f7e8f546dbb1963abd1de945f8d7affdf1a8e49332bd5760dc74
+EBUILD yt-dlp-9999.ebuild 2406 BLAKE2B 124090ca299901d902fbfedb2f85a9a909878539bb7bbecbceae45b9f32b748733af66ee1cadfb550cb198f633f7c738b5d9cff60fd08f16a2d9b952045aa30e SHA512 523a86be871c8665dcb9c387b25cd3976c62376ffe8b1ecfea0c68034b03ed4ddd08980fa9647ce94f820e76cc63b04d335ff477627f4e5bb497181cc8adbfce
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.03.26.ebuild
index 9b9eb962a869..a57a8f5167a7 100644
--- a/net-misc/yt-dlp/yt-dlp-2025.02.19.ebuild
+++ b/net-misc/yt-dlp/yt-dlp-2025.03.26.ebuild
@@ -23,7 +23,6 @@ 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
diff --git a/net-misc/yt-dlp/yt-dlp-2025.03.27.ebuild b/net-misc/yt-dlp/yt-dlp-2025.03.27.ebuild
new file mode 100644
index 000000000000..a57a8f5167a7
--- /dev/null
+++ b/net-misc/yt-dlp/yt-dlp-2025.03.27.ebuild
@@ -0,0 +1,73 @@
+# 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 pypy3_11 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}]
+"
+
+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\]
+ # websockets tests break easily depending on dev-python/websockets
+ # version and, as far as I know, most users do not use/need it --
+ # thus being neither in RDEPEND nor optfeature (bug #940630,#950030)
+ test/test_websockets.py
+ )
+
+ 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
+}
diff --git a/net-misc/yt-dlp/yt-dlp-2025.03.31.ebuild b/net-misc/yt-dlp/yt-dlp-2025.03.31.ebuild
new file mode 100644
index 000000000000..a57a8f5167a7
--- /dev/null
+++ b/net-misc/yt-dlp/yt-dlp-2025.03.31.ebuild
@@ -0,0 +1,73 @@
+# 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 pypy3_11 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}]
+"
+
+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\]
+ # websockets tests break easily depending on dev-python/websockets
+ # version and, as far as I know, most users do not use/need it --
+ # thus being neither in RDEPEND nor optfeature (bug #940630,#950030)
+ test/test_websockets.py
+ )
+
+ 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
+}
diff --git a/net-misc/yt-dlp/yt-dlp-9999.ebuild b/net-misc/yt-dlp/yt-dlp-9999.ebuild
index 5e48f1d170d0..c0523c906e61 100644
--- a/net-misc/yt-dlp/yt-dlp-9999.ebuild
+++ b/net-misc/yt-dlp/yt-dlp-9999.ebuild
@@ -17,7 +17,6 @@ IUSE="man"
RDEPEND="
dev-python/pycryptodome[${PYTHON_USEDEP}]
- !net-misc/youtube-dl[-yt-dlp(-)]
"
BDEPEND="
man? ( virtual/pandoc )