Skip to content

Commit

Permalink
app-emacs/tempel: new package; add 0.6
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Barć <[email protected]>
  • Loading branch information
xgqt committed Jan 14, 2023
1 parent 1d9debc commit ad8eef3
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-emacs/tempel/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST tempel-0.6.tar.gz 25563 BLAKE2B 2edd522335f8faaa989b313b04f394f30f514cf7c40ec20f5f5fe0c1f1fe1b3ae05d15e9deb103e94d3d25b86a5725caa78904a25f22f806453a705dfc5e9c82 SHA512 49938758f5289fc9c77a78dc1559ce6a454d5969b256ba0e18239855ff0667afbb131c8e2214d4994fc342397903a293ad88bf26828c693ec5e197174d78ef50
2 changes: 2 additions & 0 deletions app-emacs/tempel/files/50tempel-gentoo.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(add-to-list 'load-path "@SITELISP@")
(load "tempel-autoloads" nil t)
23 changes: 23 additions & 0 deletions app-emacs/tempel/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</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>
25 changes: 25 additions & 0 deletions app-emacs/tempel/tempel-0.6.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit ad8eef3

Please sign in to comment.