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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0EEF6158042 for ; Tue, 5 Nov 2024 02:16:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5CFBDE07B3; Tue, 5 Nov 2024 02:16:48 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 4331EE07BA for ; Tue, 5 Nov 2024 02:16:48 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 78040340C7C for ; Tue, 5 Nov 2024 02:16:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 10D1D1CBF for ; Tue, 5 Nov 2024 02:16:46 +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: <1730772993.dade6e16c74f6321aaa4c8a18410e62ad7944a85.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/ranger/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/ranger/Manifest app-misc/ranger/ranger-1.9.4.ebuild X-VCS-Directories: app-misc/ranger/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: dade6e16c74f6321aaa4c8a18410e62ad7944a85 X-VCS-Branch: master Date: Tue, 5 Nov 2024 02:16:46 +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: e3a18d49-c18f-4522-b0c1-eda632b96282 X-Archives-Hash: 9feff87aa99265a0434a55335c9118ab commit: dade6e16c74f6321aaa4c8a18410e62ad7944a85 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Nov 5 01:59:24 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Nov 5 02:16:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dade6e16 app-misc/ranger: add 1.9.4 This release is identical to 1.9.3 except that it drops the use of imghdr to work with python3.13 (which is now in compat). So the color backport patch is still needed. Signed-off-by: Ionen Wolkens gentoo.org> app-misc/ranger/Manifest | 1 + app-misc/ranger/ranger-1.9.4.ebuild | 48 +++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-misc/ranger/Manifest b/app-misc/ranger/Manifest index 36cbae1190a7..f75a2ec141eb 100644 --- a/app-misc/ranger/Manifest +++ b/app-misc/ranger/Manifest @@ -1 +1,2 @@ DIST ranger-1.9.3.gh.tar.gz 280363 BLAKE2B 2698f82773aae0224e7385413a1f939cdd4b3374eddad496781a42b054e26a8d7e5944bf19bc846736a9171df317c0dbc3c8bdf83c6ca9bdb95de17f9229809e SHA512 5cd7bea714a6542d0a5445f5f0cf929b2df4377df3ef710f3786c6c46dd58b017a8060cde3969076637bfaac03c13297d3020fd82f4574dc49546ca223c0e8d3 +DIST ranger-1.9.4.gh.tar.gz 280165 BLAKE2B 08d90f06e949645b2cd5e94bfa224f3bd97717d38766e72614a294d2e6fda51da2836cdf9b011accb7ba47bb194860d4aa8385b4084af29bf97e95f21b9da3f6 SHA512 18cd1d66838a5f85176e6b7502521a7e449aaa0b12e97d62142d39f980c529c5b97a50f6fb8a65adb64612fa80450b1e13047327f7bcc005a494af4ab321e4d4 diff --git a/app-misc/ranger/ranger-1.9.4.ebuild b/app-misc/ranger/ranger-1.9.4.ebuild new file mode 100644 index 000000000000..acd4e5b2354a --- /dev/null +++ b/app-misc/ranger/ranger-1.9.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="ncurses" +inherit distutils-r1 xdg + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ranger/ranger.git" +else + SRC_URI=" + https://github.com/ranger/ranger/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86" +fi + +DESCRIPTION="Vim-inspired file manager for the console" +HOMEPAGE="https://ranger.github.io/" + +LICENSE="GPL-3" +SLOT="0" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${PN}-1.9.3-color-crash-fix.patch +) + +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 [[ ! ${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 +}