diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-01-13 21:39:01 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-01-13 21:45:14 -0500 |
commit | 8a83c642661275d849b0ddbd40ba22307d677832 (patch) | |
tree | ea56ae59e6b1072a539a16821e1e093d53f38c84 /app-misc/ranger | |
parent | app-misc/ranger: EAPI7->8, use pep517 + single impl (diff) | |
download | gentoo-8a83c642661275d849b0ddbd40ba22307d677832.tar.gz gentoo-8a83c642661275d849b0ddbd40ba22307d677832.tar.bz2 gentoo-8a83c642661275d849b0ddbd40ba22307d677832.zip |
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 <ionen@gentoo.org>
Diffstat (limited to 'app-misc/ranger')
-rw-r--r-- | app-misc/ranger/ranger-9999.ebuild | 38 |
1 files 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 } |