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>
This commit is contained in:
Maciej Barć
2022-03-10 00:54:53 +01:00
parent ec48826d4d
commit 321acc054e
4 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST julia-mode-0.4_p20211023.tar.gz 52354 BLAKE2B 6a669475791c7605088bad16a0e67e77e8f6d31aec24fa2de5aed3f64c9452d850909df3b6f37dae8955e008439faa3d44b451c6a81c420aeea127300c252432 SHA512 204790244d95ee95cf6ec2ab5f30f00e740089872dfe327d7fea3104b1d24a7a1b6485b9d51bf8157d6622b074a673db9fe4e127846efc78969045d45a9d5730

View File

@@ -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))

View File

@@ -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
}

View File

@@ -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/JuliaEditorSupport/julia-emacs/issues/</bugs-to>
<remote-id type="github">JuliaEditorSupport/julia-emacs</remote-id>
</upstream>
</pkgmetadata>