blob: 2cf8f9430f72d9c84ba601eadf85dd1f352d98d7 (
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
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit elisp
COMMIT=b3ed5057166a4f49dfa9be638523a348b55a2fd2
DESCRIPTION="Emacs major mode for editing Puppet manifests"
HOMEPAGE="https://github.com/voxpupuli/puppet-mode"
SRC_URI="https://github.com/voxpupuli/puppet-mode/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
DOCS="CHANGES.md README.md"
SITEFILE="50${PN}-1-gentoo.el"
# Tests require unpackaged ert-runner
RESTRICT="test"
src_prepare() {
elisp_src_prepare
sed -i -e 's/@VERSION@/'${PV}'/' puppet-mode.el || die
}
|