From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B7FE1158086 for ; Sun, 17 Oct 2021 02:05:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1AECCE070D; Sun, 17 Oct 2021 02:05:30 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 062EBE070D for ; Sun, 17 Oct 2021 02:05:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B322340BB4 for ; Sun, 17 Oct 2021 02:05:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D870C155 for ; Sun, 17 Oct 2021 02:05:27 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1634436266.bce8a31616a83baafcef776bf3d8fc4cf15028db.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/yt-dlp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/yt-dlp/yt-dlp-2021.10.10.ebuild X-VCS-Directories: net-misc/yt-dlp/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: bce8a31616a83baafcef776bf3d8fc4cf15028db X-VCS-Branch: master Date: Sun, 17 Oct 2021 02:05:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7e557497-8674-484b-a267-f239c467c75b X-Archives-Hash: c806660d9a81663bdf04b38dcba9f006 commit: bce8a31616a83baafcef776bf3d8fc4cf15028db Author: Ionen Wolkens gentoo org> AuthorDate: Sun Oct 17 01:20:15 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Oct 17 02:04:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bce8a316 net-misc/yt-dlp: EAPI8 and small adjustments * remove unused readme.gentoo-r1 * public-domain -> Unlicense * nose -> pytest, lets the eclass handle that dependency * use upstream markers to skip download tests rather than names (no major change, but lets 3 additional tests run) * remove mkdir workaround, was fixed upstream in 2021.09.01 * install Changelog.md and supportedsites.md, and remove duplicate README.txt in favor of README.md (same contents) * replace some unnecessary new* commands by do* Signed-off-by: Ionen Wolkens gentoo.org> net-misc/yt-dlp/yt-dlp-2021.10.10.ebuild | 41 +++++++++++++------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/net-misc/yt-dlp/yt-dlp-2021.10.10.ebuild b/net-misc/yt-dlp/yt-dlp-2021.10.10.ebuild index e8f9a33a5fe..ed4cc85dbe9 100644 --- a/net-misc/yt-dlp/yt-dlp-2021.10.10.ebuild +++ b/net-misc/yt-dlp/yt-dlp-2021.10.10.ebuild @@ -1,50 +1,43 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) -inherit bash-completion-r1 distutils-r1 readme.gentoo-r1 +inherit bash-completion-r1 distutils-r1 -DESCRIPTION="A youtube-dl fork with additional features and fixes" +DESCRIPTION="youtube-dl fork with additional features and fixes" HOMEPAGE="https://github.com/yt-dlp/yt-dlp" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -KEYWORDS="~amd64 ~riscv ~x86" -LICENSE="public-domain" -SLOT="0" +SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" -DEPEND=" - test? ( dev-python/pytest ) -" +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" RDEPEND=" + dev-python/keyring[${PYTHON_USEDEP}] dev-python/pycryptodome[${PYTHON_USEDEP}] - media-libs/mutagen[${PYTHON_USEDEP}] dev-python/websockets[${PYTHON_USEDEP}] - dev-python/keyring[${PYTHON_USEDEP}] - media-video/ffmpeg -" + media-libs/mutagen[${PYTHON_USEDEP}] + media-video/ffmpeg" -distutils_enable_tests nose +distutils_enable_tests pytest python_test() { - # make_lazy_extractors.py tries to rename it out, so fails if it does not exists. - mkdir ytdlp_plugins - epytest -k 'not download' + epytest -m 'not download' } python_install_all() { + dodoc README.md Changelog.md supportedsites.md doman yt-dlp.1 - newbashcomp completions/bash/yt-dlp yt-dlp - - insinto /usr/share/zsh/site-functions - newins completions/zsh/_yt-dlp _yt-dlp + dobashcomp completions/bash/yt-dlp insinto /usr/share/fish/vendor_completions.d doins completions/fish/yt-dlp.fish - distutils-r1_python_install_all + insinto /usr/share/zsh/site-functions + doins completions/zsh/_yt-dlp - rm -rf "${ED}"/usr/share/doc/yt_dlp || die + rm -r "${ED}"/usr/share/doc/yt_dlp || die }