commit:     d0149186910935fce0d64d00d640fae6077eb5b7
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat May 13 10:37:56 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat May 13 10:57:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0149186

app-emacs/embark-consult: new package; add 0.21

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/embark-consult/Manifest                  |  1 +
 .../embark-consult/embark-consult-0.21.ebuild      | 34 ++++++++++++++++++++++
 .../files/50embark-consult-gentoo.el               |  1 +
 app-emacs/embark-consult/metadata.xml              | 13 +++++++++
 4 files changed, 49 insertions(+)

diff --git a/app-emacs/embark-consult/Manifest 
b/app-emacs/embark-consult/Manifest
new file mode 100644
index 000000000000..e559a244a6de
--- /dev/null
+++ b/app-emacs/embark-consult/Manifest
@@ -0,0 +1 @@
+DIST embark-0.21.tar.gz 102588 BLAKE2B 
5a578fe25018591e4dbbe4b683ce1e8669003fdedef3c6eecdf039fdcdc7b2d5accbd95faebe369b5dac90be8beb3be7c0507190f2cac4556a25a58709aef7c9
 SHA512 
ab450ab17d17fa4673615d6daef9495d4e567ab612f4a732f7536427b71dffecbb0456accc7adb28cedb3f1a73709fa2e51cb01f20902dc7748755ee1ea2442c

diff --git a/app-emacs/embark-consult/embark-consult-0.21.ebuild 
b/app-emacs/embark-consult/embark-consult-0.21.ebuild
new file mode 100644
index 000000000000..5938c7ef66e4
--- /dev/null
+++ b/app-emacs/embark-consult/embark-consult-0.21.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=27.1
+
+inherit elisp
+
+DESCRIPTION="Consult integration for Embark"
+HOMEPAGE="https://github.com/oantolin/embark/";
+
+if [[ ${PV} == *9999* ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/oantolin/embark.git";
+else
+       SRC_URI="https://github.com/oantolin/embark/archive/${PV}.tar.gz
+               -> embark-${PV}.tar.gz"
+       S="${WORKDIR}"/embark-${PV}
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+       app-emacs/consult
+       app-emacs/embark
+"
+BDEPEND="${RDEPEND}"
+
+ELISP_REMOVE="avy-embark-collect.el embark-org.el embark.el"
+
+SITEFILE="50${PN}-gentoo.el"

diff --git a/app-emacs/embark-consult/files/50embark-consult-gentoo.el 
b/app-emacs/embark-consult/files/50embark-consult-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/embark-consult/files/50embark-consult-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")

diff --git a/app-emacs/embark-consult/metadata.xml 
b/app-emacs/embark-consult/metadata.xml
new file mode 100644
index 000000000000..fda35757dfa2
--- /dev/null
+++ b/app-emacs/embark-consult/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>gnu-em...@gentoo.org</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://github.com/oantolin/embark/issues/</bugs-to>
+    <remote-id type="github">oantolin/embark</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to