diff options
author | 2023-05-21 16:45:26 +0200 | |
---|---|---|
committer | 2023-05-21 16:56:25 +0200 | |
commit | 4e175d435f15b31d95e0c0e9d6c3b3ed15262240 (patch) | |
tree | 906a97cfa7d0c2fbe8542d31dd469a00a70dd8da /app-emacs/edit-indirect | |
parent | sys-kernel/zen-sources: add 6.2.13, drop 6.2.11 (diff) | |
download | gentoo-4e175d435f15b31d95e0c0e9d6c3b3ed15262240.tar.gz gentoo-4e175d435f15b31d95e0c0e9d6c3b3ed15262240.tar.bz2 gentoo-4e175d435f15b31d95e0c0e9d6c3b3ed15262240.zip |
app-emacs/edit-indirect: new package; add 0.1.10
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/edit-indirect')
-rw-r--r-- | app-emacs/edit-indirect/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/edit-indirect/edit-indirect-0.1.10.ebuild | 23 | ||||
-rw-r--r-- | app-emacs/edit-indirect/files/50edit-indirect-gentoo.el | 3 | ||||
-rw-r--r-- | app-emacs/edit-indirect/metadata.xml | 18 |
4 files changed, 45 insertions, 0 deletions
diff --git a/app-emacs/edit-indirect/Manifest b/app-emacs/edit-indirect/Manifest new file mode 100644 index 000000000000..01111eb2eace --- /dev/null +++ b/app-emacs/edit-indirect/Manifest @@ -0,0 +1 @@ +DIST edit-indirect-0.1.10.tar.gz 5270 BLAKE2B c54d6c47b67e257bde5cf4f075b3c28ea1711f2002d64389018eb088ee6a0084adf77d75a44661630b197326dc3d357694f7f43d3e2f87ebca3d5489fa169076 SHA512 5b1dc2b73bf61072e8687f0923a852cf9e49ae9817dd676d6a503361b86a906641716cb743b0cc9c30dddaaf772bdc30f63a87a58869e99139dab8a0f4c0a367 diff --git a/app-emacs/edit-indirect/edit-indirect-0.1.10.ebuild b/app-emacs/edit-indirect/edit-indirect-0.1.10.ebuild new file mode 100644 index 000000000000..ca35092609a1 --- /dev/null +++ b/app-emacs/edit-indirect/edit-indirect-0.1.10.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Edit regions in separate Emacs buffers" +HOMEPAGE="https://github.com/Fanael/edit-indirect/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Fanael/${PN}.git" +else + SRC_URI="https://github.com/Fanael/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD-2" +SLOT="0" + +SITEFILE="50${PN}-gentoo.el" diff --git a/app-emacs/edit-indirect/files/50edit-indirect-gentoo.el b/app-emacs/edit-indirect/files/50edit-indirect-gentoo.el new file mode 100644 index 000000000000..3523a6574dd3 --- /dev/null +++ b/app-emacs/edit-indirect/files/50edit-indirect-gentoo.el @@ -0,0 +1,3 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'edit-indirect-region "edit-indirect" + "Edit the region BEG..END in a separate buffer." t) diff --git a/app-emacs/edit-indirect/metadata.xml b/app-emacs/edit-indirect/metadata.xml new file mode 100644 index 000000000000..06616bbdfe27 --- /dev/null +++ b/app-emacs/edit-indirect/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <longdescription> + Edit buffer regions in separate Emacs buffers, like org-edit-src-code (from + the Org package) but for arbitrary regions. Used by markdown-mode. + </longdescription> + <stabilize-allarches /> + <upstream> + <bugs-to>https://github.com/Fanael/edit-indirect/issues/</bugs-to> + <remote-id type="github">Fanael/edit-indirect</remote-id> + </upstream> +</pkgmetadata> |