From 321acc054e3bb837ba2ff60cae57f001cb6893f5 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Thu, 10 Mar 2022 00:54:53 +0100 Subject: app-emacs/julia-mode: new package; add 0.4_p20211023 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2021.10.23 snapshot Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Maciej Barć --- app-emacs/julia-mode/Manifest | 1 + app-emacs/julia-mode/files/50julia-mode-gentoo.el | 4 +++ .../julia-mode/julia-mode-0.4_p20211023.ebuild | 34 ++++++++++++++++++++++ app-emacs/julia-mode/metadata.xml | 13 +++++++++ 4 files changed, 52 insertions(+) create mode 100644 app-emacs/julia-mode/Manifest create mode 100644 app-emacs/julia-mode/files/50julia-mode-gentoo.el create mode 100644 app-emacs/julia-mode/julia-mode-0.4_p20211023.ebuild create mode 100644 app-emacs/julia-mode/metadata.xml (limited to 'app-emacs/julia-mode') diff --git a/app-emacs/julia-mode/Manifest b/app-emacs/julia-mode/Manifest new file mode 100644 index 000000000000..5bc9a0557175 --- /dev/null +++ b/app-emacs/julia-mode/Manifest @@ -0,0 +1 @@ +DIST julia-mode-0.4_p20211023.tar.gz 52354 BLAKE2B 6a669475791c7605088bad16a0e67e77e8f6d31aec24fa2de5aed3f64c9452d850909df3b6f37dae8955e008439faa3d44b451c6a81c420aeea127300c252432 SHA512 204790244d95ee95cf6ec2ab5f30f00e740089872dfe327d7fea3104b1d24a7a1b6485b9d51bf8157d6622b074a673db9fe4e127846efc78969045d45a9d5730 diff --git a/app-emacs/julia-mode/files/50julia-mode-gentoo.el b/app-emacs/julia-mode/files/50julia-mode-gentoo.el new file mode 100644 index 000000000000..c5b84ee3b143 --- /dev/null +++ b/app-emacs/julia-mode/files/50julia-mode-gentoo.el @@ -0,0 +1,4 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'julia-mode "julia-mode" + "Major mode for editing julia code." t) +(add-to-list 'auto-mode-alist '("\\.jl\\'" . julia-mode)) 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 +} diff --git a/app-emacs/julia-mode/metadata.xml b/app-emacs/julia-mode/metadata.xml new file mode 100644 index 000000000000..5f992b94a9d4 --- /dev/null +++ b/app-emacs/julia-mode/metadata.xml @@ -0,0 +1,13 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + https://github.com/JuliaEditorSupport/julia-emacs/issues/ + JuliaEditorSupport/julia-emacs + + -- cgit v1.2.3-65-gdbad