app-emacs/raku-mode: new package; add version 0.2.1_p20211121

2021.11.21 snapshot

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2022-06-03 01:52:11 +02:00
parent a457908847
commit 972736260b
4 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST raku-mode-0.2.1_p20211121.tar.gz 31506 BLAKE2B 7faa69740ea882482bf8462b4fa1da497bcce1ab46f19b7c54520d53c5e7e8f29f55204fc6f41b6ba4059503efe3057b3b901ec41d4d635975f81e6d90e2ba9a SHA512 ee2bce5ce585d2cdb7c3ca8f387dfa5acc774a5923d53567d655f9a15cefe322f486ba32e9ae4ff9105116a15cc948bc0eb9e7a30fd1b2e57ab90cd741386526

View File

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

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/Raku/raku-mode/issues/</bugs-to>
<remote-id type="github">Raku/raku-mode</remote-id>
</upstream>
</pkgmetadata>

View File

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