summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-01-12 23:40:20 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-01-13 00:22:01 +0100
commit9bca7103eb58641918fc4a6b57fc73e116cf7f24 (patch)
tree87acee8666367dfc83af0004e6626e55e5b28e07 /app-emacs
parentapp-emacs/emacs-ipython-notebook: bump to 0.17.1_pre20230826 (diff)
downloadgentoo-9bca7103eb58641918fc4a6b57fc73e116cf7f24.tar.gz
gentoo-9bca7103eb58641918fc4a6b57fc73e116cf7f24.tar.bz2
gentoo-9bca7103eb58641918fc4a6b57fc73e116cf7f24.zip
app-emacs/nim-mode: bump to 0.4.2_p20231101
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/nim-mode/Manifest1
-rw-r--r--app-emacs/nim-mode/nim-mode-0.4.2_p20231101.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/app-emacs/nim-mode/Manifest b/app-emacs/nim-mode/Manifest
index 0ef9cc057cac..067bdfa99582 100644
--- a/app-emacs/nim-mode/Manifest
+++ b/app-emacs/nim-mode/Manifest
@@ -1 +1,2 @@
DIST nim-mode-0.4.2_p20211102.tar.gz 77240 BLAKE2B 54e3acc5f4bbfe5b921a44b71a423aa2bed704ed08075c893d277eaa8922c96b08087abaef0e4999f6dd237041a06593d11bf09299b1e56edc985fbddb43d6ff SHA512 09385e9413832deb86bbe223301c99366a86e81c7ec43b2add559337184ee93ded1f6d1ed9018bcd25b870d60ff4d302c11d10b55d734ef3463432ceef186601
+DIST nim-mode-0.4.2_p20231101.tar.gz 77959 BLAKE2B 465bc1b904a212d0f16f06717cb40e9be7adacf4c9c1222b97923182b0ee3f9f785d9f85728351210cefb0902aa36d890d995ba417e925bb0691b4c1a6b71def SHA512 cb1e104ec552ce2f796a5e3984de8a5274bfe66638998671fa2155b2894f400f2e03523440c502ec9da0b1b589d567f6b1d66ae2aa6fa6e8c7b306345a2b7400
diff --git a/app-emacs/nim-mode/nim-mode-0.4.2_p20231101.ebuild b/app-emacs/nim-mode/nim-mode-0.4.2_p20231101.ebuild
new file mode 100644
index 000000000000..d219e7218afa
--- /dev/null
+++ b/app-emacs/nim-mode/nim-mode-0.4.2_p20231101.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+[[ "${PV}" == *20231101 ]] && COMMIT=1338e5b0d5e111ad932efb77d3cad680cc3b86c9
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for the Nim programming language support"
+HOMEPAGE="https://github.com/nim-lang/nim-mode/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/nim-lang/${PN}.git"
+else
+ SRC_URI="https://github.com/nim-lang/${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+RESTRICT="test" # Some test are broken.
+
+RDEPEND="
+ app-emacs/commenter
+ app-emacs/epc
+"
+BDEPEND="
+ ${RDEPEND}
+"
+PDEPEND="
+ app-emacs/flycheck-nimsuggest
+"
+
+DOCS=( README.md starterKit.nims )
+SITEFILE="50${PN}-gentoo.el"
+
+elisp-enable-tests buttercup tests