diff options
Diffstat (limited to 'app-emacs/inf-clojure')
-rw-r--r-- | app-emacs/inf-clojure/Manifest | 4 | ||||
-rw-r--r-- | app-emacs/inf-clojure/files/50inf-clojure-gentoo.el | 6 | ||||
-rw-r--r-- | app-emacs/inf-clojure/inf-clojure-3.1.0.ebuild | 43 | ||||
-rw-r--r-- | app-emacs/inf-clojure/metadata.xml | 20 |
4 files changed, 73 insertions, 0 deletions
diff --git a/app-emacs/inf-clojure/Manifest b/app-emacs/inf-clojure/Manifest new file mode 100644 index 000000000000..9ddcde60a132 --- /dev/null +++ b/app-emacs/inf-clojure/Manifest @@ -0,0 +1,4 @@ +AUX 50inf-clojure-gentoo.el 293 BLAKE2B b3a28e9c39caea56f790d757b617e7c567a178bdb6454c57ddf1ebeb887cf8d1314596e1e84243cf00541578d7829711e29a8f376ace97a7fd31f07c83e19e93 SHA512 04f49b73aa1951fc4ec2926be3bd0de324239ee19d2556ceae1b5215c2c922a411bcbce94ff497758fbd400b9649b075ea520deb3cf8864d9ca94b200c761f8e +DIST inf-clojure-3.1.0.tar.gz 30621 BLAKE2B a3d98e47225b659763ecbb6ea08457a2803dbce3ca8f58a4a141587e10eba0618f8f1b06a6f56062bed0ede987bb78dcb92260020aacd2ba6e1e49bba954b20b SHA512 d96fd0a5db664fff553d94d1ac9bcf1f8c544d0618c24b0d894fec9564f5b1a165755ba25188a7b58ea9314416ed86f3e26921bf1c6dc86ebd4d5d27df604b69 +EBUILD inf-clojure-3.1.0.ebuild 838 BLAKE2B 26a6015136c0fb60994ca908461292f6fa0a67deba3e5e6dae345dda633ddb23060f3730f183d8f0c41ff0aff51061a231e70c6683c9b3933f256739fefe9e6d SHA512 2616c5789e1fac83fb9cbc43332544e20c0db32ab98f68d167544680b04bf1c0e9aa0fde65daf980c5af241394598ee99b213ec7c28a88a96b9618a70f89e752 +MISC metadata.xml 841 BLAKE2B 04937a37f8e22a2e47158afc92521949f455498f1eeae7aba9da638150a02293984d7d38b2cddc3c62b42ef9c300b538bf9b697f2e36f16ad97b068f979d2c41 SHA512 a1b758ca3837e0727bb9a3e5a15ecb11126d9b74c2c066d604b56d8331867cdccbad79bac8ad48742af07fc7b026902eedb7a670c8facf576cea70e6f4bba79f diff --git a/app-emacs/inf-clojure/files/50inf-clojure-gentoo.el b/app-emacs/inf-clojure/files/50inf-clojure-gentoo.el new file mode 100644 index 000000000000..429d08e1fcb9 --- /dev/null +++ b/app-emacs/inf-clojure/files/50inf-clojure-gentoo.el @@ -0,0 +1,6 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'inf-clojure "inf-clojure" + "Run an inferior Clojure process" t) +(autoload 'inf-clojure-minor-mode "inf-clojure" + "Minor mode for interacting with the inferior Clojure process buffer." t) +(add-hook 'clojure-mode-hook #'inf-clojure-minor-mode) diff --git a/app-emacs/inf-clojure/inf-clojure-3.1.0.ebuild b/app-emacs/inf-clojure/inf-clojure-3.1.0.ebuild new file mode 100644 index 000000000000..54ec4c7b8d82 --- /dev/null +++ b/app-emacs/inf-clojure/inf-clojure-3.1.0.ebuild @@ -0,0 +1,43 @@ +# 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="Major mode for Clojure code" +HOMEPAGE="https://github.com/clojure-emacs/inf-clojure/" +SRC_URI="https://github.com/clojure-emacs/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3+" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="app-emacs/clojure-mode" +BDEPEND=" + ${RDEPEND} + test? ( + app-emacs/assess + app-emacs/buttercup + ) +" + +DOCS=( CHANGELOG.md README.md ) +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + + # Silence a failing test (mark as "PENDING"). + sed "s|it \"computes no bounds|xit \"computes no bounds|" \ + -i test/${PN}-tests.el || die +} + +src_test() { + buttercup -L . -L test --traceback full || die +} diff --git a/app-emacs/inf-clojure/metadata.xml b/app-emacs/inf-clojure/metadata.xml new file mode 100644 index 000000000000..d7c53d01a39d --- /dev/null +++ b/app-emacs/inf-clojure/metadata.xml @@ -0,0 +1,20 @@ +<?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> + <longdescription> + This package provides basic interaction with a Clojure subprocess (REPL). + It's based on ideas from the popular inferior-lisp package. inf-clojure has + two components - a nice REPL buffer (inf-clojure) and a REPL interaction + minor mode (inf-clojure-minor-mode), which extends clojure-mode with + commands to evaluate forms directly in the REPL. + </longdescription> + <upstream> + <bugs-to>https://github.com/clojure-emacs/inf-clojure/issues/</bugs-to> + <remote-id type="github">clojure-emacs/inf-clojure</remote-id> + </upstream> +</pkgmetadata> |