public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/distel/
Date: Tue,  6 Aug 2024 16:53:29 +0000 (UTC)	[thread overview]
Message-ID: <1722963206.d8cc49b3c6fddaad5a329b696a2320da02782383.xgqt@gentoo> (raw)

commit:     d8cc49b3c6fddaad5a329b696a2320da02782383
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  6 16:52:18 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Aug  6 16:53:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8cc49b3

app-emacs/distel: re-add required erlang dependency

Closes: https://bugs.gentoo.org/937424
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...stel-4.1.1-r1.ebuild => distel-4.1.1-r2.ebuild} | 30 ++++++++++++++++------
 1 file changed, 22 insertions(+), 8 deletions(-)

diff --git a/app-emacs/distel/distel-4.1.1-r1.ebuild b/app-emacs/distel/distel-4.1.1-r2.ebuild
similarity index 70%
rename from app-emacs/distel/distel-4.1.1-r1.ebuild
rename to app-emacs/distel/distel-4.1.1-r2.ebuild
index d66a6d6248cd..312c956d10f5 100644
--- a/app-emacs/distel/distel-4.1.1-r1.ebuild
+++ b/app-emacs/distel/distel-4.1.1-r2.ebuild
@@ -1,27 +1,41 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit elisp
 
 DESCRIPTION="Distributed Emacs Lisp for Erlang"
 HOMEPAGE="https://massemanet.github.io/distel/
 	https://www.emacswiki.org/emacs/DistributedEmacsLisp"
-SRC_URI="https://github.com/massemanet/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/massemanet/${PN}.git"
+else
+	SRC_URI="https://github.com/massemanet/${PN}/archive/${PV}.tar.gz
+		-> ${P}.tar.gz"
+
+	KEYWORDS="~amd64 ~x86"
+fi
 
 # "New BSD License" according to https://code.google.com/p/distel/
 # "MIT" according to https://github.com/massemanet/distel
 LICENSE="BSD MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
 IUSE="doc"
 
-RDEPEND="|| (
-	app-emacs/erlang-mode
-	dev-lang/erlang[emacs(-)]
-)"
-BDEPEND="${RDEPEND}"
+RDEPEND="
+	dev-lang/erlang
+	|| (
+		app-emacs/erlang-mode
+		dev-lang/erlang[emacs(-)]
+	)
+"
+BDEPEND="
+	${RDEPEND}
+"
 
 SITEFILE="50${PN}-gentoo.el"
 


             reply	other threads:[~2024-08-06 16:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-06 16:53 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-05 16:42 [gentoo-commits] repo/gentoo:master commit in: app-emacs/distel/ Matthew Smith
2019-10-15  7:35 Ulrich Müller
2019-09-05 15:05 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=1722963206.d8cc49b3c6fddaad5a329b696a2320da02782383.xgqt@gentoo \
    --to=xgqt@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