summaryrefslogtreecommitdiff
path: root/app-emacs/rg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-07 04:26:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-07 04:26:50 +0100
commit7ad61ca2bfc8f8da08d2fb3085e4333dcccb0a64 (patch)
treef7c41a49b46acf8ae70e84a70c452a7d121c5458 /app-emacs/rg
parentd6106fb0c1ab8f79024ab6a9ac2062ddc85d4e07 (diff)
gentoo auto-resync : 07:10:2024 - 04:26:50
Diffstat (limited to 'app-emacs/rg')
-rw-r--r--app-emacs/rg/Manifest2
-rw-r--r--app-emacs/rg/rg-2.3.0.ebuild33
2 files changed, 21 insertions, 14 deletions
diff --git a/app-emacs/rg/Manifest b/app-emacs/rg/Manifest
index e28d2c4b7d87..260f405c123e 100644
--- a/app-emacs/rg/Manifest
+++ b/app-emacs/rg/Manifest
@@ -1,4 +1,4 @@
AUX 50rg-gentoo.el 66 BLAKE2B 51ca91eda1462dcbcd9ae5bd917ab44b5e1259afd72bfb5cb8eb884dacca545677d00e0feac5e7d90f8b49c5f308afc354f5df08d2cca275e78e008fa15b94a7 SHA512 84a87f247455cfeadd80335fa686c1bfee28b3a006249fc5894880c2e2848bbe4795c71dd212bfc2aae5e599755ae335653e5a78457d1e04324b8b5ca82ed2b3
DIST rg-2.3.0.tar.gz 204996 BLAKE2B cc233f90a4bd56928053ebace2aa166c0210ddc9720b37b4e67e10e1082ed0ff744bef6d502666a8094d9c57c0afa2b9a32967b290443cc467f2865ea7b95330 SHA512 343626c35bdb26f2a300bac258af112230cf502900852456362f1adaa6bf6551d42d07ced59b8f864cab0663b559262f2e6f982f5b95cfffe1d04218fe6ebbbe
-EBUILD rg-2.3.0.ebuild 971 BLAKE2B 4a924baff9785630c479bd2f1cb84fa1ffe2b02c941944add93bce38d214d6d16429ce8f851c0a25a47f2d74c74bf27d63af15e70c0ad9bff5227547e2f9369c SHA512 c8cb15cd891712242ecf7330c9c0db32df100f982284bc096964e655d65c8c51a9afde74bd8b5d908caee333e37fe670c3ab24313a168e83094797aad11f41bc
+EBUILD rg-2.3.0.ebuild 981 BLAKE2B 7fcae157365f4b77e0d0acb4e86fd52682cc3a76391bf461f51476f507a7c2dfe4d23c0657897dd549c73341dfee09d1ab9eb14a3845fad9262a15a49b0de4b6 SHA512 05af41af34dcd14b4bff114202dabe4fa3f7fce630536b2ad4d4d7744e369e3af88a36cee14e1eb36cca444175bb8c642ebcb286b7836914a96873fbb46ebcc3
MISC metadata.xml 1083 BLAKE2B aa777fe0b99335ca705401879d333e921bb480798c85a2213822461e4b60a5b8d660592d8dab7f1d81dff98dc2808aeff11992890842fc7657deee2516006288 SHA512 aca5ee92739a5e12ef60f539b74f2bb9449ec472d2ee2169528cb76cc716e0829427c9e3ddbb8ce7857266fc31a5143538a369afb59f5f00f26dd31e8af67d5c
diff --git a/app-emacs/rg/rg-2.3.0.ebuild b/app-emacs/rg/rg-2.3.0.ebuild
index e3cadd443056..9d3045be9e02 100644
--- a/app-emacs/rg/rg-2.3.0.ebuild
+++ b/app-emacs/rg/rg-2.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,15 +8,21 @@ inherit elisp
DESCRIPTION="GNU Emacs search tool based on ripgrep"
HOMEPAGE="https://rgel.readthedocs.io/
https://github.com/dajva/rg.el/"
-SRC_URI="https://github.com/dajva/rg.el/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
-S="${WORKDIR}"/rg.el-${PV}
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/dajva/rg.el.git"
+else
+ SRC_URI="https://github.com/dajva/rg.el/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/rg.el-${PV}"
+
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
COMMON_DEPEND="
app-emacs/transient
@@ -29,25 +35,26 @@ RDEPEND="
BDEPEND="
${COMMON_DEPEND}
test? (
- app-emacs/ert-runner
app-emacs/s
app-emacs/undercover
)
"
+ELISP_REMOVE="
+ test/rg.el-test.el
+ test/rg-isearch.el-test.el
+"
+
DOCS=( README.md )
-ELISP_REMOVE="test/rg.el-test.el test/rg-isearch.el-test.el"
SITEFILE="50${PN}-gentoo.el"
+elisp-enable-tests ert-runner test
+
src_compile() {
elisp_src_compile
elisp-make-autoload-file
}
-src_test() {
- ert-runner -L . -L test --reporter ert+duration --script test || die
-}
-
src_install() {
elisp_src_install
doinfo rgel.info