mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
1
app-emacs/raku-mode/Manifest
Normal file
1
app-emacs/raku-mode/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST raku-mode-0.2.1_p20211121.tar.gz 31506 BLAKE2B 7faa69740ea882482bf8462b4fa1da497bcce1ab46f19b7c54520d53c5e7e8f29f55204fc6f41b6ba4059503efe3057b3b901ec41d4d635975f81e6d90e2ba9a SHA512 ee2bce5ce585d2cdb7c3ca8f387dfa5acc774a5923d53567d655f9a15cefe322f486ba32e9ae4ff9105116a15cc948bc0eb9e7a30fd1b2e57ab90cd741386526
|
||||
7
app-emacs/raku-mode/files/50raku-mode-gentoo.el
Normal file
7
app-emacs/raku-mode/files/50raku-mode-gentoo.el
Normal 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))
|
||||
13
app-emacs/raku-mode/metadata.xml
Normal file
13
app-emacs/raku-mode/metadata.xml
Normal 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>
|
||||
29
app-emacs/raku-mode/raku-mode-0.2.1_p20211121.ebuild
Normal file
29
app-emacs/raku-mode/raku-mode-0.2.1_p20211121.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user