diff options
-rw-r--r-- | app-emacs/puppet-mode/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/puppet-mode/puppet-mode-0.4.ebuild | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/app-emacs/puppet-mode/Manifest b/app-emacs/puppet-mode/Manifest index 0a0e9f9fc369..1fff7c5c0c89 100644 --- a/app-emacs/puppet-mode/Manifest +++ b/app-emacs/puppet-mode/Manifest @@ -1 +1,2 @@ DIST puppet-mode-0.3.20180813.tar.gz 36999 BLAKE2B 1ba96a5bbe193c88e96e51973e0d742e611c2ffe0264bae998ce07d5e4f78d37e532dcedf578a801c8e6442ce35385b5c5915837da1073895ceeddeff99b65b3 SHA512 27aeb5a3029208180bd94d7f3f762d9a88863f963824636fdb688ccb79a3c41b9370c13a536e3438c94720e04d5a02c2f64f75d5c594fc7bca32d9738dd3b756 +DIST puppet-mode-0.4.tar.gz 37731 BLAKE2B ac32c32941cad23508e0bad51536a6cc4187185cfd2141fda02f82770abb73327758e0ecd3f3789ff48d3d5f986730e51f48784ea6da502cb860c185d06ddd82 SHA512 c1ef464199df1166c09febc4a99572d00eb7e23656d3c09f3f6773450023e364c305ce19fa351f0a1a5f3e9594f5ef5ffa3a595c7ac66227c2a59918bacd161c 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 +} |