summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-03-10 00:54:53 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-03-10 02:04:36 +0100
commit321acc054e3bb837ba2ff60cae57f001cb6893f5 (patch)
tree4d20bab95f79fbcfe7cb0952f7554dfc49209a4a /app-emacs/julia-mode/julia-mode-0.4_p20211023.ebuild
parentprofiles/arch/x86: mask sci-physics/lammps[hip] (diff)
downloadgentoo-321acc054e3bb837ba2ff60cae57f001cb6893f5.tar.gz
gentoo-321acc054e3bb837ba2ff60cae57f001cb6893f5.tar.bz2
gentoo-321acc054e3bb837ba2ff60cae57f001cb6893f5.zip
app-emacs/julia-mode: new package; add 0.4_p20211023
2021.10.23 snapshot Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/julia-mode/julia-mode-0.4_p20211023.ebuild')
-rw-r--r--app-emacs/julia-mode/julia-mode-0.4_p20211023.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-emacs/julia-mode/julia-mode-0.4_p20211023.ebuild b/app-emacs/julia-mode/julia-mode-0.4_p20211023.ebuild
new file mode 100644
index 000000000000..6a1a089fe054
--- /dev/null
+++ b/app-emacs/julia-mode/julia-mode-0.4_p20211023.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=47f43f7d839019cac3ba6559d93b29487ca118cb
+NEED_EMACS=24.3
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for the Julia programming language"
+HOMEPAGE="https://github.com/JuliaEditorSupport/julia-emacs/"
+SRC_URI="https://github.com/JuliaEditorSupport/julia-emacs/archive/${H}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/julia-emacs-${H}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( CHANGELOG.md README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \
+ -l ert -l ./julia-mode-tests.el \
+ -f ert-run-tests-batch-and-exit || die "tests failed"
+}
+
+src_install() {
+ rm ./julia-mode-tests.el{,c} || die
+
+ elisp_src_install
+}