From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 22E62158B20 for ; Tue, 04 Feb 2025 12:52:48 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 04D7E34300E for ; Tue, 04 Feb 2025 12:52:48 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 906B0110476; Tue, 04 Feb 2025 12:52:35 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 87C52110475 for ; Tue, 04 Feb 2025 12:52:35 +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 3492F342FE2 for ; Tue, 04 Feb 2025 12:52:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D03E2641 for ; Tue, 04 Feb 2025 12:52:32 +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: <1738673547.a91edbfef2c128b89e0a8bc9d8ed2d3c511660a5.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.22.0.ebuild X-VCS-Directories: app-emacs/dape/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: a91edbfef2c128b89e0a8bc9d8ed2d3c511660a5 X-VCS-Branch: master Date: Tue, 04 Feb 2025 12:52:32 +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: 5f3e8a79-869e-405d-ab26-91dff514153c X-Archives-Hash: 8baad9b46e8d810aab52bd474b522db8 commit: a91edbfef2c128b89e0a8bc9d8ed2d3c511660a5 Author: Maciej Barć gentoo org> AuthorDate: Tue Feb 4 12:08:47 2025 +0000 Commit: Maciej Barć gentoo org> CommitDate: Tue Feb 4 12:52:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a91edbfe app-emacs/dape: bump to 0.22.0 Signed-off-by: Maciej Barć gentoo.org> app-emacs/dape/Manifest | 1 + app-emacs/dape/dape-0.22.0.ebuild | 70 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/app-emacs/dape/Manifest b/app-emacs/dape/Manifest index 0bd04ed529c4..d94f40060c90 100644 --- a/app-emacs/dape/Manifest +++ b/app-emacs/dape/Manifest @@ -1 +1,2 @@ DIST dape-0.21.0.tar.gz 78689 BLAKE2B 12ae2ea5771ff303693b1477fe5f535d9295d138bd16ca0859bd7cbdfbf93c18347cb6dc9910c93001947dc58cba4064c0782f0007057ea99932a2674963da90 SHA512 0ecbe997859148f5bd1154b946d617df054772244cadb8697c97fe82d1deb572d47d26668229e3d0dbb02f4339b51a334cd06922050dbb592a4f05581fb35012 +DIST dape-0.22.0.tar.gz 78792 BLAKE2B 42743bcb2c82680b90f42c01a9212eca08eba7c41bc8874ffebbe9f1b4003812ad453afb8ef049c085def3466c835a7f63c4b96efe6fccfd6366089d303df990 SHA512 057776fd479dbf1ca3206593fd778e35182e9a2915966ff6e45c87c76e62a96dc19474d35a5bba4015f419e34cf8fa31d214c4164c6cab2ed6e5edb788e4a658 diff --git a/app-emacs/dape/dape-0.22.0.ebuild b/app-emacs/dape/dape-0.22.0.ebuild new file mode 100644 index 000000000000..e3cc513f8bb9 --- /dev/null +++ b/app-emacs/dape/dape-0.22.0.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}" +}