diff options
Diffstat (limited to 'app-emacs/geiser-chicken')
-rw-r--r-- | app-emacs/geiser-chicken/Manifest | 5 | ||||
-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, 81 insertions, 0 deletions
diff --git a/app-emacs/geiser-chicken/Manifest b/app-emacs/geiser-chicken/Manifest new file mode 100644 index 000000000000..e0c5d60321a4 --- /dev/null +++ b/app-emacs/geiser-chicken/Manifest @@ -0,0 +1,5 @@ +AUX 50geiser-chicken-gentoo.el 319 BLAKE2B 3bb243526f00cb2245d1a702f2f22eb49f9cac1fb72d81cea601ff0340bad41f595224dcb72897b241b2f145a3cc8ca3f2d0890178f18355b3c00e0a12e954b1 SHA512 293a82d1f3cad9eb24c4c83cbb7356913c924f537bc302206bc30ef7bbf2bc213182d19b6d49df47633355602d8498c9ff6d96e45238c8437864f97fbb29d096 +AUX geiser-chicken-scheme-dir.patch 357 BLAKE2B 384c49355359ba7f1b0ed79c01b9902bda1dcd6f7c6c2adca97a6aa530e43a2b9d1f4edad57cca33935dc0345cf14e36e66fbfa8c682a158fab5e9b7e66e7376 SHA512 92b68749d56664002bbe595380e56eeb2de9cb37796fcebb4e05fc4c53ccc1c7d219c5a2b72841d6ffb1f37e0004343d3a45df91d6634f6381904435a7ed7e74 +DIST geiser-chicken-0.17.tar.gz 13083 BLAKE2B 02c27de099c1cc835827781159c42664a13a8adf858bb81488f88fa1dadc0b440c791ebdde112ab33aad19dd53f9f7138ff720aee7e14541a903a2a18599f1e0 SHA512 6c292a2c3ca5d036a7af95b029f2fd913675131dd04c3481dc4fe43c534b8c0183ef63bfa386b3393cc34284451b8aa095d3ebdcc8d1bb27fb3649b64d4f5279 +EBUILD geiser-chicken-0.17.ebuild 803 BLAKE2B 6c4f20fe780100cb06f7dc1b4cf765d7751dadeb03a4fa46446b078b14ec3a294b00678d1ce7d5326558803a76af3b9992f9fee4ff674ea6b3fafa2e26df36b1 SHA512 297ef35153c0306b502d72b5aa93aaa0137dc5299f5fda83a145da871f9a7efdc266f49cf856932b06644da1d1cabc46829c27d97d6facc1934446405fb865cc +MISC metadata.xml 553 BLAKE2B b2029a398ce352e16e4b72495d4e9ae18e698a92c1cf0d794ae394cf8b93b0fec76785242ff5ce4931cde09f535bc23cb0e71100d74d27fe3c6333aa356b0a80 SHA512 3fcc988504bcdca8e09cd99cb446c0cbbc677a41309dd9aa1e675bc1d1d059a13c530baca958f038ea357897ffa9c0e720f71aa06bd5037974a1eedfca3fcfaa 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> |