summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-03-01 23:24:26 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-03-01 23:25:00 +0100
commit60e2fe64d25ced1645cbeb997f70fa24f6c17109 (patch)
treefd2f026a3e4b2ad34cd06cb61d34da23ae017a8c /app-emacs
parentwww-apps/chromedriver-bin: bump to 99.0.4844.35 (diff)
downloadgentoo-60e2fe64d25ced1645cbeb997f70fa24f6c17109.tar.gz
gentoo-60e2fe64d25ced1645cbeb997f70fa24f6c17109.tar.bz2
gentoo-60e2fe64d25ced1645cbeb997f70fa24f6c17109.zip
app-emacs/fennel-mode: new package; add 0.4.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/fennel-mode/Manifest1
-rw-r--r--app-emacs/fennel-mode/fennel-mode-0.4.1.ebuild26
-rw-r--r--app-emacs/fennel-mode/files/50fennel-mode-gentoo.el4
-rw-r--r--app-emacs/fennel-mode/metadata.xml20
4 files changed, 51 insertions, 0 deletions
diff --git a/app-emacs/fennel-mode/Manifest b/app-emacs/fennel-mode/Manifest
new file mode 100644
index 000000000000..d98d682e9061
--- /dev/null
+++ b/app-emacs/fennel-mode/Manifest
@@ -0,0 +1 @@
+DIST fennel-mode-0.4.1.tar.gz 12426 BLAKE2B 1440a4a4357afe57b685ef477763ccafd866e79f3d538ed61101577098287562476e8c3b4caa5dc12671a64083f3ec7be3c3bfb1a1f17ff0c85b2d06329d7c3d SHA512 ee138dda43b28ca0e81e5940e8294d94652c1d2522c67fa22bf82c19d2d54f89707631ee2544929116e15a0f09b1b85cbf8c7ea3acd98af10577ea8326b34ae7
diff --git a/app-emacs/fennel-mode/fennel-mode-0.4.1.ebuild b/app-emacs/fennel-mode/fennel-mode-0.4.1.ebuild
new file mode 100644
index 000000000000..3528e2bd44cc
--- /dev/null
+++ b/app-emacs/fennel-mode/fennel-mode-0.4.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Emacs support for the Fennel programming language"
+HOMEPAGE="https://gitlab.com/technomancy/fennel-mode/"
+SRC_URI="https://gitlab.com/technomancy/${PN}/-/archive/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-lang/fennel"
+
+DOCS=( Readme.md changelog.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_install() {
+ elisp_src_install
+
+ insinto "${SITEETC}"
+ doins syntax.fnl
+}
diff --git a/app-emacs/fennel-mode/files/50fennel-mode-gentoo.el b/app-emacs/fennel-mode/files/50fennel-mode-gentoo.el
new file mode 100644
index 000000000000..b4f85277b203
--- /dev/null
+++ b/app-emacs/fennel-mode/files/50fennel-mode-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'fennel-mode "fennel-mode"
+ "Major mode for editing Fennel code." t)
+(add-to-list 'auto-mode-alist '("\\.fnl\\'" . fennel-mode))
diff --git a/app-emacs/fennel-mode/metadata.xml b/app-emacs/fennel-mode/metadata.xml
new file mode 100644
index 000000000000..ffed09b9267e
--- /dev/null
+++ b/app-emacs/fennel-mode/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="person">
+ <email>xgqt@gentoo.org</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+ <upstream>
+ <changelog>
+ https://gitlab.com/technomancy/fennel-mode/-/blob/main/changelog.md
+ </changelog>
+ <bugs-to>https://gitlab.com/technomancy/fennel-mode/-/issues/</bugs-to>
+ <remote-id type="gitlab">technomancy/fennel-mode</remote-id>
+ </upstream>
+</pkgmetadata>