* [gentoo-commits] repo/gentoo:master commit in: app-emacs/jq-mode/, app-emacs/jq-mode/files/
@ 2022-08-22 1:14 Maciej Barć
0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2022-08-22 1:14 UTC (permalink / raw
To: gentoo-commits
commit: 958ee5ad60bf75095dd84e01c0dc2953795c562a
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 22 01:09:31 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Aug 22 01:14:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958ee5ad
app-emacs/jq-mode: new package; add version 0.5.0_p20220610
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/jq-mode/Manifest | 1 +
app-emacs/jq-mode/files/50jq-mode-gentoo.el | 4 ++++
app-emacs/jq-mode/jq-mode-0.5.0_p20220610.ebuild | 24 ++++++++++++++++++++++++
app-emacs/jq-mode/metadata.xml | 13 +++++++++++++
4 files changed, 42 insertions(+)
diff --git a/app-emacs/jq-mode/Manifest b/app-emacs/jq-mode/Manifest
new file mode 100644
index 000000000000..da28cb7bfa5b
--- /dev/null
+++ b/app-emacs/jq-mode/Manifest
@@ -0,0 +1 @@
+DIST jq-mode-0.5.0_p20220610.tar.gz 18987 BLAKE2B 28ec0b7133de36d6422c60de8b0f7d75f71c1bcef959734f02914ac8dc2c822d1d616e6bc7007fd7ea86efd038b6411640cc4d558024b5000798afd1b49fd790 SHA512 10ad3fd0c02531171d95a6724a4e635b7e2b2b3e49f87ce0323ca7b67653c614ed5e3588216b1374d9e9c67cca5d64df91f44feef3532e5e1ada68050764a6a4
diff --git a/app-emacs/jq-mode/files/50jq-mode-gentoo.el b/app-emacs/jq-mode/files/50jq-mode-gentoo.el
new file mode 100644
index 000000000000..6b35014a151c
--- /dev/null
+++ b/app-emacs/jq-mode/files/50jq-mode-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'jq-mode "jq-mode"
+ "Major mode for editing jq files" t)
+(add-to-list 'auto-mode-alist '("\\.jq\\'" . jq-mode))
diff --git a/app-emacs/jq-mode/jq-mode-0.5.0_p20220610.ebuild b/app-emacs/jq-mode/jq-mode-0.5.0_p20220610.ebuild
new file mode 100644
index 000000000000..130de353f5d6
--- /dev/null
+++ b/app-emacs/jq-mode/jq-mode-0.5.0_p20220610.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=071c1c29bac30351ad338136f2b625e5601365cd
+NEED_EMACS=25.1
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for editing jq queries"
+HOMEPAGE="https://github.com/ljos/jq-mode/"
+SRC_URI="https://github.com/ljos/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${H}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="test" # tests fail, also they only test the ob integration
+
+RDEPEND="app-misc/jq"
+
+DOCS=( README.org )
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/jq-mode/metadata.xml b/app-emacs/jq-mode/metadata.xml
new file mode 100644
index 000000000000..b4de977dc115
--- /dev/null
+++ b/app-emacs/jq-mode/metadata.xml
@@ -0,0 +1,13 @@
+<?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>
+ <upstream>
+ <bugs-to>https://github.com/ljos/jq-mode/issues/</bugs-to>
+ <remote-id type="github">ljos/jq-mode</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-22 1:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-22 1:14 [gentoo-commits] repo/gentoo:master commit in: app-emacs/jq-mode/, app-emacs/jq-mode/files/ Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox