summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-12-22 19:17:29 +0100
committerUlrich Müller <ulm@gentoo.org>2022-12-22 19:48:32 +0100
commit6126e03d6b16ece28ab57c351a3930d06f6e54a4 (patch)
tree36c9274131824506a42abe081cf83814aa46cb99 /app-xemacs
parentapp-emacs/ebuild-mode: optfeature for optional runtime deps (diff)
downloadgentoo-6126e03d6b16ece28ab57c351a3930d06f6e54a4.tar.gz
gentoo-6126e03d6b16ece28ab57c351a3930d06f6e54a4.tar.bz2
gentoo-6126e03d6b16ece28ab57c351a3930d06f6e54a4.zip
app-xemacs/ebuild-mode: optfeature for optional runtime deps
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-xemacs')
-rw-r--r--app-xemacs/ebuild-mode/ebuild-mode-1.61.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-xemacs/ebuild-mode/ebuild-mode-1.61.ebuild b/app-xemacs/ebuild-mode/ebuild-mode-1.61.ebuild
index 44559c96c2ab..f424613d55e5 100644
--- a/app-xemacs/ebuild-mode/ebuild-mode-1.61.ebuild
+++ b/app-xemacs/ebuild-mode/ebuild-mode-1.61.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit optfeature
+
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
@@ -34,3 +36,9 @@ src_install() {
insinto /usr/share/xemacs/site-packages/lisp/${PN}
doins *.el *.elc
}
+
+pkg_postinst() {
+ optfeature "ebuild commands support" sys-apps/portage
+ optfeature "additional development tools" dev-util/pkgdev
+ optfeature "ebuild QA utilities" dev-util/pkgcheck
+}