diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-12-27 14:21:41 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-12-27 14:21:41 +0100 |
commit | 88e94a50788f60c6e8c7d611cac1c9ecd331a78a (patch) | |
tree | 6c181a31f5bdf2d6e59754317dcac051674af5a9 | |
parent | app-emacs/ebuild-mode: Sync from Gentoo repository (diff) | |
download | emacs-88e94a50788f60c6e8c7d611cac1c9ecd331a78a.tar.gz emacs-88e94a50788f60c6e8c7d611cac1c9ecd331a78a.tar.bz2 emacs-88e94a50788f60c6e8c7d611cac1c9ecd331a78a.zip |
app-xemacs/ebuild-mode: Sync from Gentoo repository
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | app-xemacs/ebuild-mode/ebuild-mode-9999.ebuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/app-xemacs/ebuild-mode/ebuild-mode-9999.ebuild b/app-xemacs/ebuild-mode/ebuild-mode-9999.ebuild index ed3a18b..3cf1ccd 100644 --- a/app-xemacs/ebuild-mode/ebuild-mode-9999.ebuild +++ b/app-xemacs/ebuild-mode/ebuild-mode-9999.ebuild @@ -1,7 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +inherit optfeature EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/ebuild-mode.git" EGIT_BRANCH="master" @@ -11,6 +13,7 @@ inherit git-r3 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" @@ -19,8 +22,6 @@ RDEPEND=">=app-editors/xemacs-21.4.20-r5 app-xemacs/sh-script" BDEPEND="${RDEPEND}" -S="${WORKDIR}/${PN}" - src_compile() { local XEMACS="${EPREFIX}/usr/bin/xemacs" @@ -40,3 +41,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 +} |