blob: 99ff9aa5561e83f37fc8cc74e006cbeda66415f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp readme.gentoo-r1
DESCRIPTION="EditorConfig plugin for emacs"
HOMEPAGE="https://github.com/editorconfig/editorconfig-emacs"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/editorconfig/${PN}.git"
else
SRC_URI="https://github.com/editorconfig/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64 x86"
fi
LICENSE="GPL-3+"
SLOT="0"
SITEFILE="50${PN}-gentoo.el"
DOCS=( CHANGELOG.md README.md )
DOC_CONTENTS="The EditorConfig feature is not enabled as a site default.
Add the following line to your ~/.emacs file to activate it:
\n\t(editorconfig-mode 1)"
elisp-enable-tests ert ./ert-tests -l ./ert-tests/editorconfig-core.el
|