summaryrefslogtreecommitdiff
path: root/app-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/Manifest.gzbin76629 -> 76634 bytes
-rw-r--r--app-emacs/dape/Manifest2
-rw-r--r--app-emacs/dape/dape-0.18.0.ebuild67
3 files changed, 69 insertions, 0 deletions
diff --git a/app-emacs/Manifest.gz b/app-emacs/Manifest.gz
index 5fe7f49ac401..615608c68363 100644
--- a/app-emacs/Manifest.gz
+++ b/app-emacs/Manifest.gz
Binary files differ
diff --git a/app-emacs/dape/Manifest b/app-emacs/dape/Manifest
index b1083e2de462..48fdfcbac0f6 100644
--- a/app-emacs/dape/Manifest
+++ b/app-emacs/dape/Manifest
@@ -1,4 +1,6 @@
AUX 50dape-gentoo.el 149 BLAKE2B fe626d62af990a5e351b78bb0f40ca6347484c4673641f5d0532dc74ec2d0b059b698f6976270b5c2e314325145df08e30c3155419e43d52630373c0bab8eb84 SHA512 a6e543b1c03d95fbf3d4672547e8e6b13d630ec6ffdcea7f1e9e602f8d9585ee6fbb740ce4078b2c01829775b6cbce447f1919e035f008613ebb40a64bc9dc36
DIST dape-0.17.0.tar.gz 77229 BLAKE2B f0942019fe6215b416cecce89b01a81bb450a615ff2898d3c67788b6c3575bbe72c1420d27b6796a619c3403a6a94e717db805e553212c0bc8a07d5ae9e6670a SHA512 a0f26ecee4ec2cd8e57035ee58f15562e3d11b61203ded80e5560951e2f37a7a1c00c44538d75699c902b39cf9d2a59edcb1a528f6ce12351717fdd6136ae6e8
+DIST dape-0.18.0.tar.gz 78174 BLAKE2B cf883262a7d23d67c5f76dacb47dbc6ea6ed62d81506e1f124d4d85e8a818c692bd26b7d3ef7543fdead999713603a3b008832d5296edcd7fa2d784a2019ec1b SHA512 4d447c7b0fb01707046baa7c6bcd9528fc12bc295259be34a3dca21f9dea85a020cec9557468282947257aad059b174ae211f953ade6d67d615fa2daf50d1400
EBUILD dape-0.17.0.ebuild 1354 BLAKE2B f3cf5270d84238c1aa1d1a24fbfb5cb5f2b46c6ecb6d50738c2f87422496c070cadbe22173d3f06bfff6ab7efc76154a2f418c13eaaf6b24f813826e05fa92a7 SHA512 50b6026fc3c3c1ea550c998830513e1ddb08284591f06beb0794864a34e4525b1a66eea4494232d96bbdc47873f474190b339b9b6228a496355af55e553073cf
+EBUILD dape-0.18.0.ebuild 1354 BLAKE2B f3cf5270d84238c1aa1d1a24fbfb5cb5f2b46c6ecb6d50738c2f87422496c070cadbe22173d3f06bfff6ab7efc76154a2f418c13eaaf6b24f813826e05fa92a7 SHA512 50b6026fc3c3c1ea550c998830513e1ddb08284591f06beb0794864a34e4525b1a66eea4494232d96bbdc47873f474190b339b9b6228a496355af55e553073cf
MISC metadata.xml 598 BLAKE2B 45e2a0bc9bfef6eee95b870c9d4d00d66f29798314093dc3cb525afdde400463c57b206122fd114f8b26c2d51d8a35f9ebf82d587d2b96436bbd3a92a2420ea0 SHA512 12b0c71e123ef1b3b0cbf32a8a7c857b9746607eb4853d2c5d1e3b7a7ccd8cdd5383eeda516586bffd1d863eb2ade6582cf8450c8944ca625a37702495be23d3
diff --git a/app-emacs/dape/dape-0.18.0.ebuild b/app-emacs/dape/dape-0.18.0.ebuild
new file mode 100644
index 000000000000..0b0fa9977676
--- /dev/null
+++ b/app-emacs/dape/dape-0.18.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2023-2024 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
+# }
+
+elisp_src_install() {
+ # Need to ignore dape-tests.el.
+ einstalldocs
+ elisp-install "${PN}" dape.el dape.elc dape-autoloads.el
+}