app-emacs/groovy-emacs-modes: new package; add 2.1

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2023-02-21 02:50:08 +01:00
parent c100a7965b
commit 665eceefaf
4 changed files with 66 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST groovy-emacs-modes-2.1.tar.gz 116174 BLAKE2B be913268b9ae4c1ca74f3391d9dad11b4804a651098a160d8c4e0ac449ea2d0a381e73c3b7412311f73df8569b5e2933b0c3e169bb57483b9bc87089c9623369 SHA512 c7367248640a4891db144afb16bc8a00545eb0155a87404c653ceed5706f684b34d135c2327659032769fa437c7e5dfd5942b287dc16b9636a9c7645762c670a
@@ -0,0 +1,2 @@
(add-to-list 'load-path "@SITELISP@")
(load "groovy-emacs-modes-autoloads" nil t)
@@ -0,0 +1,45 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=24.3
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"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS=( README.md groovy-mode.png )
SITEFILE="50${PN}-gentoo.el"
RDEPEND="
app-emacs/s
app-emacs/dash
"
BDEPEND="
${RDEPEND}
test? (
app-emacs/ert-runner
app-emacs/f
app-emacs/shut-up
app-emacs/undercover
)
"
src_compile() {
elisp_src_compile
elisp-make-autoload-file
}
src_test() {
ert-runner -L . -L test --reporter ert+duration --script test || die
}
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnu-emacs@gentoo.org</email>
<name>Gentoo GNU Emacs project</name>
</maintainer>
<longdescription>
GNU Emacs modes for Groovy and Grails. The major features are syntax
highlighting with groovy-mode, REPL integration with run-groovy and Grails
project navigation with grails-mode.
</longdescription>
<upstream>
<bugs-to>https://github.com/Groovy-Emacs-Modes/groovy-emacs-modes/issues/</bugs-to>
<remote-id type="github">Groovy-Emacs-Modes/groovy-emacs-modes</remote-id>
</upstream>
</pkgmetadata>