diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-04-07 16:48:02 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-04-07 17:04:32 +0200 |
commit | 32d18e4a6bde5c00ce0f6b89533e7882ded1642e (patch) | |
tree | 31885727b22815769fd3cf79ae9b75e5a5b8b94a /app-emacs/which-key/which-key-3.6.0.ebuild | |
parent | net-wireless/lorcon: use newer pep517 (diff) | |
download | gentoo-32d18e4a6bde5c00ce0f6b89533e7882ded1642e.tar.gz gentoo-32d18e4a6bde5c00ce0f6b89533e7882ded1642e.tar.bz2 gentoo-32d18e4a6bde5c00ce0f6b89533e7882ded1642e.zip |
app-emacs/which-key: new package; add version 3.6.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/which-key/which-key-3.6.0.ebuild')
-rw-r--r-- | app-emacs/which-key/which-key-3.6.0.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-emacs/which-key/which-key-3.6.0.ebuild b/app-emacs/which-key/which-key-3.6.0.ebuild new file mode 100644 index 000000000000..e5243f24d20c --- /dev/null +++ b/app-emacs/which-key/which-key-3.6.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=24.4 + +inherit elisp readme.gentoo-r1 + +DESCRIPTION="Display the key bindings following your currently entered keys" +HOMEPAGE="https://github.com/justbur/emacs-which-key/" +SRC_URI="https://github.com/justbur/emacs-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/emacs-${P} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DOCS=( README.org img ) +SITEFILE="50${PN}-gentoo.el" +DOC_CONTENTS="To enable \"which-key-mode\" globally, + add the following to your init file: + \n\t(which-key-mode)" + +src_test() { + ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} -l ${PN}.el -l ${PN}-tests.el \ + -f ert-run-tests-batch-and-exit || die "tests failed" +} + +src_install() { + elisp-install ${PN} ${PN}.el{,c} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + + einstalldocs + readme.gentoo_create_doc +} |