app-admin/puppet-lint: add 2.3.4
authorHans de Graaff <graaff@gentoo.org>
Mon, 26 Mar 2018 05:36:06 +0000 (07:36 +0200)
committerHans de Graaff <graaff@gentoo.org>
Mon, 26 Mar 2018 05:45:19 +0000 (07:45 +0200)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

app-admin/puppet-lint/Manifest
app-admin/puppet-lint/puppet-lint-2.3.4.ebuild [new file with mode: 0644]

index c6dfa2eaa76f2faa7b6c172b1ebf1fe55a558b01..491c3200805371a13819a6c2ddd0a61919ed1905 100644 (file)
@@ -1 +1,2 @@
 DIST puppet-lint-2.3.3.gem 84992 BLAKE2B 57b6d6332b7d26daf193ba983ff1e5d560cf4f902f1b476de3b1f7254755851397685d7b435dd7365f81e1427d91ca47ffa889a9d87a14e1c4720e44aa2b7996 SHA512 9203e8d29cb4a5c5abf8279598599db4a9063d33d7b7d6c76f8ebf09c3ba539f6035083b5438bae2b0fda1d16880ffcb69a2776ebce7f54bc1a1430c2ceb0d68
+DIST puppet-lint-2.3.4.gem 86016 BLAKE2B 4e7c0da6bb77558312b389be68ee17a75a2dffa795eb0a985101177f45ac362d0a4bf70804198b82f981bcc2023768503f7362799a2853ea2e159071853c5dfc SHA512 27ef230b337ffffeae8395efa2329ad150b7f0a21bfff1b2e5ee4807dd088705723d9887ae3c166eeb8daa61337d2efd5907fcb5c86c6cfb0a42c0fc30dfd7ba
diff --git a/app-admin/puppet-lint/puppet-lint-2.3.4.ebuild b/app-admin/puppet-lint/puppet-lint-2.3.4.ebuild
new file mode 100644 (file)
index 0000000..e672004
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit eutils ruby-fakegem
+
+DESCRIPTION="A linter for puppet DSL"
+HOMEPAGE="http://puppet-lint.com/"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+ruby_add_bdepend "test? (
+       dev-ruby/rspec-its:1
+       dev-ruby/rspec-collection_matchers:1
+       dev-ruby/rspec-json_expectations )"
+
+all_ruby_prepare() {
+       sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die
+}