* [gentoo-commits] repo/gentoo:master commit in: app-emacs/raku-mode/, app-emacs/raku-mode/files/
@ 2022-06-02 23:54 Maciej Barć
0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2022-06-02 23:54 UTC (permalink / raw
To: gentoo-commits
commit: 972736260b6d90cdef60ffc40c778bf37602ed0a
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 2 23:52:11 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Jun 2 23:53:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97273626
app-emacs/raku-mode: new package; add version 0.2.1_p20211121
2021.11.21 snapshot
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/raku-mode/Manifest | 1 +
app-emacs/raku-mode/files/50raku-mode-gentoo.el | 7 ++++++
app-emacs/raku-mode/metadata.xml | 13 ++++++++++
.../raku-mode/raku-mode-0.2.1_p20211121.ebuild | 29 ++++++++++++++++++++++
4 files changed, 50 insertions(+)
diff --git a/app-emacs/raku-mode/Manifest b/app-emacs/raku-mode/Manifest
new file mode 100644
index 000000000000..14ec5f78bbd8
--- /dev/null
+++ b/app-emacs/raku-mode/Manifest
@@ -0,0 +1 @@
+DIST raku-mode-0.2.1_p20211121.tar.gz 31506 BLAKE2B 7faa69740ea882482bf8462b4fa1da497bcce1ab46f19b7c54520d53c5e7e8f29f55204fc6f41b6ba4059503efe3057b3b901ec41d4d635975f81e6d90e2ba9a SHA512 ee2bce5ce585d2cdb7c3ca8f387dfa5acc774a5923d53567d655f9a15cefe322f486ba32e9ae4ff9105116a15cc948bc0eb9e7a30fd1b2e57ab90cd741386526
diff --git a/app-emacs/raku-mode/files/50raku-mode-gentoo.el b/app-emacs/raku-mode/files/50raku-mode-gentoo.el
new file mode 100644
index 000000000000..49f659e0ab11
--- /dev/null
+++ b/app-emacs/raku-mode/files/50raku-mode-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'raku-mode "raku-mode"
+ "Major mode for editing Raku code." t)
+(add-to-list 'auto-mode-alist '("\\.nqp\\'" . raku-mode))
+(add-to-list 'auto-mode-alist '("\\.p[lm]?6\\'" . raku-mode))
+(add-to-list 'auto-mode-alist '("\\.raku\\(?:mod\\|test\\)?\\'" . raku-mode))
+(add-to-list 'interpreter-mode-alist '("perl6\\|raku" . raku-mode))
diff --git a/app-emacs/raku-mode/metadata.xml b/app-emacs/raku-mode/metadata.xml
new file mode 100644
index 000000000000..8835f758ecaa
--- /dev/null
+++ b/app-emacs/raku-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/Raku/raku-mode/issues/</bugs-to>
+ <remote-id type="github">Raku/raku-mode</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emacs/raku-mode/raku-mode-0.2.1_p20211121.ebuild b/app-emacs/raku-mode/raku-mode-0.2.1_p20211121.ebuild
new file mode 100644
index 000000000000..0f07259a9572
--- /dev/null
+++ b/app-emacs/raku-mode/raku-mode-0.2.1_p20211121.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=977b14a7c1295ebf2aad2f807d3f8e7c27aeb47f
+NEED_EMACS=24.4
+
+inherit elisp
+
+DESCRIPTION="Major mode for editing Raku code"
+HOMEPAGE="https://github.com/Raku/raku-mode/"
+SRC_URI="https://github.com/Raku/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${H}
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( app-emacs/ert-runner )"
+
+DOCS=( CHANGELOG.md README.md README.tmp-imenu-notes )
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ ert-runner -L . -L test --reporter ert+duration --script test || die
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-02 23:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-02 23:54 [gentoo-commits] repo/gentoo:master commit in: app-emacs/raku-mode/, app-emacs/raku-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