commit:     4ec0c742806dfbe31a23909aa492cd1a4a8a61bb
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 29 09:42:36 2024 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Mon Apr 29 23:17:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ec0c742

app-emacs/eldoc-box: new package, add 1.11.1

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

 app-emacs/eldoc-box/Manifest                    |  1 +
 app-emacs/eldoc-box/eldoc-box-1.11.1.ebuild     | 33 +++++++++++++++++++++++++
 app-emacs/eldoc-box/files/50eldoc-box-gentoo.el |  2 ++
 app-emacs/eldoc-box/metadata.xml                | 16 ++++++++++++
 4 files changed, 52 insertions(+)

diff --git a/app-emacs/eldoc-box/Manifest b/app-emacs/eldoc-box/Manifest
new file mode 100644
index 000000000000..336702e7ad6a
--- /dev/null
+++ b/app-emacs/eldoc-box/Manifest
@@ -0,0 +1 @@
+DIST eldoc-box-1.11.1.tar.gz 718679 BLAKE2B 
3ba731f851849275609d309f0121971484aade6f6aa0c974efc8c6a6b79c7460230199b03eb58f8fc918f82d8d24fa068b5586702098009e6c314ae275d6f0f3
 SHA512 
0c984cd086e7640da439ca1be2fe37bfadb40fa3a87476fb2b19df1c35c0b0efdd777632027165a74b29631dd38be1829c6b05d6edc66942721ed755666d500d

diff --git a/app-emacs/eldoc-box/eldoc-box-1.11.1.ebuild 
b/app-emacs/eldoc-box/eldoc-box-1.11.1.ebuild
new file mode 100644
index 000000000000..e466b68c6ef4
--- /dev/null
+++ b/app-emacs/eldoc-box/eldoc-box-1.11.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=27.1
+
+inherit elisp
+
+DESCRIPTION="Child frame doc for Eglot and anything that uses ElDoc"
+HOMEPAGE="https://github.com/casouri/eldoc-box";
+
+if [[ ${PV} == *9999* ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/casouri/${PN}.git";
+else
+       SRC_URI="https://github.com/casouri/${PN}/archive/v${PV}.tar.gz
+               -> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+BDEPEND="${RDEPEND}"
+
+DOCS=( README.org )
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+       elisp-make-autoload-file
+       elisp_src_compile
+}

diff --git a/app-emacs/eldoc-box/files/50eldoc-box-gentoo.el 
b/app-emacs/eldoc-box/files/50eldoc-box-gentoo.el
new file mode 100644
index 000000000000..933680b3eb23
--- /dev/null
+++ b/app-emacs/eldoc-box/files/50eldoc-box-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/eldoc-box-autoloads" nil t)

diff --git a/app-emacs/eldoc-box/metadata.xml b/app-emacs/eldoc-box/metadata.xml
new file mode 100644
index 000000000000..b6c56be55788
--- /dev/null
+++ b/app-emacs/eldoc-box/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <description>Arsen Arsenović</description>
+  </maintainer>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">casouri/eldoc-box</remote-id>
+    <bugs-to>https://github.com/casouri/eldoc-box/issues</bugs-to>
+  </upstream>
+</pkgmetadata>

Reply via email to