summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-12-27 14:21:11 +0100
committerUlrich Müller <ulm@gentoo.org>2022-12-27 14:21:11 +0100
commit9f99f31e15819f57ce4f8f06587173c5d9f04070 (patch)
tree9ef445f2bbe3dc27aaa1b810413f5f80dc6d5e3a
parentapp-editors/emacs: Apply some changes from 24.5 to 24.3 (diff)
downloademacs-9f99f31e15819f57ce4f8f06587173c5d9f04070.tar.gz
emacs-9f99f31e15819f57ce4f8f06587173c5d9f04070.tar.bz2
emacs-9f99f31e15819f57ce4f8f06587173c5d9f04070.zip
app-emacs/ebuild-mode: Sync from Gentoo repository
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--app-emacs/ebuild-mode/ebuild-mode-9999.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/app-emacs/ebuild-mode/ebuild-mode-9999.ebuild b/app-emacs/ebuild-mode/ebuild-mode-9999.ebuild
index 283609e..1bec4c2 100644
--- a/app-emacs/ebuild-mode/ebuild-mode-9999.ebuild
+++ b/app-emacs/ebuild-mode/ebuild-mode-9999.ebuild
@@ -1,25 +1,31 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/ebuild-mode.git"
EGIT_BRANCH="master"
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}"
-inherit elisp git-r3 readme.gentoo-r1
+inherit elisp git-r3 optfeature
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
+S="${WORKDIR}/${PN}"
LICENSE="GPL-2+"
SLOT="0"
BDEPEND="sys-apps/texinfo"
-S="${WORKDIR}/${PN}"
DOCS="ChangeLog keyword-generation.sh"
ELISP_TEXINFO="${PN}.texi"
SITEFILE="50${PN}-gentoo.el"
-DOC_CONTENTS="Some optional features may require installation of additional
- packages, like dev-python/docutils-glep for glep."
+
+pkg_postinst() {
+ elisp_pkg_postinst
+ optfeature "ebuild commands support" sys-apps/portage
+ optfeature "additional development tools" dev-util/pkgdev
+ optfeature "ebuild QA utilities" dev-util/pkgcheck
+ optfeature "generating HTML from GLEPs" dev-python/docutils-glep
+}