public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/fennel-mode/, app-emacs/fennel-mode/files/
Date: Tue,  1 Mar 2022 22:25:45 +0000 (UTC)	[thread overview]
Message-ID: <1646173500.60e2fe64d25ced1645cbeb997f70fa24f6c17109.xgqt@gentoo> (raw)

commit:     60e2fe64d25ced1645cbeb997f70fa24f6c17109
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  1 22:24:26 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Mar  1 22:25:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60e2fe64

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 <AT> gentoo.org>

 app-emacs/fennel-mode/Manifest                     |  1 +
 app-emacs/fennel-mode/fennel-mode-0.4.1.ebuild     | 26 ++++++++++++++++++++++
 .../fennel-mode/files/50fennel-mode-gentoo.el      |  4 ++++
 app-emacs/fennel-mode/metadata.xml                 | 20 +++++++++++++++++
 4 files changed, 51 insertions(+)

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>


                 reply	other threads:[~2022-03-01 22:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1646173500.60e2fe64d25ced1645cbeb997f70fa24f6c17109.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox