diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-07-17 02:25:05 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-07-17 03:03:51 +0200 |
commit | a5ae4e9b7add4620418b425c385de71bcee15ccc (patch) | |
tree | 8df9044207a4de621a7ac6472d0d61da406a2a0b /app-emacs/geiser-chicken | |
parent | dev-vcs/gitolite-gentoo: update Manifest (diff) | |
download | gentoo-a5ae4e9b7add4620418b425c385de71bcee15ccc.tar.gz gentoo-a5ae4e9b7add4620418b425c385de71bcee15ccc.tar.bz2 gentoo-a5ae4e9b7add4620418b425c385de71bcee15ccc.zip |
app-emacs/geiser-chicken: new package; add version 0.17
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/geiser-chicken')
-rw-r--r-- | app-emacs/geiser-chicken/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/geiser-chicken/files/50geiser-chicken-gentoo.el | 7 | ||||
-rw-r--r-- | app-emacs/geiser-chicken/files/geiser-chicken-scheme-dir.patch | 11 | ||||
-rw-r--r-- | app-emacs/geiser-chicken/geiser-chicken-0.17.ebuild | 41 | ||||
-rw-r--r-- | app-emacs/geiser-chicken/metadata.xml | 17 |
5 files changed, 77 insertions, 0 deletions
diff --git a/app-emacs/geiser-chicken/Manifest b/app-emacs/geiser-chicken/Manifest new file mode 100644 index 000000000000..93bdca3cb105 --- /dev/null +++ b/app-emacs/geiser-chicken/Manifest @@ -0,0 +1 @@ +DIST geiser-chicken-0.17.tar.gz 13083 BLAKE2B 02c27de099c1cc835827781159c42664a13a8adf858bb81488f88fa1dadc0b440c791ebdde112ab33aad19dd53f9f7138ff720aee7e14541a903a2a18599f1e0 SHA512 6c292a2c3ca5d036a7af95b029f2fd913675131dd04c3481dc4fe43c534b8c0183ef63bfa386b3393cc34284451b8aa095d3ebdcc8d1bb27fb3649b64d4f5279 diff --git a/app-emacs/geiser-chicken/files/50geiser-chicken-gentoo.el b/app-emacs/geiser-chicken/files/50geiser-chicken-gentoo.el new file mode 100644 index 000000000000..e8c115fa7126 --- /dev/null +++ b/app-emacs/geiser-chicken/files/50geiser-chicken-gentoo.el @@ -0,0 +1,7 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'connect-to-chicken "geiser-chicken" + "Connect to a remote Geiser Chicken REPL." t) +(autoload 'run-chicken "geiser-chicken" + "Start a Geiser Chicken REPL." t) +(autoload 'switch-to-chicken "geiser-chicken" + "Start a Geiser Chicken REPL, or switch to a running one." t) diff --git a/app-emacs/geiser-chicken/files/geiser-chicken-scheme-dir.patch b/app-emacs/geiser-chicken/files/geiser-chicken-scheme-dir.patch new file mode 100644 index 000000000000..5779f23a733f --- /dev/null +++ b/app-emacs/geiser-chicken/files/geiser-chicken-scheme-dir.patch @@ -0,0 +1,11 @@ +--- a/geiser-chicken.el ++++ b/geiser-chicken.el +@@ -123,7 +123,7 @@ this variable to t." + ;;; REPL support: + + (defvar geiser-chicken-scheme-dir +- (expand-file-name "src" (file-name-directory load-file-name)) ++ (expand-file-name "src" "@SITEETC@") + "Directory where the Chicken scheme geiser modules are installed.") + + (defun geiser-chicken--binary () diff --git a/app-emacs/geiser-chicken/geiser-chicken-0.17.ebuild b/app-emacs/geiser-chicken/geiser-chicken-0.17.ebuild new file mode 100644 index 000000000000..a1cc4fd51604 --- /dev/null +++ b/app-emacs/geiser-chicken/geiser-chicken-0.17.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=26.1 + +inherit elisp + +DESCRIPTION="Chicken Scheme's implementation of the Geiser protocols" +HOMEPAGE="https://gitlab.com/emacs-geiser/chicken/" +SRC_URI="https://gitlab.com/emacs-geiser/chicken/-/archive/${PV}/chicken-${PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/chicken-${PV} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="app-emacs/geiser" +RDEPEND=" + ${BDEPEND} + dev-scheme/chicken +" + +DOCS=( readme.org ) +PATCHES=( "${FILESDIR}"/${PN}-scheme-dir.patch ) +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + + sed "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" -i ${PN}.el || die +} + +src_install() { + elisp_src_install + + insinto ${SITEETC}/${PN} + doins -r src +} diff --git a/app-emacs/geiser-chicken/metadata.xml b/app-emacs/geiser-chicken/metadata.xml new file mode 100644 index 000000000000..4a6b5ade29ce --- /dev/null +++ b/app-emacs/geiser-chicken/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <maintainer type="project"> + <email>scheme@gentoo.org</email> + <name>Gentoo Scheme Project</name> + </maintainer> + <upstream> + <bugs-to>https://gitlab.com/emacs-geiser/chicken/-/issues/</bugs-to> + <remote-id type="gitlab">emacs-geiser/chicken</remote-id> + </upstream> +</pkgmetadata> |