summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-11-20 00:10:18 -0500
committerIonen Wolkens <ionen@gentoo.org>2023-11-20 00:10:21 -0500
commit0523a83f97c3adc1eb9f9ec52a067f4619987593 (patch)
treee42ecbe21320f097f673341f44fcfb2a11586d44
parentnet-misc/yt-dlp: stabilize 2023.11.16 ALLARCHES (amd64) (diff)
downloadgentoo-0523a83f97c3adc1eb9f9ec52a067f4619987593.tar.gz
gentoo-0523a83f97c3adc1eb9f9ec52a067f4619987593.tar.bz2
gentoo-0523a83f97c3adc1eb9f9ec52a067f4619987593.zip
net-misc/yt-dlp: drop vulnerable 2023.10.13
Bug: https://bugs.gentoo.org/917355 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--net-misc/yt-dlp/Manifest1
-rw-r--r--net-misc/yt-dlp/yt-dlp-2023.10.13.ebuild71
2 files changed, 0 insertions, 72 deletions
diff --git a/net-misc/yt-dlp/Manifest b/net-misc/yt-dlp/Manifest
index f9083a4548d2..68f59d1195f3 100644
--- a/net-misc/yt-dlp/Manifest
+++ b/net-misc/yt-dlp/Manifest
@@ -1,3 +1,2 @@
-DIST yt-dlp-2023.10.13.tar.gz 5525233 BLAKE2B 424ff7d1b3254e5ca1e86d38d08da351e53da040be5b4d6bc6cae502595af886d99d11f495365d66d87fcf4fa665d19dd42628c5115a622b85ccc1a9d8a617bc SHA512 b1f00fa3bb073a18e76478097712247c94ade588159bddb2472b8f210ffe4d9e72be529cd0990948219ab6df33d312426fb73e074b15013e098bafb737960311
DIST yt-dlp-2023.11.14.tar.gz 5566962 BLAKE2B 6e5ae0f492a28770e89396259aef680b3cb32994691499e95996ddb8b85ec83721726aadff033f147270204fdf7aa5cea216a7319ac2cc0ced93297822c97d9a SHA512 b83e6daad748524f6a2437684bad14a4bfdc33dc559c89c30b3cf41eb671ef3aac90d08d4c5429cff1bc3fea17f2dc8d7a28969d030870a45d0b1b650b69b52d
DIST yt-dlp-2023.11.16.tar.gz 5568397 BLAKE2B 9747ccbb032776df3de78c22084c67cca7913af6b29de9baedb7fe9048feb3e85db1cc1e694fcc563fecb674bad094193ff0a9cab081de9cbb006bce546c8753 SHA512 0d4219d5c2c883a2f10e43b5d93a807f84121f43f781cf494b30000c37d105facce9226bb60367c563e86cf17c4cbb2550ba31cfed6c3b1abb337cd1fb39e414
diff --git a/net-misc/yt-dlp/yt-dlp-2023.10.13.ebuild b/net-misc/yt-dlp/yt-dlp-2023.10.13.ebuild
deleted file mode 100644
index 1762c313c8eb..000000000000
--- a/net-misc/yt-dlp/yt-dlp-2023.10.13.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# 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_{10..12} )
-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"
-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
-
-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() {
- local EPYTEST_DESELECT=(
- # fails with FEATURES=distcc, bug #915614
- test/test_networking.py::TestYoutubeDLNetworking::test_proxy\[None-expected2\]
- )
-
- 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
-}