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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A69B415800F for ; Sat, 14 Jan 2023 02:47:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C939CE0825; Sat, 14 Jan 2023 02:47:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B01A6E0825 for ; Sat, 14 Jan 2023 02:47:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6A22340E33 for ; Sat, 14 Jan 2023 02:47:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B91CE83C for ; Sat, 14 Jan 2023 02:47:13 +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: <1673664314.8a83c642661275d849b0ddbd40ba22307d677832.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/ranger/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/ranger/ranger-9999.ebuild X-VCS-Directories: app-misc/ranger/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 8a83c642661275d849b0ddbd40ba22307d677832 X-VCS-Branch: master Date: Sat, 14 Jan 2023 02:47:13 +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: a38cfedd-4ce5-4baa-9fe6-45cb3fb58771 X-Archives-Hash: 6419b9c5e1ce5fa598b8f03eb9efd534 commit: 8a83c642661275d849b0ddbd40ba22307d677832 Author: Ionen Wolkens gentoo org> AuthorDate: Sat Jan 14 02:39:01 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat Jan 14 02:45:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a83c642 app-misc/ranger: update live Same as 1.9.3-r1 except for ignoring the new python2 compat pylint tests. Signed-off-by: Ionen Wolkens gentoo.org> app-misc/ranger/ranger-9999.ebuild | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/app-misc/ranger/ranger-9999.ebuild b/app-misc/ranger/ranger-9999.ebuild index dc221309a87d..c39995cbb730 100644 --- a/app-misc/ranger/ranger-9999.ebuild +++ b/app-misc/ranger/ranger-9999.ebuild @@ -1,41 +1,45 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -PYTHON_COMPAT=( python3_{8..11} ) -PYTHON_REQ_USE="ncurses" +EAPI=8 +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="ncurses" inherit distutils-r1 xdg -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/ranger/ranger.git" +if [[ ${PV} == 9999 ]]; then inherit git-r3 + EGIT_REPO_URI="https://github.com/ranger/ranger.git" else - SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc ~x86" + SRC_URI="https://github.com/ranger/ranger/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~ppc ~riscv ~x86" fi -DESCRIPTION="A vim-inspired file manager for the console" +DESCRIPTION="Vim-inspired file manager for the console" HOMEPAGE="https://ranger.github.io/" + LICENSE="GPL-3" SLOT="0" -RDEPEND="virtual/pager" - distutils_enable_tests pytest -src_prepare() { - # use versioned doc path - sed -i "s|share/doc/ranger|share/doc/${PF}|" setup.py doc/ranger.1 || die +EPYTEST_IGNORE=( + tests/pylint +) +src_prepare() { distutils-r1_src_prepare + + sed -i "s|share/doc/ranger|share/doc/${PF}|" setup.py doc/ranger.1 || die } pkg_postinst() { xdg_pkg_postinst - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "Ranger has many optional dependencies to support enhanced file previews." - elog "See the README or homepage for more details." + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "${PN^} has many optional dependencies to support enhanced file previews." + elog "See ${EROOT}/usr/share/doc/${PF}/README.md* for more details." fi }