summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-01-14 10:19:57 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-01-14 17:45:10 +0100
commitad8eef34a0bc806efc270ca824fb0ad2dc0f9e58 (patch)
tree48a5ef2052d27cc1097f58d3d0f23cbb8ec561ea /app-emacs
parentsys-devel/binutils: Version bump 2.40 (unkeyworded) (diff)
downloadgentoo-ad8eef34a0bc806efc270ca824fb0ad2dc0f9e58.tar.gz
gentoo-ad8eef34a0bc806efc270ca824fb0ad2dc0f9e58.tar.bz2
gentoo-ad8eef34a0bc806efc270ca824fb0ad2dc0f9e58.zip
app-emacs/tempel: new package; add 0.6
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/tempel/Manifest1
-rw-r--r--app-emacs/tempel/files/50tempel-gentoo.el2
-rw-r--r--app-emacs/tempel/metadata.xml23
-rw-r--r--app-emacs/tempel/tempel-0.6.ebuild25
4 files changed, 51 insertions, 0 deletions
diff --git a/app-emacs/tempel/Manifest b/app-emacs/tempel/Manifest
new file mode 100644
index 000000000000..09677cc20766
--- /dev/null
+++ b/app-emacs/tempel/Manifest
@@ -0,0 +1 @@
+DIST tempel-0.6.tar.gz 25563 BLAKE2B 2edd522335f8faaa989b313b04f394f30f514cf7c40ec20f5f5fe0c1f1fe1b3ae05d15e9deb103e94d3d25b86a5725caa78904a25f22f806453a705dfc5e9c82 SHA512 49938758f5289fc9c77a78dc1559ce6a454d5969b256ba0e18239855ff0667afbb131c8e2214d4994fc342397903a293ad88bf26828c693ec5e197174d78ef50
diff --git a/app-emacs/tempel/files/50tempel-gentoo.el b/app-emacs/tempel/files/50tempel-gentoo.el
new file mode 100644
index 000000000000..4dd9e924962a
--- /dev/null
+++ b/app-emacs/tempel/files/50tempel-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "tempel-autoloads" nil t)
diff --git a/app-emacs/tempel/metadata.xml b/app-emacs/tempel/metadata.xml
new file mode 100644
index 000000000000..d274e25d5a17
--- /dev/null
+++ b/app-emacs/tempel/metadata.xml
@@ -0,0 +1,23 @@
+<?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>
+ Tempel is a tiny template package for Emacs, which uses the syntax of the
+ Emacs Tempo library. Tempo is an ancient temple of the church of Emacs. It
+ is 27 years old, but still in good shape since it successfully resisted
+ change over the decades. However it may look a bit dusty here and there.
+ Therefore we present Tempel, a new implementation of Tempo with inline
+ expansion and integration with recent Emacs facilities. Tempel takes
+ advantage of the standard completion-at-point-functions mechanism which is
+ used by Emacs for in-buffer completion.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/minad/tempel/issues/</bugs-to>
+ <remote-id type="github">minad/tempel</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emacs/tempel/tempel-0.6.ebuild b/app-emacs/tempel/tempel-0.6.ebuild
new file mode 100644
index 000000000000..1d707c8aabb8
--- /dev/null
+++ b/app-emacs/tempel/tempel-0.6.ebuild
@@ -0,0 +1,25 @@
+# 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="Templates with in-buffer field editing for GNU Emacs"
+HOMEPAGE="https://github.com/minad/tempel/"
+SRC_URI="https://github.com/minad/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( README.org )
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp_src_compile
+ elisp-make-autoload-file
+}