From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1B69158020 for ; Thu, 22 Dec 2022 18:48:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFD5DE0837; Thu, 22 Dec 2022 18:48:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6520E0837 for ; Thu, 22 Dec 2022 18:48:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88D5E3413D6 for ; Thu, 22 Dec 2022 18:48:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2DCD75 for ; Thu, 22 Dec 2022 18:48:49 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1671734912.d0bd1e3d2408ce98e2ae2b4f1b9ae786ca26779d.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/ebuild-mode/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/ebuild-mode/ebuild-mode-1.61.ebuild X-VCS-Directories: app-emacs/ebuild-mode/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: d0bd1e3d2408ce98e2ae2b4f1b9ae786ca26779d X-VCS-Branch: master Date: Thu, 22 Dec 2022 18:48:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 33960f9e-073f-4f29-b4d1-39eacbe358ed X-Archives-Hash: 34eff93143ed75b108d8b2f1ff2be372 commit: d0bd1e3d2408ce98e2ae2b4f1b9ae786ca26779d Author: Ulrich Müller gentoo org> AuthorDate: Thu Dec 22 18:16:49 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Dec 22 18:48:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0bd1e3d app-emacs/ebuild-mode: optfeature for optional runtime deps Signed-off-by: Ulrich Müller gentoo.org> app-emacs/ebuild-mode/ebuild-mode-1.61.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app-emacs/ebuild-mode/ebuild-mode-1.61.ebuild b/app-emacs/ebuild-mode/ebuild-mode-1.61.ebuild index d98741ee668c..55f7d250b64e 100644 --- a/app-emacs/ebuild-mode/ebuild-mode-1.61.ebuild +++ b/app-emacs/ebuild-mode/ebuild-mode-1.61.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit elisp readme.gentoo-r1 +inherit elisp optfeature DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files" HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs" @@ -18,5 +18,11 @@ BDEPEND="sys-apps/texinfo" DOCS="ChangeLog keyword-generation.sh" ELISP_TEXINFO="${PN}.texi" SITEFILE="50${PN}-gentoo-1.54.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 +}