public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/rg/
@ 2023-03-28  0:57 Maciej Barć
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2023-03-28  0:57 UTC (permalink / raw
  To: gentoo-commits

commit:     7bd7ebb632d5d4d782ff6262bc97ccf7ac1624d4
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 28 00:11:22 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Mar 28 00:50:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd7ebb6

app-emacs/rg: bump to 2.3.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/rg/Manifest        |  1 +
 app-emacs/rg/rg-2.3.0.ebuild | 54 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/app-emacs/rg/Manifest b/app-emacs/rg/Manifest
index 0d335e64e66b..ffd4b27d91eb 100644
--- a/app-emacs/rg/Manifest
+++ b/app-emacs/rg/Manifest
@@ -1 +1,2 @@
 DIST rg-2.2.1.tar.gz 202686 BLAKE2B 43abfdc5d631d5551272788dc31f8767f2b638604f180dfd0cb96df8d142f97ec644482da660c279f1877ab77477e5f25810de3850439d0210be1e4040c77a98 SHA512 eac9c21db6a13299e24f3e6166ff45f378f44454bc02ad8c04b42580d03c67eb28fbaee17feaa53096b7dced2e4e7dbf64a50608c61fe9188530fa0102a0f240
+DIST rg-2.3.0.tar.gz 204996 BLAKE2B cc233f90a4bd56928053ebace2aa166c0210ddc9720b37b4e67e10e1082ed0ff744bef6d502666a8094d9c57c0afa2b9a32967b290443cc467f2865ea7b95330 SHA512 343626c35bdb26f2a300bac258af112230cf502900852456362f1adaa6bf6551d42d07ced59b8f864cab0663b559262f2e6f982f5b95cfffe1d04218fe6ebbbe

diff --git a/app-emacs/rg/rg-2.3.0.ebuild b/app-emacs/rg/rg-2.3.0.ebuild
new file mode 100644
index 000000000000..e3cadd443056
--- /dev/null
+++ b/app-emacs/rg/rg-2.3.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+	app-emacs/transient
+	app-emacs/wgrep
+"
+RDEPEND="
+	${COMMON_DEPEND}
+	sys-apps/ripgrep
+"
+BDEPEND="
+	${COMMON_DEPEND}
+	test? (
+		app-emacs/ert-runner
+		app-emacs/s
+		app-emacs/undercover
+	)
+"
+
+DOCS=( README.md )
+ELISP_REMOVE="test/rg.el-test.el test/rg-isearch.el-test.el"
+SITEFILE="50${PN}-gentoo.el"
+
+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
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-emacs/rg/
@ 2023-08-20 20:32 Maciej Barć
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2023-08-20 20:32 UTC (permalink / raw
  To: gentoo-commits

commit:     b56fd2c434994ad4a19863d573f6c00f4b9592b5
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 20:23:42 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 20:32:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56fd2c4

app-emacs/rg: drop old 2.2.1

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/rg/Manifest        |  1 -
 app-emacs/rg/rg-2.2.1.ebuild | 54 --------------------------------------------
 2 files changed, 55 deletions(-)

diff --git a/app-emacs/rg/Manifest b/app-emacs/rg/Manifest
index ffd4b27d91eb..2dad57180392 100644
--- a/app-emacs/rg/Manifest
+++ b/app-emacs/rg/Manifest
@@ -1,2 +1 @@
-DIST rg-2.2.1.tar.gz 202686 BLAKE2B 43abfdc5d631d5551272788dc31f8767f2b638604f180dfd0cb96df8d142f97ec644482da660c279f1877ab77477e5f25810de3850439d0210be1e4040c77a98 SHA512 eac9c21db6a13299e24f3e6166ff45f378f44454bc02ad8c04b42580d03c67eb28fbaee17feaa53096b7dced2e4e7dbf64a50608c61fe9188530fa0102a0f240
 DIST rg-2.3.0.tar.gz 204996 BLAKE2B cc233f90a4bd56928053ebace2aa166c0210ddc9720b37b4e67e10e1082ed0ff744bef6d502666a8094d9c57c0afa2b9a32967b290443cc467f2865ea7b95330 SHA512 343626c35bdb26f2a300bac258af112230cf502900852456362f1adaa6bf6551d42d07ced59b8f864cab0663b559262f2e6f982f5b95cfffe1d04218fe6ebbbe

diff --git a/app-emacs/rg/rg-2.2.1.ebuild b/app-emacs/rg/rg-2.2.1.ebuild
deleted file mode 100644
index e3cadd443056..000000000000
--- a/app-emacs/rg/rg-2.2.1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-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}
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
-	app-emacs/transient
-	app-emacs/wgrep
-"
-RDEPEND="
-	${COMMON_DEPEND}
-	sys-apps/ripgrep
-"
-BDEPEND="
-	${COMMON_DEPEND}
-	test? (
-		app-emacs/ert-runner
-		app-emacs/s
-		app-emacs/undercover
-	)
-"
-
-DOCS=( README.md )
-ELISP_REMOVE="test/rg.el-test.el test/rg-isearch.el-test.el"
-SITEFILE="50${PN}-gentoo.el"
-
-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
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-emacs/rg/
@ 2024-10-06 19:53 Maciej Barć
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2024-10-06 19:53 UTC (permalink / raw
  To: gentoo-commits

commit:     6a7569efbb173ff46ab0666c4aaa2019e35ffcb7
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  6 18:36:53 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Oct  6 19:51:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7569ef

app-emacs/rg: minor tweaks

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/rg/rg-2.3.0.ebuild | 33 ++++++++++++++++++++-------------
 1 file changed, 20 insertions(+), 13 deletions(-)

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-06 19:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-06 19:53 [gentoo-commits] repo/gentoo:master commit in: app-emacs/rg/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2023-08-20 20:32 Maciej Barć
2023-03-28  0:57 Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox