From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 871FD15812D for ; Mon, 06 Jan 2025 22:18:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6AF9E0823; Mon, 06 Jan 2025 22:18:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B6C2DE0823 for ; Mon, 06 Jan 2025 22:18:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C9E2F34106C for ; Mon, 06 Jan 2025 22:18:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14A3A1D63 for ; Mon, 06 Jan 2025 22:18:25 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1736201900.65a5b4c3bf6880fb854dedf9b22a5336585b1e68.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/dape/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/dape/Manifest app-emacs/dape/dape-0.20.0.ebuild X-VCS-Directories: app-emacs/dape/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 65a5b4c3bf6880fb854dedf9b22a5336585b1e68 X-VCS-Branch: master Date: Mon, 06 Jan 2025 22:18:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8bd5247a-38b0-4905-9c45-6404fa9f0e29 X-Archives-Hash: 681ffc59634a45b602055d332a4dc0c1 commit: 65a5b4c3bf6880fb854dedf9b22a5336585b1e68 Author: Maciej Barć gentoo org> AuthorDate: Mon Jan 6 21:55:26 2025 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Jan 6 22:18:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65a5b4c3 app-emacs/dape: bump to 0.20.0 Signed-off-by: Maciej Barć gentoo.org> app-emacs/dape/Manifest | 1 + app-emacs/dape/dape-0.20.0.ebuild | 71 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/app-emacs/dape/Manifest b/app-emacs/dape/Manifest index 8119ac18d989..ef3c817e1d97 100644 --- a/app-emacs/dape/Manifest +++ b/app-emacs/dape/Manifest @@ -1 +1,2 @@ DIST dape-0.19.0.tar.gz 78244 BLAKE2B aaa4d0b129c1a3f80228527836a202ce7352c6fe4d5ac31710c62d6f9069108ed66a4e3e35808c2e197e8d57b7688249a1605eb288f212cd4f48879dcc687e68 SHA512 7533a0e88dd5418f924378861f7fa33e60c886684dff50785add4347c1cb3c0e728625f7fd9ef703787eea671ead6e5fd81ed3a3c468205e163c352dbe2a49d0 +DIST dape-0.20.0.tar.gz 78429 BLAKE2B 9f079311883ffae56226ad7bbe6835c404397980333dd9539835b2f9301908fe83be6c88eebb2e5fe553eda94303bbc6cbb4f497b92131fa9979c88dccd5a032 SHA512 8a770d84c54fe75275067ca981c96fced384797896a19331d53f782029ec984d3755801dfd29d8c4446e6ac531ffa9dc534cca3b21ae3af52547292da4158b0a diff --git a/app-emacs/dape/dape-0.20.0.ebuild b/app-emacs/dape/dape-0.20.0.ebuild new file mode 100644 index 000000000000..c4b8f0561c5d --- /dev/null +++ b/app-emacs/dape/dape-0.20.0.ebuild @@ -0,0 +1,71 @@ +# 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" + +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_test() { +# elisp-test +# } + +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}" +}