public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/scala-mode/
Date: Sat, 27 Jul 2024 11:16:08 +0000 (UTC)	[thread overview]
Message-ID: <1722078788.c3e5353b10b38458dc6dc5d5ed0fe0a93f935c5b.ulm@gentoo> (raw)

commit:     c3e5353b10b38458dc6dc5d5ed0fe0a93f935c5b
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 27 11:13:08 2024 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jul 27 11:13:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3e5353b

app-emacs/scala-mode: Drop dependency on dev-lang/scala

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ...scala-mode-2.10.3.ebuild => scala-mode-2.10.3-r1.ebuild} | 13 ++++++++-----
 1 file 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
similarity index 69%
rename from app-emacs/scala-mode/scala-mode-2.10.3.ebuild
rename to 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
+}


             reply	other threads:[~2024-07-27 11:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-27 11:16 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 19:13 [gentoo-commits] repo/gentoo:master commit in: app-emacs/scala-mode/ Arthur Zamarin
2024-07-27 11:38 Ulrich Müller
2024-07-27 11:16 Ulrich Müller
2022-10-16  0:01 Sam James
2022-08-05  8:17 Arthur Zamarin
2021-04-12 17:52 Ulrich Müller
2018-05-18 15:31 Ulrich Müller
2018-05-18 15:27 Ulrich Müller
2018-05-18 12:34 Aaron Bauman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1722078788.c3e5353b10b38458dc6dc5d5ed0fe0a93f935c5b.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox