summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-07-27 13:13:08 +0200
committerUlrich Müller <ulm@gentoo.org>2024-07-27 13:13:08 +0200
commitc3e5353b10b38458dc6dc5d5ed0fe0a93f935c5b (patch)
tree9d3d93cc276389ca24833063fa1efc26fc74d7ae /app-emacs
parentdev-python/nh3: Remove old (diff)
downloadgentoo-c3e5353b10b38458dc6dc5d5ed0fe0a93f935c5b.tar.gz
gentoo-c3e5353b10b38458dc6dc5d5ed0fe0a93f935c5b.tar.bz2
gentoo-c3e5353b10b38458dc6dc5d5ed0fe0a93f935c5b.zip
app-emacs/scala-mode: Drop dependency on dev-lang/scala
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/scala-mode/scala-mode-2.10.3-r1.ebuild (renamed from app-emacs/scala-mode/scala-mode-2.10.3.ebuild)13
1 files changed, 8 insertions, 5 deletions
diff --git a/app-emacs/scala-mode/scala-mode-2.10.3.ebuild b/app-emacs/scala-mode/scala-mode-2.10.3-r1.ebuild
index d116a89c8012..de726fff2eb7 100644
--- a/app-emacs/scala-mode/scala-mode-2.10.3.ebuild
+++ b/app-emacs/scala-mode/scala-mode-2.10.3-r1.ebuild
@@ -1,21 +1,24 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit elisp
+inherit elisp optfeature
MY_P="scala-tool-support-${PV}"
DESCRIPTION="Scala mode for Emacs"
HOMEPAGE="https://www.scala-lang.org/"
SRC_URI="https://www.scala-lang.org/files/archive/${MY_P}.tgz"
+S="${WORKDIR}/${MY_P}/scala-emacs-mode"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
-RDEPEND="dev-lang/scala"
-
-S="${WORKDIR}/${MY_P}/scala-emacs-mode"
SITEFILE="50${PN}-gentoo.el"
DOCS="AUTHORS FUTURE README"
+
+pkg_postinst() {
+ elisp_pkg_postinst
+ optfeature "running Scala interpreter with scala-run-scala" dev-lang/scala
+}