public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arsen Arsenović" <arsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/dape/
Date: Thu, 22 May 2025 22:27:24 +0000 (UTC)	[thread overview]
Message-ID: <1747952723.45e968d1c722134b654bde027465d3880adc81a0.arsen@gentoo> (raw)

commit:     45e968d1c722134b654bde027465d3880adc81a0
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Thu May 22 22:25:23 2025 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Thu May 22 22:25:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e968d1

app-emacs/dape: add 0.24.1

Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 app-emacs/dape/Manifest           |  1 +
 app-emacs/dape/dape-0.24.1.ebuild | 70 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/app-emacs/dape/Manifest b/app-emacs/dape/Manifest
index 973fc2377e23..b8d890c892d1 100644
--- a/app-emacs/dape/Manifest
+++ b/app-emacs/dape/Manifest
@@ -1,2 +1,3 @@
 DIST dape-0.23.0.tar.gz 79466 BLAKE2B 70c6741d11c392eb420aa3173aff8b4c293d640b28ee02c352bc2f2ccff9293c15d8855aca421fff3e7d2824865c8fa6e3f218471b8cb2bceef51e3e7e30355a SHA512 e3c4fb922cb1cd328e49afd8cb52df15fd0dcf5636f9ba0b5c882cfdaf12a2c7349749f23a7c6bae98210cf5e2f9224570edbdcba9748c2a7ac216b4890d5952
 DIST dape-0.24.0.tar.gz 80191 BLAKE2B 080420aec816be43e0615ffb3e6ec21a65cfd4b8d4d3c5d7adf5694c36d22739e952c98a5973c60a4af787252409fa70d8efe61dd3ce355b3fba7a037f814d5f SHA512 b517ffd134f12a753c0b214ca287cdab1d2c1b6b7d4070e017203534c4929e7c1f5486f28782eab7109a607b52bb24958a508b9515f7395f2186ed8115a53a99
+DIST dape-0.24.1.tar.gz 80152 BLAKE2B c91c1dcda86ee6dbddc4b82c9a51e79c491d8eff9e8d571e840cc4bfe3fee746d8e769ed2f31ff7526f172fd6c7dadc86479ef1477fb8b23c4540c319159ed92 SHA512 64737820e45c1d1db157ad4e08ea839e2144bff39196ebc501c19efbcdf537600db0e9450b8d4da3ee4a062ba5f73397365ff51d28ea8f59c20ccd45c893ce23

diff --git a/app-emacs/dape/dape-0.24.1.ebuild b/app-emacs/dape/dape-0.24.1.ebuild
new file mode 100644
index 000000000000..e3cc513f8bb9
--- /dev/null
+++ b/app-emacs/dape/dape-0.24.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS="29.1"
+
+inherit elisp
+
+DESCRIPTION="Debug Adapter Protocol for Emacs"
+HOMEPAGE="https://github.com/svaante/dape"
+
+if [[ "${PV}" == 9999 ]]; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/svaante/${PN}.git"
+else
+	SRC_URI="https://github.com/svaante/${PN}/archive/refs/tags/${PV}.tar.gz
+		-> ${P}.tar.gz"
+
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+	|| (
+		app-emacs/jsonrpc
+		>=app-editors/emacs-30:*
+	)
+"
+DEPEND="
+	${RDEPEND}
+"
+
+# Requires debugpy, but we do not package debugpy right now, as well as
+# js-debug.  Most tests use only the former.
+RESTRICT="test"
+
+# Remove tests.el to skip compilation and failing tests (see above comment).
+ELISP_REMOVE="${PN}-tests.el"
+
+DOCS=( README.org CHANGELOG.org LICENSE )
+SITEFILE="50${PN}-gentoo.el"
+
+# elisp-enable-tests ert . -l dape-tests.el
+
+pkg_setup() {
+	elisp_pkg_setup
+	local has_jsonrpc="$(${EMACS} ${EMACSFLAGS} \
+		--eval "(princ (>= emacs-major-version 30))")"
+	if has_version app-emacs/jsonrpc || [[ ${has_jsonrpc} = t ]]; then
+		:
+	else
+		die "Emacs does not have jsonrpc.el 1.0.25 or later, nor was app-emacs/jsonrpc installed"
+	fi
+}
+
+src_compile() {
+	elisp_src_compile
+	elisp-make-autoload-file
+}
+
+src_install() {
+	# Need to ignore dape-tests.el.
+	einstalldocs
+	elisp-install "${PN}" dape.el dape.elc dape-autoloads.el
+	elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+}


             reply	other threads:[~2025-05-22 22:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-22 22:27 Arsen Arsenović [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-10 23:41 [gentoo-commits] repo/gentoo:master commit in: app-emacs/dape/ Maciej Barć
2025-10-10 23:41 Maciej Barć
2025-05-22 23:01 Maciej Barć
2025-04-28 13:40 Maciej Barć
2025-04-28 13:40 Maciej Barć
2025-03-11 18:56 Maciej Barć
2025-03-11 18:56 Maciej Barć
2025-02-04 12:52 Maciej Barć
2025-02-04 12:52 Maciej Barć
2025-02-04 12:52 Maciej Barć
2025-01-10 10:55 Arsen Arsenović
2025-01-06 22:18 Maciej Barć
2025-01-06 22:18 Maciej Barć
2024-12-22  9:49 Sam James
2024-12-21 14:12 Arsen Arsenović
2024-12-21 14:12 Arsen Arsenović
2024-12-18  1:06 Arsen Arsenović

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=1747952723.45e968d1c722134b654bde027465d3880adc81a0.arsen@gentoo \
    --to=arsen@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