summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-05-31 02:01:45 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-05-31 02:26:17 +0200
commit3dddd1feb5af053f9b4882eae61ef294b4e01f11 (patch)
treeae0ec1457aac160cefe9b9936ea4d8e51867cd0b /app-emacs
parentapp-emacs/load-relative: new package; add version 1.3.1 (diff)
downloadgentoo-3dddd1feb5af053f9b4882eae61ef294b4e01f11.tar.gz
gentoo-3dddd1feb5af053f9b4882eae61ef294b4e01f11.tar.bz2
gentoo-3dddd1feb5af053f9b4882eae61ef294b4e01f11.zip
app-emacs/m-buffer: new package; add version 0.15
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/m-buffer/Manifest1
-rw-r--r--app-emacs/m-buffer/files/50m-buffer-gentoo.el1
-rw-r--r--app-emacs/m-buffer/m-buffer-0.15.ebuild28
-rw-r--r--app-emacs/m-buffer/metadata.xml19
4 files changed, 49 insertions, 0 deletions
diff --git a/app-emacs/m-buffer/Manifest b/app-emacs/m-buffer/Manifest
new file mode 100644
index 000000000000..c24e00f91828
--- /dev/null
+++ b/app-emacs/m-buffer/Manifest
@@ -0,0 +1 @@
+DIST m-buffer-0.15.tar.gz 19211 BLAKE2B b4cbb7bdac9e68622db03acba07b5422181599e69e6d92740aa364684c998de9a24c8740cc2d7ec0dc40e9eee56f211a93bcfd734d30b9b44b8ca3b54ec4f39c SHA512 94465cbec24137d82498ce68d7e76f871e3986afae0bb419b8e65b740c54d6c65db8ab0dedf87392cbd2b383c7ca8eb96cf295139bb1322e7652e44ac41937ae
diff --git a/app-emacs/m-buffer/files/50m-buffer-gentoo.el b/app-emacs/m-buffer/files/50m-buffer-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/m-buffer/files/50m-buffer-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/m-buffer/m-buffer-0.15.ebuild b/app-emacs/m-buffer/m-buffer-0.15.ebuild
new file mode 100644
index 000000000000..69f1a9262033
--- /dev/null
+++ b/app-emacs/m-buffer/m-buffer-0.15.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="List Oriented Buffer Operations for Emacs"
+HOMEPAGE="https://github.com/phillord/m-buffer-el/"
+SRC_URI="https://github.com/phillord/${PN}-el/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-el-${PV}
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( app-emacs/load-relative )"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ ${EMACS} ${EMACSFLAGS} -L . -L test \
+ -l dev/assess-discover -f assess-discover-run-and-exit-batch || die
+}
diff --git a/app-emacs/m-buffer/metadata.xml b/app-emacs/m-buffer/metadata.xml
new file mode 100644
index 000000000000..84e803c50139
--- /dev/null
+++ b/app-emacs/m-buffer/metadata.xml
@@ -0,0 +1,19 @@
+<?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>
+ This package provides a set of list-orientated functions for operating over
+ the contents of Emacs buffers. Functions are generally purish: i.e. they
+ may change the state of one buffer by side-effect, but should not affect
+ point, current buffer, match data or so forth.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/phillord/m-buffer-el/issues/</bugs-to>
+ <remote-id type="github">phillord/m-buffer-el</remote-id>
+ </upstream>
+</pkgmetadata>