From d63d16d19ab9b58260753953a431d39230f2c362 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Oct 2023 05:59:23 +0100 Subject: gentoo auto-resync : 07:10:2023 - 05:59:23 --- net-misc/Manifest.gz | Bin 54475 -> 54468 bytes net-misc/yt-dlp/Manifest | 4 +- net-misc/yt-dlp/yt-dlp-2023.07.06.ebuild | 65 ------------------------------ net-misc/yt-dlp/yt-dlp-2023.10.07.ebuild | 66 +++++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+), 67 deletions(-) delete mode 100644 net-misc/yt-dlp/yt-dlp-2023.07.06.ebuild create mode 100644 net-misc/yt-dlp/yt-dlp-2023.10.07.ebuild (limited to 'net-misc') diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz index 40245757e10a..eb801d2c889c 100644 Binary files a/net-misc/Manifest.gz and b/net-misc/Manifest.gz differ diff --git a/net-misc/yt-dlp/Manifest b/net-misc/yt-dlp/Manifest index f104d53f6015..3ab85dd1efe6 100644 --- a/net-misc/yt-dlp/Manifest +++ b/net-misc/yt-dlp/Manifest @@ -1,6 +1,6 @@ -DIST yt-dlp-2023.07.06.tar.gz 5362006 BLAKE2B a1675bf6fc41a4a4fb90401a50cc0dc7e84d4d751aed7ee9520d04fba8060f6c877a13d9a9e07ce8f36ffb2053f6048d54eaa5628d97c41457b36b965127d342 SHA512 f9f276ccd01293d27a749575653449d73e13896c175a51f3687b2f6d1c6b97154f6c9fb2868f0c37a6e94cb692e223c7c595e741c5b2db82d2b9e1d0b2f8958d DIST yt-dlp-2023.09.24.tar.gz 5494731 BLAKE2B 558fc80691951ba33e591a9bf1820e3da45f265f9392d28c6dcab1c2feb9bac84a0143d8034dde8c772f227eb9896c6406974440bd141ac88de0899438f229e0 SHA512 37f1c5c9af9f8cdd66a2fa09771f018042c3efac61a657ea1573a68a77dce2f76fbd8bb7a59ed72942093ddfd80d57573305ec8b60d00e6b0ba50276e3df2dfd -EBUILD yt-dlp-2023.07.06.ebuild 1904 BLAKE2B 2481fbe36a0eb0f85530410a012d1947611adbbd759214f7f416e538a3ee837f14560c07c878f25e885f49d2de7a898b0d931ecc578d0177b26218f2b3ee61c6 SHA512 ac8d5cbe2c61430dbab82fbb391a83d0f14d43a801e151c0dc907cce3adb6df4d322099b9f47b995168f8080dbbe4b9094082bee8ca26cff428a03dd7d2229c6 +DIST yt-dlp-2023.10.07.tar.gz 5513194 BLAKE2B 5d30895125eb2a67935e6f1b98fa93daf9230379309a19799b1813008075b1fe96811acc608baefb054b21f288cd4a8771d8b325b98a007097f0342111dc523e SHA512 21dcb85807b87446faadbdd20206cf3a9da67a575bbb8bdbf40f7af34e7b1d2530c9e15f76a28d3021c91b68bb6762d46a66446ca43c83ac02880b710286435d EBUILD yt-dlp-2023.09.24.ebuild 1905 BLAKE2B d367a477e7d6411057445b6c4c20d7029b619ec5a03e8c1f7647d58ff4593e3731b13d5f1a34b0ffebcb78d84a1070197e4831553ac34aa0cfe67fd64e0dad01 SHA512 173a11d9746780851e43077c28674da1aba4463c9752badc83257b7af1b67cd8269743a095bd3fa59db62f1bdd68ab32e820a45b27a0daeedaa2ef288cc1a362 +EBUILD yt-dlp-2023.10.07.ebuild 1910 BLAKE2B cefcb58569941c2f57e7151238c4b61ebd2e7c2bae7cd3f92ba083e214b1f6958b6f68a0151d1b33d1c2d2658fde42601e9564eba6e6dd77e7137483757ec9a6 SHA512 8fd3373a005248c7d1058b513e8305cee4401396f506332803735ed6a39096ac7e4bb2656484d571ee49b83e89f2a50ebd7a2f58eefa6d34d0b8d58c11004f67 EBUILD yt-dlp-9999.ebuild 2084 BLAKE2B 67653d1662b620ca58857a5fc2353cf5187390cafedb13bf23f04e05a330e8ef9eeaf1e84655cdbffddbe5b227e523194e36a00706014271c145b5fcf8b1c5b6 SHA512 5f309555ac68f210f2a1b52f87f7055acd20d89e18747141e29f9a4770c4bce4b08ecc41e13a254f41dfb1bdf4c64ca10541617038f6cb80496d8b21ad34ca26 MISC metadata.xml 392 BLAKE2B d2aa6fc43f7f9038d320197a18107f15e56ed5e242e6c3cdc1b7111184580ab14fae8cbd16776794d207dd39ea0ca65975c08a54449f4cf90370ea95a66083d9 SHA512 867c61c1e41d7594decd5e10a2b45d934313cb751ba22356fc1ab61e0a40b2543847b195d20c7a39ba92370d8b3908e6f90d690915579b55808872efe8d3cebe diff --git a/net-misc/yt-dlp/yt-dlp-2023.07.06.ebuild b/net-misc/yt-dlp/yt-dlp-2023.07.06.ebuild deleted file mode 100644 index c5f04ca55e79..000000000000 --- a/net-misc/yt-dlp/yt-dlp-2023.07.06.ebuild +++ /dev/null @@ -1,65 +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..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="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() { - 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.10.07.ebuild b/net-misc/yt-dlp/yt-dlp-2023.10.07.ebuild new file mode 100644 index 000000000000..5f12f57f85ed --- /dev/null +++ b/net-misc/yt-dlp/yt-dlp-2023.10.07.ebuild @@ -0,0 +1,66 @@ +# 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() { + 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 +} -- cgit v1.2.3