summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-06-29 21:28:48 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-06-29 21:49:14 +0200
commit5b7869afa670494e0bfad78900fe9394516d4836 (patch)
tree04dbe9d8e631cfaa4c6577c622e1b92be38b866d
parentapp-portage/iwdevtools: add 0.11.2 (diff)
downloadgentoo-5b7869afa670494e0bfad78900fe9394516d4836.tar.gz
gentoo-5b7869afa670494e0bfad78900fe9394516d4836.tar.bz2
gentoo-5b7869afa670494e0bfad78900fe9394516d4836.zip
app-emacs/clojure-mode: new package; add version 5.14.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--app-emacs/clojure-mode/Manifest1
-rw-r--r--app-emacs/clojure-mode/clojure-mode-5.14.0.ebuild34
-rw-r--r--app-emacs/clojure-mode/files/50clojure-mode-gentoo.el8
-rw-r--r--app-emacs/clojure-mode/metadata.xml18
4 files changed, 61 insertions, 0 deletions
diff --git a/app-emacs/clojure-mode/Manifest b/app-emacs/clojure-mode/Manifest
new file mode 100644
index 000000000000..f37d215183fb
--- /dev/null
+++ b/app-emacs/clojure-mode/Manifest
@@ -0,0 +1 @@
+DIST clojure-mode-5.14.0.tar.gz 23405449 BLAKE2B f30215834fd4f9599df93f13d94dc9ff7ee8ed55f4e1d3baca373f5665a9ef148af3e918b0db88e604e435b8f4cf4fc4447881ef2d51ee7de88e0a89c76609ae SHA512 4226d23ae2f1337edaef8203b7620f45ebb25f8e6921bd7076aee36916c1c4028add473aa5894d1d8db7a8dd03d5aa037bad05a8e90380d05583a137bef105d6
diff --git a/app-emacs/clojure-mode/clojure-mode-5.14.0.ebuild b/app-emacs/clojure-mode/clojure-mode-5.14.0.ebuild
new file mode 100644
index 000000000000..7072042976c3
--- /dev/null
+++ b/app-emacs/clojure-mode/clojure-mode-5.14.0.ebuild
@@ -0,0 +1,34 @@
+# 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/clojure-mode/"
+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 )"
+
+BDEPEND="
+ test? (
+ app-emacs/s
+ app-emacs/buttercup
+ app-emacs/paredit
+ )
+"
+
+DOCS=( README.md doc )
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ buttercup -L . -L test --traceback full || die
+}
diff --git a/app-emacs/clojure-mode/files/50clojure-mode-gentoo.el b/app-emacs/clojure-mode/files/50clojure-mode-gentoo.el
new file mode 100644
index 000000000000..67f1da6c1bf4
--- /dev/null
+++ b/app-emacs/clojure-mode/files/50clojure-mode-gentoo.el
@@ -0,0 +1,8 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'clojure-mode "clojure-mode"
+ "Major mode for editing Clojure code." t)
+(add-to-list 'auto-mode-alist '("\\(?:build\\|profile\\)\\.boot\\'" . clojure-mode))
+(add-to-list 'auto-mode-alist '("\\.\\(clj\\|cljd\\|dtm\\|edn\\)\\'" . clojure-mode))
+(add-to-list 'auto-mode-alist '("\\.cljc\\'" . clojurec-mode))
+(add-to-list 'auto-mode-alist '("\\.cljs\\'" . clojurescript-mode))
+(add-to-list 'interpreter-mode-alist '("bb" . clojure-mode))
diff --git a/app-emacs/clojure-mode/metadata.xml b/app-emacs/clojure-mode/metadata.xml
new file mode 100644
index 000000000000..f87f4686f8a3
--- /dev/null
+++ b/app-emacs/clojure-mode/metadata.xml
@@ -0,0 +1,18 @@
+<?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>
+ clojure-mode is an Emacs major mode that provides font-lock (syntax
+ highlighting), indentation, navigation and refactoring support for the
+ Clojure(Script) programming language.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/clojure-emacs/clojure-mode/issues/</bugs-to>
+ <remote-id type="github">clojure-emacs/clojure-mode</remote-id>
+ </upstream>
+</pkgmetadata>