summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-05-13 09:24:13 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-05-13 09:37:20 +0200
commit2122e1a132c0edc9091a8c41307a8631172422fa (patch)
treeeb4ccc5172e4a865f96ffcfece678c20e85f5dfc /app-emacs
parentapp-emacs/commenter: new package; add version 0.5.2 (diff)
downloadgentoo-2122e1a132c0edc9091a8c41307a8631172422fa.tar.gz
gentoo-2122e1a132c0edc9091a8c41307a8631172422fa.tar.bz2
gentoo-2122e1a132c0edc9091a8c41307a8631172422fa.zip
app-emacs/flycheck-nimsuggest: new package; add 0.8.1_p20171027
2017.10.27 snapshot Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/flycheck-nimsuggest/Manifest1
-rw-r--r--app-emacs/flycheck-nimsuggest/files/50flycheck-nimsuggest-gentoo.el4
-rw-r--r--app-emacs/flycheck-nimsuggest/flycheck-nimsuggest-0.8.1_p20171027.ebuild26
-rw-r--r--app-emacs/flycheck-nimsuggest/metadata.xml13
4 files changed, 44 insertions, 0 deletions
diff --git a/app-emacs/flycheck-nimsuggest/Manifest b/app-emacs/flycheck-nimsuggest/Manifest
new file mode 100644
index 000000000000..2f96f7f93411
--- /dev/null
+++ b/app-emacs/flycheck-nimsuggest/Manifest
@@ -0,0 +1 @@
+DIST flycheck-nimsuggest-0.8.1_p20171027.tar.gz 2651 BLAKE2B 22bb16b6498b5bbaaba9971875a31a58e47849f3a8a03f314c957a7e59e0b61c236eb7325de9cd2899d6d05deea953ac36d7cff1c7f78e5d7d3d0a6e9c2ce81a SHA512 fe84c88617195d8ec5010c5aa551e38edd78326919748b83e8e9a6257cf0d79da70f5f804e57cd343a749816c3c4be3ce1158fd6698bc8382cd92fce0b0e9def
diff --git a/app-emacs/flycheck-nimsuggest/files/50flycheck-nimsuggest-gentoo.el b/app-emacs/flycheck-nimsuggest/files/50flycheck-nimsuggest-gentoo.el
new file mode 100644
index 000000000000..c6dd1b34d406
--- /dev/null
+++ b/app-emacs/flycheck-nimsuggest/files/50flycheck-nimsuggest-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'flycheck-nimsuggest-setup "flycheck-nimsuggest"
+ "Setup flycheck configuration for nimsuggest.")
+(add-hook 'nimsuggest-mode-hook 'flycheck-nimsuggest-setup)
diff --git a/app-emacs/flycheck-nimsuggest/flycheck-nimsuggest-0.8.1_p20171027.ebuild b/app-emacs/flycheck-nimsuggest/flycheck-nimsuggest-0.8.1_p20171027.ebuild
new file mode 100644
index 000000000000..3711e48fb146
--- /dev/null
+++ b/app-emacs/flycheck-nimsuggest/flycheck-nimsuggest-0.8.1_p20171027.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=dc9a5de1cb3ee05db5794d824610959a1f603bc9
+NEED_EMACS=24.3
+
+inherit elisp
+
+DESCRIPTION="Emacs Flycheck backend for Nim language using nimsuggest"
+HOMEPAGE="https://github.com/yuutayamada/flycheck-nimsuggest/"
+SRC_URI="https://github.com/yuutayamada/${PN}/archive/${H}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${H}
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64"
+SLOT="0"
+
+RDEPEND="app-emacs/flycheck"
+BDEPEND="${RDEPEND}"
+PDEPEND="app-emacs/nim-mode"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/flycheck-nimsuggest/metadata.xml b/app-emacs/flycheck-nimsuggest/metadata.xml
new file mode 100644
index 000000000000..84dbc42ae1d5
--- /dev/null
+++ b/app-emacs/flycheck-nimsuggest/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/yuutayamada/flycheck-nimsuggest/issues/</bugs-to>
+ <remote-id type="github">yuutayamada/flycheck-nimsuggest</remote-id>
+ </upstream>
+</pkgmetadata>