diff options
Diffstat (limited to 'app-emacs/puppet-mode')
-rw-r--r-- | app-emacs/puppet-mode/Manifest | 7 | ||||
-rw-r--r-- | app-emacs/puppet-mode/files/50puppet-mode-1-gentoo.el | 6 | ||||
-rw-r--r-- | app-emacs/puppet-mode/files/puppet-mode-0.3-version.patch | 20 | ||||
-rw-r--r-- | app-emacs/puppet-mode/metadata.xml | 9 | ||||
-rw-r--r-- | app-emacs/puppet-mode/puppet-mode-0.3-r1.ebuild | 24 | ||||
-rw-r--r-- | app-emacs/puppet-mode/puppet-mode-0.3.20171221.ebuild | 29 |
6 files changed, 95 insertions, 0 deletions
diff --git a/app-emacs/puppet-mode/Manifest b/app-emacs/puppet-mode/Manifest new file mode 100644 index 000000000000..0556f3a134d0 --- /dev/null +++ b/app-emacs/puppet-mode/Manifest @@ -0,0 +1,7 @@ +AUX 50puppet-mode-1-gentoo.el 217 BLAKE2B 632d02667437b04642b7d3510d5010a3a7952ccd6aaa301a463c629c5dd6320c847e9f05425bd5882681a471761d0fe501ccf6860faa33b9e5458a761dad40a1 SHA512 3fbe7045df9ac9d30520020d4df454a03f02989bbcaa4bae0c632f86f6e6d3fd2eeb3bed84d864077c2b85b65586406525fa621a262ec363f53d714a093f6d1a +AUX puppet-mode-0.3-version.patch 547 BLAKE2B a3731babc0e9d207c5dde31f28f0a3e2481679bc2d95f9fdadc77e153689bf6e7c1498acb93e1783863bc66de1e65ecb332a4a605fb6c3856dc8964a42e4dd5e SHA512 623496493b6f920700e042c69099060b9e89cec3a04281af0d8fb7b32c57cfa9b70833935f1ec723c4e877545ac0962b9c70054891084b50c6eb2ad8bb1eb9f2 +DIST puppet-mode-0.3.20171221.tar.gz 36707 BLAKE2B 97b285e409a1e344c12773fd1fa64c87090c883662f87fbf01f5b535e5c9027a035b6c4656ac6ca138cf872b05ff8f05af2478f2bfa5b04a10168507b48c387c SHA512 12db350e4005d2b13d8e936f1a956c3bd603709a7a88489565fd4be3a8e74c7b33e6523a7371db85927c018c260762467d6e50153eea659f87711426df7774fc +DIST puppet-mode-0.3.tar.gz 25617 BLAKE2B a9afb8e2f6c0a2b40cef6bb39d0fa2effe2ddffaa3b646562f0fc5b84d1613e556df88206835d6aad5862d526161d69c49ecd188e299e4f4175b479fe1957eee SHA512 16ba5f71a1ec6c40b1eddf2acf5c1aa1968526b959279e1cac0cfac947f82f404fc35978ce12f5851309f293e2c92f054a718ade97d156528d505dcda58434e8 +EBUILD puppet-mode-0.3-r1.ebuild 613 BLAKE2B f98dab8fc53fcd00f2b3156ee8572d4c11181ff5d6660dda7b172e99f6ad7abf7f826c423e9500aacaa6d273c51b6acf3725deb76ab155ba5a5f4c34348382ca SHA512 12a42f2ecce4bce4b2963e22dd7c4b9f9545f1ccbb8713c0cf4344ee00da59b42e3eb5922b3b20e161d946aa7314a5c95df1a61797842e0ffcad4ae43e4f92e3 +EBUILD puppet-mode-0.3.20171221.ebuild 696 BLAKE2B 880055162bb6a62c1ce6ad5cf1843c8213aa24dbd56ef0664848320a349fac820c95e0dadbf17a3c3b5bb421230559b1f080c8bfb694ad19ca5e90f867380051 SHA512 4ce05b8aa028fdffca6b21c8309ddc4bf71bbf6e5ab183f4d3ed1028c97d556eb3914aaa7a7778cf75070d02998d6e31a90874618bb935e4d50468ef96adda47 +MISC metadata.xml 282 BLAKE2B 432e60a3b04def9f566fde3852011e006c0d578c72c42115734d1af5c128440fcee68134c8f891baad437e64a8d61fbbac49e70a35ed4f6f85641e888d3a2547 SHA512 1838e22e1f5b849b816a05d1b25bd81333c8cf67ceb996177e05ba7a555b8e0e307e62cb53e6f1217f4216823e2fecf050e85437678503d60e10c6b2d5303072 diff --git a/app-emacs/puppet-mode/files/50puppet-mode-1-gentoo.el b/app-emacs/puppet-mode/files/50puppet-mode-1-gentoo.el new file mode 100644 index 000000000000..64c38ae5a31d --- /dev/null +++ b/app-emacs/puppet-mode/files/50puppet-mode-1-gentoo.el @@ -0,0 +1,6 @@ + +;;; puppet-mode site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'puppet-mode "puppet-mode" "Major mode for editing puppet manifests") +(add-to-list 'auto-mode-alist '("\\.pp$" . puppet-mode)) diff --git a/app-emacs/puppet-mode/files/puppet-mode-0.3-version.patch b/app-emacs/puppet-mode/files/puppet-mode-0.3-version.patch new file mode 100644 index 000000000000..513329dec1a2 --- /dev/null +++ b/app-emacs/puppet-mode/files/puppet-mode-0.3-version.patch @@ -0,0 +1,20 @@ +--- a/puppet-mode.el.~1~ 2014-03-13 16:30:50.000000000 +0100 ++++ b/puppet-mode.el 2017-06-30 14:38:22.749240233 +0200 +@@ -72,8 +72,6 @@ + + + ;;;; Requirements +-(require 'pkg-info) +- + (require 'cl-lib) + (require 'rx) + (require 'align) +@@ -165,7 +163,7 @@ + if called interactively, or if SHOW-VERSION is non-nil, otherwise + just return nil." + (interactive (list t)) +- (let ((version (pkg-info-version-info 'puppet-mode))) ++ (let ((version "@VERSION@")) + (when show-version + (message "Puppet Mode version: %s" version)) + version)) diff --git a/app-emacs/puppet-mode/metadata.xml b/app-emacs/puppet-mode/metadata.xml new file mode 100644 index 000000000000..c918cdef9591 --- /dev/null +++ b/app-emacs/puppet-mode/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> +</maintainer> +<stabilize-allarches/> +</pkgmetadata> diff --git a/app-emacs/puppet-mode/puppet-mode-0.3-r1.ebuild b/app-emacs/puppet-mode/puppet-mode-0.3-r1.ebuild new file mode 100644 index 000000000000..71d3827097d7 --- /dev/null +++ b/app-emacs/puppet-mode/puppet-mode-0.3-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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.rst README.rst" +SITEFILE="50${PN}-1-gentoo.el" +ELISP_PATCHES=( "${FILESDIR}/${PN}-0.3-version.patch" ) + +src_prepare() { + elisp_src_prepare + + sed -i -e 's/@VERSION@/'${PV}'/' puppet-mode.el || die +} diff --git a/app-emacs/puppet-mode/puppet-mode-0.3.20171221.ebuild b/app-emacs/puppet-mode/puppet-mode-0.3.20171221.ebuild new file mode 100644 index 000000000000..2cf8f9430f72 --- /dev/null +++ b/app-emacs/puppet-mode/puppet-mode-0.3.20171221.ebuild @@ -0,0 +1,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 +} |