app-admin/puppet-lint: add 2.4.1
authorHans de Graaff <graaff@gentoo.org>
Wed, 9 Oct 2019 05:08:07 +0000 (07:08 +0200)
committerHans de Graaff <graaff@gentoo.org>
Wed, 9 Oct 2019 05:47:37 +0000 (07:47 +0200)
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
app-admin/puppet-lint/Manifest
app-admin/puppet-lint/puppet-lint-2.4.1.ebuild [new file with mode: 0644]

index a4735e6acf36dd1ecd2dd25e5218669e096e5df1..3071336f38e6559c0248ebfe38fc157ea4a254d9 100644 (file)
@@ -1 +1,2 @@
 DIST puppet-lint-2.3.6.gem 87552 BLAKE2B 0a2f4b9c2ef76c06bc4fb6eb0f737af406bf3949e7c9001685c6522714b550c0f2c5680d5d39f5d3994496a497664e912eadc44bdb7aa4c27635d23b36a90776 SHA512 d162307e66bb5f1dd923f2f9fab55de7b4c5fad6264d7a1bae8df20bd45c5a786b66d9f5b3bd235230fea959c67242462e711212f65807040048f4c0be7122b9
+DIST puppet-lint-2.4.1.gem 92160 BLAKE2B 5bcdf14cad8cbf90e69c6afaa6935768db3cd9023175a8d5632951c7ff0d5b91362988c0e667c0f852eae705920a6a570f582db394b89436f61eda50f314dc9b SHA512 39d872350ab9ad276c346a7020269f246889dfb00eef020f93a5b53a93e4ae8fd5cf307ac057d6129edf52974ea71af0abcf422e9e0be0ba570d029ffa7011bc
diff --git a/app-admin/puppet-lint/puppet-lint-2.4.1.ebuild b/app-admin/puppet-lint/puppet-lint-2.4.1.ebuild
new file mode 100644 (file)
index 0000000..738798f
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+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
+}