public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/groovy-emacs-modes/
@ 2023-04-02  1:45 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-04-02  1:45 UTC (permalink / raw
  To: gentoo-commits

commit:     59c58c310e604d3386d4321cb8401ad402ca35f9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  2 01:43:57 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  2 01:43:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59c58c31

app-emacs/groovy-emacs-modes: Stabilize 2.1 amd64, #903681

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-emacs/groovy-emacs-modes/groovy-emacs-modes-2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/groovy-emacs-modes/groovy-emacs-modes-2.1.ebuild b/app-emacs/groovy-emacs-modes/groovy-emacs-modes-2.1.ebuild
index 7d78acb5f24a..335b5554baa3 100644
--- a/app-emacs/groovy-emacs-modes/groovy-emacs-modes-2.1.ebuild
+++ b/app-emacs/groovy-emacs-modes/groovy-emacs-modes-2.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/Groovy-Emacs-Modes/${PN}/archive/${PV}.tar.gz
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 


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

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

commit:     e30781ce00ff61c2e9ff057e575e7a00fcadb82e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  6 18:23:43 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Oct  6 19:51:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e30781ce

app-emacs/groovy-emacs-modes: minor tweaks

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

 .../groovy-emacs-modes-2.1.ebuild                  | 25 ++++++++++++----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/app-emacs/groovy-emacs-modes/groovy-emacs-modes-2.1.ebuild b/app-emacs/groovy-emacs-modes/groovy-emacs-modes-2.1.ebuild
index 335b5554baa3..3bceb207d749 100644
--- a/app-emacs/groovy-emacs-modes/groovy-emacs-modes-2.1.ebuild
+++ b/app-emacs/groovy-emacs-modes/groovy-emacs-modes-2.1.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
@@ -7,14 +7,20 @@ inherit elisp
 
 DESCRIPTION="Groovy major mode, grails minor mode, and a groovy inferior mode"
 HOMEPAGE="https://github.com/Groovy-Emacs-Modes/groovy-emacs-modes/"
-SRC_URI="https://github.com/Groovy-Emacs-Modes/${PN}/archive/${PV}.tar.gz
-	-> ${P}.tar.gz"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/Groovy-Emacs-Modes/${PN}.git"
+else
+	SRC_URI="https://github.com/Groovy-Emacs-Modes/${PN}/archive/${PV}.tar.gz
+		-> ${P}.tar.gz"
+
+	KEYWORDS="amd64 ~x86"
+fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 DOCS=( README.md groovy-mode.png )
 SITEFILE="50${PN}-gentoo.el"
@@ -26,18 +32,15 @@ RDEPEND="
 BDEPEND="
 	${RDEPEND}
 	test? (
-		app-emacs/ert-runner
 		app-emacs/f
 		app-emacs/shut-up
 		app-emacs/undercover
 	)
 "
 
+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
-}


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

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

Thread overview: 2+ 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/groovy-emacs-modes/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2023-04-02  1:45 Sam James

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