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 08D0C15800F for ; Sat, 14 Jan 2023 02:47:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 011DBE0831; Sat, 14 Jan 2023 02:47:17 +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 DF9CFE0831 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 03A03340E49 for ; Sat, 14 Jan 2023 02:47:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A36DF836 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: <1673664281.01233808796a1cadcb14f04ae2bd53f357216566.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.3-r1.ebuild X-VCS-Directories: app-misc/ranger/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 01233808796a1cadcb14f04ae2bd53f357216566 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: 277081d3-84c1-4ee5-995c-0d75befff947 X-Archives-Hash: f0f48e5af7e0e1115e5db09d184bb5e7 commit: 01233808796a1cadcb14f04ae2bd53f357216566 Author: Ionen Wolkens gentoo org> AuthorDate: Sat Jan 14 02:09:09 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat Jan 14 02:44:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01233808 app-misc/ranger: EAPI7->8, use pep517 + single impl wrt single, not aware of anything using ranger site-packages directly, please file of a bug if was actually useful for something. Also preemptively cleanup python3_8 as target is about to get removed. Closes: https://bugs.gentoo.org/800650 Signed-off-by: Ionen Wolkens gentoo.org> app-misc/ranger/Manifest | 1 + app-misc/ranger/ranger-1.9.3-r1.ebuild | 41 ++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/app-misc/ranger/Manifest b/app-misc/ranger/Manifest index 463e10d6436c..c817f322d2ac 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.3.tar.gz 280363 BLAKE2B 2698f82773aae0224e7385413a1f939cdd4b3374eddad496781a42b054e26a8d7e5944bf19bc846736a9171df317c0dbc3c8bdf83c6ca9bdb95de17f9229809e SHA512 5cd7bea714a6542d0a5445f5f0cf929b2df4377df3ef710f3786c6c46dd58b017a8060cde3969076637bfaac03c13297d3020fd82f4574dc49546ca223c0e8d3 diff --git a/app-misc/ranger/ranger-1.9.3-r1.ebuild b/app-misc/ranger/ranger-1.9.3-r1.ebuild new file mode 100644 index 000000000000..7343792b5712 --- /dev/null +++ b/app-misc/ranger/ranger-1.9.3-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 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_{9..11} ) +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 ~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 + +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 +}