public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/julia-mode/, app-emacs/julia-mode/files/
@ 2022-03-10  1:04 Maciej Barć
  0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2022-03-10  1:04 UTC (permalink / raw
  To: gentoo-commits

commit:     321acc054e3bb837ba2ff60cae57f001cb6893f5
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  9 23:54:53 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 01:04:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=321acc05

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 <AT> gentoo.org>

 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(+)

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 @@
+<?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>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-10  1:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-10  1:04 [gentoo-commits] repo/gentoo:master commit in: app-emacs/julia-mode/, app-emacs/julia-mode/files/ Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox