diff options
Diffstat (limited to 'app-emacs/puppet-mode/puppet-mode-0.4.ebuild')
-rw-r--r-- | app-emacs/puppet-mode/puppet-mode-0.4.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-emacs/puppet-mode/puppet-mode-0.4.ebuild b/app-emacs/puppet-mode/puppet-mode-0.4.ebuild new file mode 100644 index 000000000000..4f99ae64d690 --- /dev/null +++ b/app-emacs/puppet-mode/puppet-mode-0.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit elisp + +DESCRIPTION="Emacs major mode for editing Puppet manifests" +HOMEPAGE="https://github.com/voxpupuli/puppet-mode" +SRC_URI="https://github.com/voxpupuli/puppet-mode/archive/${PV}.tar.gz -> ${P}.tar.gz" + +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 +} |