summaryrefslogtreecommitdiff
path: root/app-misc/ranger
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-05 03:03:37 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-05 03:03:37 +0000
commit564cd64dc5f2727c4df6aeb1bb51327503c84e78 (patch)
tree44f51d1887abfcdb7df61a570c2ffa0d6841d7db /app-misc/ranger
parent3cc82055be7dba177f4aea15af9f5414b532da7e (diff)
gentoo auto-resync : 05:11:2024 - 03:03:37
Diffstat (limited to 'app-misc/ranger')
-rw-r--r--app-misc/ranger/Manifest4
-rw-r--r--app-misc/ranger/ranger-1.9.4.ebuild48
-rw-r--r--app-misc/ranger/ranger-9999.ebuild7
3 files changed, 56 insertions, 3 deletions
diff --git a/app-misc/ranger/Manifest b/app-misc/ranger/Manifest
index 62aa57ae88f4..04696cc4fd18 100644
--- a/app-misc/ranger/Manifest
+++ b/app-misc/ranger/Manifest
@@ -1,5 +1,7 @@
AUX ranger-1.9.3-color-crash-fix.patch 1077 BLAKE2B 4063deae9b17023d30f5308cb3187e6215d3e37b84404d02d38cecda7cd33928f4f416c13e5933ae60cdeaabf9c25a8ab693d3d0824b361ce7d471c70e54ba58 SHA512 b03afde4670813be7a17c2c273d91323868d4051f4d06f9ab79e05bd62b9520b08556a095dd52ecb429a0b22ce4bf78c86c5b025393502319f29068df1e4c322
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
EBUILD ranger-1.9.3-r2.ebuild 1055 BLAKE2B 099de9bfc8d33d34d686eb1ce42f83e0520b704f62550ec649f6475ca46a3a8c7a6f4563e6ed3abb2660e11c4d436fe22cbadb335b7c2ee4ec64eae8578a1460 SHA512 721a70fc02119a6354d0f761d590dff7c24085e8dcce2407fdfd72a1bb146a0b20bd4769cdc3620c9f32762c4ea6793601c4a99fd59fb4d3bb61e745bbfd8abb
-EBUILD ranger-9999.ebuild 1024 BLAKE2B 531a541cd68640631542a782b3fe529ee12e69ec3499179f16a5d2eb6fe5d6b85cf5acf1f098df38dd8df1db277cef13e483ebf1b2f5f697460debc86585cf98 SHA512 fe17f4b644013bb43f33c8b9e5dbc1eb209c4a89bfdd857ac3d501f19c1d0524b408165db9c4e4e92503aa7823f9367648bf79917bc5664c467001b669604b2f
+EBUILD ranger-1.9.4.ebuild 1072 BLAKE2B 9a1c4bc2d88dbc32f986caf24b0012d521db8a3a73b17e86d2b66547da319a682514290d6bea2acc719eafafb7ce06f4ae65689c5045d4cf3856ff19b337eb5f SHA512 3150f92de7a68697acbcd7031fe20285d85994c68d9cbd0572255c552487645fa82fd71d0d598c88f4b9c9cfd97a61a22f1dac51f3ab9cf14050e432e206642a
+EBUILD ranger-9999.ebuild 1044 BLAKE2B 3edc4118b0d070ae82bb73029a90b65d7b656b5c8d818056a2b49fd9288ba03d5597f301e9a1e971fbc28a4bbc7598c5525bfbdfe9d8d781612a004c5e90d352 SHA512 746a47fc1421847c8ec408cf372a0d3240d3c3016033e776eebd0292a99e46bf65cb6a658662668be86faa23de4a66e816549d7931931e8d1a9d9de75ad3dc7b
MISC metadata.xml 1023 BLAKE2B 9876633c736dac3f07968e6d8cffebba44eeeb69a644b04978912a621b6950a1d0eef52cae8044f18feae0a9706e21898116f68302e61ffb73a74c942814d9c0 SHA512 65844b6f3b7ca5a7e0c36a487fa336a28be54444d1e45d58f31f1144c8475d9b830eea000a0795318cfc2ccadc18374e0ea5234739e85851e9d712c8f42c1685
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
+}
diff --git a/app-misc/ranger/ranger-9999.ebuild b/app-misc/ranger/ranger-9999.ebuild
index 2ccc39445f4c..d89678b78bca 100644
--- a/app-misc/ranger/ranger-9999.ebuild
+++ b/app-misc/ranger/ranger-9999.ebuild
@@ -13,8 +13,11 @@ 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"
+ 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"