commit: 85b454d4fc55b6195ddc91b760a1b95a282311ba Author: Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com> AuthorDate: Tue Sep 24 06:16:47 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Sep 24 06:31:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85b454d4
app-emacs/geiser-guile: add 0.28.3-r100 Signed-off-by: Kacper Słomiński <kacper.slominski72 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> .../geiser-guile/geiser-guile-0.28.3-r100.ebuild | 57 ++++++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 58 insertions(+) diff --git a/app-emacs/geiser-guile/geiser-guile-0.28.3-r100.ebuild b/app-emacs/geiser-guile/geiser-guile-0.28.3-r100.ebuild new file mode 100644 index 000000000000..e9dcfb14efeb --- /dev/null +++ b/app-emacs/geiser-guile/geiser-guile-0.28.3-r100.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) + +inherit elisp guile-single + +DESCRIPTION="Guile's implementation of the Geiser protocols" +HOMEPAGE="https://gitlab.com/emacs-geiser/guile/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://gitlab.com/emacs-geiser/guile.git" +else + SRC_URI="https://gitlab.com/emacs-geiser/guile/-/archive/${PV}/guile-${PV}.tar.bz2 + -> ${P}.tar.bz2" + S="${WORKDIR}/guile-${PV}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +BDEPEND=" + app-emacs/geiser + app-emacs/transient +" +RDEPEND=" + ${BDEPEND} + ${GUILE_DEPS} +" + +PATCHES=( "${FILESDIR}/${PN}-guile-scheme-src-dir.patch" ) + +DOCS=( readme.org ) +ELISP_TEXINFO="${PN}.texi" +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + + sed -e "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" \ + -e "s|t \"guile\"|t \"${GUILE}\"|" \ + -i "${PN}.el" || die +} + +src_install() { + elisp_src_install + + insinto "${SITEETC}/${PN}" + doins -r src +} diff --git a/profiles/package.mask b/profiles/package.mask index 67f664d6bc6b..4e66861a72e9 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -270,6 +270,7 @@ dev-scheme/guile:1.8 dev-scheme/guile:2.2 dev-scheme/guile:3.0 >=dev-build/make-4.4.1-r100 +>=app-emacs/geiser-guile-0.28.3-r100 >=app-office/gnucash-5.8-r100 >=app-office/texmacs-2.1-r100 >=app-shells/gash-0.3.0-r100
