From 724570cf64d3eddb687d69ef236582cdd6363fb4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 May 2023 15:59:12 +0100 Subject: gentoo auto-resync : 13:05:2023 - 15:59:11 --- app-emacs/embark/Manifest | 4 +++ app-emacs/embark/embark-0.21.ebuild | 50 +++++++++++++++++++++++++++++++ app-emacs/embark/files/50embark-gentoo.el | 2 ++ app-emacs/embark/metadata.xml | 29 ++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 app-emacs/embark/Manifest create mode 100644 app-emacs/embark/embark-0.21.ebuild create mode 100644 app-emacs/embark/files/50embark-gentoo.el create mode 100644 app-emacs/embark/metadata.xml (limited to 'app-emacs/embark') diff --git a/app-emacs/embark/Manifest b/app-emacs/embark/Manifest new file mode 100644 index 000000000000..2053a39f0ae1 --- /dev/null +++ b/app-emacs/embark/Manifest @@ -0,0 +1,4 @@ +AUX 50embark-gentoo.el 84 BLAKE2B 04485be0f020ecfee67d3985e9a4160a68e3f099384fab1c005080bc25342efee20e300bb0e02461b9fbaaf7a54b4ece8cb61d38de8a9fb15f67bde1e94efc64 SHA512 007f925facdedd5584abce60d4ccd64636ba754f1474ab77583399d93e793cbc5e78fdfed39cc5705db7cfb80e4d79e5dff2f9f9e15ea0c87ca96592a2f2c1b8 +DIST embark-0.21.tar.gz 102588 BLAKE2B 5a578fe25018591e4dbbe4b683ce1e8669003fdedef3c6eecdf039fdcdc7b2d5accbd95faebe369b5dac90be8beb3be7c0507190f2cac4556a25a58709aef7c9 SHA512 ab450ab17d17fa4673615d6daef9495d4e567ab612f4a732f7536427b71dffecbb0456accc7adb28cedb3f1a73709fa2e51cb01f20902dc7748755ee1ea2442c +EBUILD embark-0.21.ebuild 993 BLAKE2B aa96d6503dbc683e0a5966b49e5dde3a11d8fb2f68ee159192d43fd5ac223a955ee84ff7f6705be4cc5519026a216da12be86a840597ecac54976a74a9fdcde4 SHA512 560bb6ec4892fffcc17dfabbf6086360e16ec0df86caf5873a475ad58df8c91bbc558b6112e002be2aca4dec6207df80d14016349d3a3d4ec4041ad5f6d9fa01 +MISC metadata.xml 1526 BLAKE2B 02def263b6f7219e1764917ef493bb87105508b4bcb9b82364ca366bf73a3d8e9a0097525763659ed4758fdf87726e7be5e31acd701990d7a843a14a2cf211a0 SHA512 2f2e8c30b5e9bd0243577769ef9ce748075877f9c66513e18adafa9f3ce60bbbe3ce3f02704aa0354c01a18865532034e2acbafca9b515ccbddca824dd56f10b diff --git a/app-emacs/embark/embark-0.21.ebuild b/app-emacs/embark/embark-0.21.ebuild new file mode 100644 index 000000000000..38aa5db83044 --- /dev/null +++ b/app-emacs/embark/embark-0.21.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=27.1 + +inherit elisp optfeature + +DESCRIPTION="Conveniently act on minibuffer completions inside GNU Emacs" +HOMEPAGE="https://github.com/oantolin/embark/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/oantolin/${PN}.git" +else + SRC_URI="https://github.com/oantolin/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND=">=app-emacs/compat-29.1.4.0" +BDEPEND="${RDEPEND}" + +ELISP_REMOVE="avy-embark-collect.el embark-consult.el" + +DOCS=( README.org ) +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + elisp_src_compile + + elisp-make-autoload-file +} + +src_install() { + elisp_src_install + + doinfo ${PN}.texi +} + +pkg_postinst() { + elisp_pkg_postinst + + optfeature "Avy integration for Embark" app-emacs/avy-embark-collect + optfeature "Consult integration for Embark" app-emacs/embark-consult +} diff --git a/app-emacs/embark/files/50embark-gentoo.el b/app-emacs/embark/files/50embark-gentoo.el new file mode 100644 index 000000000000..933ac84875b9 --- /dev/null +++ b/app-emacs/embark/files/50embark-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "@SITELISP@/embark-autoloads.el" nil t) diff --git a/app-emacs/embark/metadata.xml b/app-emacs/embark/metadata.xml new file mode 100644 index 000000000000..84bb06449c69 --- /dev/null +++ b/app-emacs/embark/metadata.xml @@ -0,0 +1,29 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + Embark makes it easy to choose a command to run based on what is near + point, both during a minibuffer completion session (in a way familiar to + Helm or Counsel users) and in normal buffers. Bind the command embark-act + to a key and it acts like prefix-key for a keymap of actions (commands) + relevant to the target around point. With point on an URL in a buffer you + can open the URL in a browser or eww or download the file it points to. If + while switching buffers you spot an old one, you can kill it right there + and continue to select another. Embark comes preconfigured with over a + hundred actions for common types of targets such as files, buffers, + identifiers, s-expressions, sentences; and it is easy to add more actions + and more target types. Embark can also collect all the candidates in a + minibuffer to an occur-like buffer or export them to a buffer in a + major-mode specific to the type of candidates, such as dired for a set of + files, ibuffer for a set of buffers, or customize for a set of variables. + + + https://github.com/oantolin/embark/issues/ + oantolin/embark + + -- cgit v1.2.3