# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit elisp readme.gentoo-r1

DESCRIPTION="EditorConfig plugin for emacs"
HOMEPAGE="https://github.com/editorconfig/editorconfig-emacs"
SRC_URI="https://github.com/editorconfig/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test"		# make test requires a git repo

SITEFILE="50${PN}-gentoo.el"
DOCS="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)"
