diff options
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/elixir-mode/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/elixir-mode/elixir-mode-2.3.2_p20220314.ebuild | 36 | ||||
-rw-r--r-- | app-emacs/elixir-mode/files/50elixir-mode-gentoo.el | 7 | ||||
-rw-r--r-- | app-emacs/elixir-mode/metadata.xml | 13 |
4 files changed, 57 insertions, 0 deletions
diff --git a/app-emacs/elixir-mode/Manifest b/app-emacs/elixir-mode/Manifest new file mode 100644 index 000000000000..886db9f4938e --- /dev/null +++ b/app-emacs/elixir-mode/Manifest @@ -0,0 +1 @@ +DIST elixir-mode-2.3.2_p20220314.tar.gz 35711 BLAKE2B f4d712bce35f1056a2b2baf23077fff6204d572f215bf3afe31e26fc15691927afdbe880f942073e80dbe0ce3937dc619b24f89f821a6655f944a448db995744 SHA512 f4467459918db88408c2fa04fcb053fcdf2987c5907f0481034fa18bc3c7a805a7a01d071d7662f4d0db16aa02faa312f225b2b6f45587ccf06a616a1b6df485 diff --git a/app-emacs/elixir-mode/elixir-mode-2.3.2_p20220314.ebuild b/app-emacs/elixir-mode/elixir-mode-2.3.2_p20220314.ebuild new file mode 100644 index 000000000000..4d2f028027d2 --- /dev/null +++ b/app-emacs/elixir-mode/elixir-mode-2.3.2_p20220314.ebuild @@ -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 +} diff --git a/app-emacs/elixir-mode/files/50elixir-mode-gentoo.el b/app-emacs/elixir-mode/files/50elixir-mode-gentoo.el new file mode 100644 index 000000000000..d90ae53151be --- /dev/null +++ b/app-emacs/elixir-mode/files/50elixir-mode-gentoo.el @@ -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)) diff --git a/app-emacs/elixir-mode/metadata.xml b/app-emacs/elixir-mode/metadata.xml new file mode 100644 index 000000000000..5f5dd3fd1e80 --- /dev/null +++ b/app-emacs/elixir-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/elixir-editors/emacs-elixir/issues/</bugs-to> + <remote-id type="github">elixir-editors/emacs-elixir</remote-id> + </upstream> +</pkgmetadata> |