mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-emacs/elixir-mode: new package; add version 2.3.2_p20220314
2022.03.14 snapshot Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
1
app-emacs/elixir-mode/Manifest
Normal file
1
app-emacs/elixir-mode/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST elixir-mode-2.3.2_p20220314.tar.gz 35711 BLAKE2B f4d712bce35f1056a2b2baf23077fff6204d572f215bf3afe31e26fc15691927afdbe880f942073e80dbe0ce3937dc619b24f89f821a6655f944a448db995744 SHA512 f4467459918db88408c2fa04fcb053fcdf2987c5907f0481034fa18bc3c7a805a7a01d071d7662f4d0db16aa02faa312f225b2b6f45587ccf06a616a1b6df485
|
||||
36
app-emacs/elixir-mode/elixir-mode-2.3.2_p20220314.ebuild
Normal file
36
app-emacs/elixir-mode/elixir-mode-2.3.2_p20220314.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
H=e0d0466d83ec80ddb412bb1473908a21baad1ec3
|
||||
NEED_EMACS=25
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Emacs major mode for editing Elixir files"
|
||||
HOMEPAGE="https://github.com/elixir-editors/emacs-elixir/"
|
||||
SRC_URI="https://github.com/elixir-editors/emacs-elixir/archive/${H}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/emacs-elixir-${H}
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-emacs/ert-runner
|
||||
app-emacs/undercover
|
||||
dev-lang/elixir
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
ert-runner -L . -L tests --reporter ert+duration tests || die
|
||||
}
|
||||
7
app-emacs/elixir-mode/files/50elixir-mode-gentoo.el
Normal file
7
app-emacs/elixir-mode/files/50elixir-mode-gentoo.el
Normal file
@@ -0,0 +1,7 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'elixir-mode "elixir-mode"
|
||||
"Major mode for editing Elixir code." t)
|
||||
(add-to-list 'auto-mode-alist '("\\.elixir\\'" . elixir-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.ex\\'" . elixir-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.exs\\'" . elixir-mode))
|
||||
(add-to-list 'auto-mode-alist '("mix\\.lock" . elixir-mode))
|
||||
13
app-emacs/elixir-mode/metadata.xml
Normal file
13
app-emacs/elixir-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/elixir-editors/emacs-elixir/issues/</bugs-to>
|
||||
<remote-id type="github">elixir-editors/emacs-elixir</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user