summaryrefslogtreecommitdiff
path: root/app-emacs/geiser
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/geiser')
-rw-r--r--app-emacs/geiser/Manifest4
-rw-r--r--app-emacs/geiser/files/50geiser-gentoo.el7
-rw-r--r--app-emacs/geiser/geiser-0.23.2.ebuild41
-rw-r--r--app-emacs/geiser/metadata.xml17
4 files changed, 69 insertions, 0 deletions
diff --git a/app-emacs/geiser/Manifest b/app-emacs/geiser/Manifest
new file mode 100644
index 000000000000..16ac4921b568
--- /dev/null
+++ b/app-emacs/geiser/Manifest
@@ -0,0 +1,4 @@
+AUX 50geiser-gentoo.el 295 BLAKE2B 5dfbb043d11f242fae453719c85c7b5dd6abfa16e390de35c390d4dec9f80e512039e5d7dd6d79986df9e8d0822c12562d32001ad6bc6a33ab8c168299548044 SHA512 1a7ebc8f2b2e95ee5b1e7c81d498d6239fa88110165f54e6926bedcee4d1ba64c11e6946d8129d0a6958b0ecb280011af3c64c283279d183dc843b0328aa178c
+DIST geiser-0.23.2.tar.gz 653228 BLAKE2B ef0ce0a925a9d5df32a2b67b216dc46da535d68d70b706ffc9dd4d3bb01af879c9533337b2e8293c7bed8d3cdebeecd3f4443b3071f865cf1b7280347b202298 SHA512 dd6852d95296aaef44ad0e9a6723986372d58f9beab20bd45330aeffae590fbd5ea45822032fb9cc2712756e3b13ba5c829fbefeead4e5f41c94400bf059110e
+EBUILD geiser-0.23.2.ebuild 834 BLAKE2B b90c8a5c14b9f2dd9f8f69e1c5a93fd7b365c526df5c092b8a3569495326bb93fd4021520626a55b8b84d56f790c80287609f4a6c3ef17253e61dffc86b75095 SHA512 9e9d190d12434c0a657261b3de77d74796d183002243762c1b4ab98a94374bce1abaa12ea4c89f508041c49afbf89f090d53766edd4fbc7200c33d5e349f88dc
+MISC metadata.xml 551 BLAKE2B 2aedbc78837b20f258a94790c4a84f8bfab77f4d71e65354ea6439122c4d84378776c7f9c9a7649c0aadc68df9f33eeca482712961eb8b3af0dffde4d1769ded SHA512 aa663549e7f0710b8629889dd57bb99cc2ec2f2ea93c86d6b75dd85fe4a8467abb4688b38a38b8051655fc0705b8f1e0a7c71c6159abc7170e0bb1b9a0c7c112
diff --git a/app-emacs/geiser/files/50geiser-gentoo.el b/app-emacs/geiser/files/50geiser-gentoo.el
new file mode 100644
index 000000000000..b23f0decf094
--- /dev/null
+++ b/app-emacs/geiser/files/50geiser-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'geiser "geiser-repl"
+ "Start a Geiser REPL, or switch to a running one." t)
+(autoload 'geiser-mode "geiser-mode"
+ "Minor mode adding Geiser REPL interaction to Scheme buffers." t)
+(autoload 'run-geiser "geiser-repl"
+ "Start a Geiser REPL." t)
diff --git a/app-emacs/geiser/geiser-0.23.2.ebuild b/app-emacs/geiser/geiser-0.23.2.ebuild
new file mode 100644
index 000000000000..1fc8fadfed40
--- /dev/null
+++ b/app-emacs/geiser/geiser-0.23.2.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=25.1
+
+inherit elisp
+
+DESCRIPTION="Generic interaction mode between Emacs and different Scheme implementations"
+HOMEPAGE="https://gitlab.com/emacs-geiser/geiser/"
+SRC_URI="https://gitlab.com/emacs-geiser/${PN}/-/archive/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="app-emacs/transient"
+BDEPEND="
+ ${RDEPEND}
+ app-text/texi2html
+ sys-apps/texinfo
+"
+
+DOCS=( readme.org news.org doc/html )
+ELISP_REMOVE=".dir-locals.el"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ BYTECOMPFLAGS="-L elisp" elisp-compile elisp/*.el
+
+ emake -C doc info web
+}
+
+src_install() {
+ elisp-install ${PN} elisp/*.el{,c}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ doinfo doc/*.info
+ einstalldocs
+}
diff --git a/app-emacs/geiser/metadata.xml b/app-emacs/geiser/metadata.xml
new file mode 100644
index 000000000000..c94387f2f223
--- /dev/null
+++ b/app-emacs/geiser/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/geiser/-/issues/</bugs-to>
+ <remote-id type="gitlab">emacs-geiser/geiser</remote-id>
+ </upstream>
+</pkgmetadata>