commit: 71842b2da7976f6a7e6346009514e960e15498c5 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sun Jan 18 11:39:28 2026 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Jan 18 11:39:28 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=71842b2d
app-emacs/ebuild-mode: Add conditional for live ebuild Don't install keyword-generation.sh; it is no longer used. Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> app-emacs/ebuild-mode/ebuild-mode-9999.ebuild | 22 ++++++++++++++-------- ...mode-gentoo.el => 50ebuild-mode-gentoo-1.81.el} | 0 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/app-emacs/ebuild-mode/ebuild-mode-9999.ebuild b/app-emacs/ebuild-mode/ebuild-mode-9999.ebuild index eaac3d7..4c727b3 100644 --- a/app-emacs/ebuild-mode/ebuild-mode-9999.ebuild +++ b/app-emacs/ebuild-mode/ebuild-mode-9999.ebuild @@ -3,15 +3,21 @@ 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 optfeature +inherit elisp optfeature + +if [[ ${PV} = 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/ebuild-mode.git" + EGIT_BRANCH="master" + EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}" + S="${WORKDIR}/${PN}" +else + SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +fi 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" @@ -20,9 +26,9 @@ RDEPEND="app-emacs/tty-format" BDEPEND="${RDEPEND} sys-apps/texinfo" -DOCS="ChangeLog keyword-generation.sh" +DOCS="ChangeLog" ELISP_TEXINFO="${PN}.texi" -SITEFILE="50${PN}-gentoo.el" +SITEFILE="50${PN}-gentoo-1.81.el" pkg_postinst() { elisp_pkg_postinst diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.81.el similarity index 100% rename from app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el rename to app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.81.el
