diff options
Diffstat (limited to 'net-misc/yt-dlp')
-rw-r--r-- | net-misc/yt-dlp/Manifest | 4 | ||||
-rw-r--r-- | net-misc/yt-dlp/yt-dlp-2022.11.11.ebuild | 64 | ||||
-rw-r--r-- | net-misc/yt-dlp/yt-dlp-2023.1.6.ebuild | 2 |
3 files changed, 2 insertions, 68 deletions
diff --git a/net-misc/yt-dlp/Manifest b/net-misc/yt-dlp/Manifest index 21e3e77b2ff6..1f8f518620b4 100644 --- a/net-misc/yt-dlp/Manifest +++ b/net-misc/yt-dlp/Manifest @@ -1,5 +1,3 @@ -DIST yt-dlp-2022.11.11.tar.gz 2470530 BLAKE2B 0d453d08678cccffccd7e4639fd66d08bead30d0cfae6f5a09d46d2a79a03a24b84b7c27d28a1f4b3bb03fdb96b8f9734e7f9910d02b9cd4a04bacdc3ff2c705 SHA512 be29154746f4c499eb25489be45ea759bf83f7aeb086a2a0e90a2bee6936c0d9362b1cd7af5eebed4f01f84a3542a9d5fa5746b647c349cad2e26b45cf4a861b DIST yt-dlp-2023.1.6.tar.gz 2529382 BLAKE2B d7682346f6a783e0e7b95fc312bb0fffc2b1053ecdbf9b61b01402a8b6d73e41ca7809876d99a1e29d0bf708443444908e931715197c8c2c42807672a55eae61 SHA512 6817659dfa90bc9eecd60608e995097af381d598b4c094784b0cb467f16794f60ffcd90db89444cff2d86312ab1310f13c438def9fb05e3a2154c2e88af48670 -EBUILD yt-dlp-2022.11.11.ebuild 1824 BLAKE2B a5be6f4534e7476a6a89961e4e38ada99f9ebff77c673332cd1795646a59b3a267d29c514e9aeb4eec3344c8f203859920c19e3dccaa4cf1b7a882d6ded1f823 SHA512 6931b2c14a083ee20476a5ca0abfecf14639d3f1ab628c507352c77ffb255095e7614f0b9010d7a63ac35bbb36d04b5cf3a1a7dde72df586a8ea518a437ecf69 -EBUILD yt-dlp-2023.1.6.ebuild 1824 BLAKE2B 08a0971709fdd1d9e4a18a573213b6bac3286e411989613b59d0d7587ff65bb953a18bf7d0916eca227c7adedcc2c3040a0b172ae51fa9510d18acdde47ee755 SHA512 88dd202d49b4c90d3acee2d1987b8a3e317dc631472217396912979e1ebc2de7dd9d0a3cdc8fd9a795d578e66de3e54cc426bc2d3dca2a558c2a45f584311573 +EBUILD yt-dlp-2023.1.6.ebuild 1824 BLAKE2B c718d0f7fd6bc638c0d1cb93edf7bdfe087f127526946679886856e721da26c747400021cef6f920ba957e00ae8319c73c683d79ca4397d5f654a5ee76626a1b SHA512 87ce5b8ea0f010f61f81e45dc030316faf6efa6a71897a181ffe59096306df54ac2b0e206ff1020116927c1b1db7a8ee6dfa7b3df20b974fc5eb1e29a2d055a3 MISC metadata.xml 505 BLAKE2B 520725078c47caf245904b10aab8929bf9a9a357a70315fda67e7dd59b77cb0c1614e7de03029772288aefa76678c7c4c97c7153364552f5ebe0f951df651e9f SHA512 af72cc5782fe5ed5a6748dcd7ebe7c9393ff7a9ad6d5a1a3a8c2824d323e86f1a97036745570790898fe9a51047601f9a4d95befc0e02b8c16822b7cc94e0734 diff --git a/net-misc/yt-dlp/yt-dlp-2022.11.11.ebuild b/net-misc/yt-dlp/yt-dlp-2022.11.11.ebuild deleted file mode 100644 index 705a62db9da4..000000000000 --- a/net-misc/yt-dlp/yt-dlp-2022.11.11.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} ) -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="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" - -LICENSE="Unlicense" -SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 ~riscv x86 ~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() { - 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 -} diff --git a/net-misc/yt-dlp/yt-dlp-2023.1.6.ebuild b/net-misc/yt-dlp/yt-dlp-2023.1.6.ebuild index b82d4f914580..a8be284357e3 100644 --- a/net-misc/yt-dlp/yt-dlp-2023.1.6.ebuild +++ b/net-misc/yt-dlp/yt-dlp-2023.1.6.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit bash-completion-r1 distutils-r1 optfeature wrapper DESCRIPTION="youtube-dl fork with additional features and fixes" |