diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-02-03 14:27:01 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-02-03 14:27:01 -0500 |
commit | 515c02706819f8bd4b5c6025cfb1c3d5fbe6f146 (patch) | |
tree | 4217219b88e2d55364d587b21d39af33bb5563ec /net-misc | |
parent | net-misc/yt-dlp: add 2022.2.3 (diff) | |
download | gentoo-515c02706819f8bd4b5c6025cfb1c3d5fbe6f146.tar.gz gentoo-515c02706819f8bd4b5c6025cfb1c3d5fbe6f146.tar.bz2 gentoo-515c02706819f8bd4b5c6025cfb1c3d5fbe6f146.zip |
net-misc/yt-dlp: drop 2021.12.27
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/yt-dlp/Manifest | 1 | ||||
-rw-r--r-- | net-misc/yt-dlp/yt-dlp-2021.12.27.ebuild | 74 |
2 files changed, 0 insertions, 75 deletions
diff --git a/net-misc/yt-dlp/Manifest b/net-misc/yt-dlp/Manifest index 31a9644fab91..6353b9b184ba 100644 --- a/net-misc/yt-dlp/Manifest +++ b/net-misc/yt-dlp/Manifest @@ -1,3 +1,2 @@ -DIST yt-dlp-2021.12.27.tar.gz 2102852 BLAKE2B 69a3a9c916771ab2e1b8f86bbc43e03d0543801f587708b638348088d4454aff8ac93420fd8bd2ebb4f493c74acdf23f08a9495dbcdad77d840a95cfece4aa6b SHA512 2c687493736fabe131481d6bf8df13afc1959ac1458675bfe3c4273df7bb64218f84e07ea324b664b0a52c3e39b3e10999e81bc907bfc98a71a28c92dca90737 DIST yt-dlp-2022.1.21.tar.gz 2160713 BLAKE2B 30ed1c7a317318ca6a6ee183ba8e4396420eb090ddacc64ddde2bb4077c7c45b01c00caca90d1b8be501f90c71407e27d6ef847fdbfea8bed488771f9b59bbe1 SHA512 5844d49dbf50842d4d51dbb00c16efea816322888d16a8dbce16f976f0dd1625ec8243fcdc07e721180a2f02cf14ebaa0d83a1437e331b4aa68c404db3f1e9f4 DIST yt-dlp-2022.2.3.tar.gz 2177760 BLAKE2B 164197ee339d6a9cce24986781f160cd572c863f50cc1ccabfd820785280788b02287103c1e5f0fc2d7318e556b209ae860b2afb9f7f754965e7146edf14bd19 SHA512 8a7267c896aa879baf0c7b31276a933150869f40c6a3482754de1a616caee89c0d320bd4e7490d8c6a7eab55d6343db91698b994a07b94760528de639fd6a56b diff --git a/net-misc/yt-dlp/yt-dlp-2021.12.27.ebuild b/net-misc/yt-dlp/yt-dlp-2021.12.27.ebuild deleted file mode 100644 index f6633c012f81..000000000000 --- a/net-misc/yt-dlp/yt-dlp-2021.12.27.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2021 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 -} |