summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-02-05 17:27:41 -0500
committerIonen Wolkens <ionen@gentoo.org>2022-02-05 18:38:00 -0500
commitaa0e98fdb47c02e703a5b799e7ce65f9508b869a (patch)
tree4f46228fbb24613cd23c59c40fda7e2e7b49df68 /net-misc
parentgames-strategy/naev: drop 0.9.1 (diff)
downloadgentoo-aa0e98fdb47c02e703a5b799e7ce65f9508b869a.tar.gz
gentoo-aa0e98fdb47c02e703a5b799e7ce65f9508b869a.tar.bz2
gentoo-aa0e98fdb47c02e703a5b799e7ce65f9508b869a.zip
net-misc/yt-dlp: drop 2022.1.21
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/yt-dlp/Manifest1
-rw-r--r--net-misc/yt-dlp/yt-dlp-2022.1.21.ebuild74
2 files changed, 0 insertions, 75 deletions
diff --git a/net-misc/yt-dlp/Manifest b/net-misc/yt-dlp/Manifest
index 602e46b2221d..8c615148fb10 100644
--- a/net-misc/yt-dlp/Manifest
+++ b/net-misc/yt-dlp/Manifest
@@ -1,2 +1 @@
-DIST yt-dlp-2022.1.21.tar.gz 2160713 BLAKE2B 30ed1c7a317318ca6a6ee183ba8e4396420eb090ddacc64ddde2bb4077c7c45b01c00caca90d1b8be501f90c71407e27d6ef847fdbfea8bed488771f9b59bbe1 SHA512 5844d49dbf50842d4d51dbb00c16efea816322888d16a8dbce16f976f0dd1625ec8243fcdc07e721180a2f02cf14ebaa0d83a1437e331b4aa68c404db3f1e9f4
DIST yt-dlp-2022.2.4.tar.gz 2178642 BLAKE2B 2e6c11bb9fbc30b725dc26db727500c33af944d16fbc46be8fb35a75ab4f5c09ca0c8754f075b9739ca9d47e9b409f8d533c03b417217344f8cac1ec45968b51 SHA512 6bb6bee6f748147a566394bbe0b69781ab415398582cb8e88a49b61a5dd106e666b0429c8f4f6483bc4af0363e88eb95c5159457b7049cc11a2c99a6495c6895
diff --git a/net-misc/yt-dlp/yt-dlp-2022.1.21.ebuild b/net-misc/yt-dlp/yt-dlp-2022.1.21.ebuild
deleted file mode 100644
index a9f9a75ef095..000000000000
--- a/net-misc/yt-dlp/yt-dlp-2022.1.21.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit bash-completion-r1 distutils-r1 optfeature
-
-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"
-
-RDEPEND="
- dev-python/pycryptodome[${PYTHON_USEDEP}]
- !net-misc/youtube-dl"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- # adjust requires for pycryptodome and optional dependencies (bug #828466)
- sed -ri setup.py \
- -e "s/'(pycryptodome)x'/'\1'/" \
- -e "s/'(mutagen|websockets)',?//g" || die
-}
-
-python_test() {
- epytest -m 'not download' -p no:markdown
-}
-
-python_install() {
- distutils-r1_python_install
-
- local sitedir=$(python_get_sitedir)
- dosym yt_dlp "${sitedir#${EPREFIX}}"/youtube_dl
-}
-
-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
-
- newbin - youtube-dl <<-EOF
- #!/usr/bin/env sh
- exec yt-dlp --compat-options youtube-dl "\${@}"
- EOF
-}
-
-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} ]] ||
- ver_test ${REPLACING_VERSIONS} -lt 2021.10.22-r2; 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
-}