summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-11-22 08:03:49 +0100
committerHans de Graaff <graaff@gentoo.org>2023-11-22 08:09:33 +0100
commit82d5b170574029714144ddd50071e4b989716555 (patch)
treefae98c28e62f4157aac66f78a8c353f9432f3f44 /app-admin/puppet-lint
parentapp-admin/puppet-lint: add 4.2.2 (diff)
downloadgentoo-82d5b170574029714144ddd50071e4b989716555.tar.gz
gentoo-82d5b170574029714144ddd50071e4b989716555.tar.bz2
gentoo-82d5b170574029714144ddd50071e4b989716555.zip
app-admin/puppet-lint: add 5.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'app-admin/puppet-lint')
-rw-r--r--app-admin/puppet-lint/Manifest1
-rw-r--r--app-admin/puppet-lint/metadata.xml3
-rw-r--r--app-admin/puppet-lint/puppet-lint-5.0.0.ebuild34
3 files changed, 37 insertions, 1 deletions
diff --git a/app-admin/puppet-lint/Manifest b/app-admin/puppet-lint/Manifest
index c215c1f8a214..9edb269053c7 100644
--- a/app-admin/puppet-lint/Manifest
+++ b/app-admin/puppet-lint/Manifest
@@ -4,3 +4,4 @@ DIST puppet-lint-4.0.1.gem 81408 BLAKE2B 2e202cf99e496336d5a8f23bf8581211b74e8ce
DIST puppet-lint-4.2.0.gem 81408 BLAKE2B 6b3591f1a2424e30807dc4c83ded27f6ff2b131c61c356eaf57472f813c09ad0bf7732bfd559aa31ccb52f0fdcbd583afe150e7d762ad0967acd1fb974c0d7b6 SHA512 4cf941aa9b99fc2e36358ce9ff1ab3c89efbee31586a175bc5e03dcf212179f24d6d677835de1ce1dba0154e4006266d1917c1c73e00c2a1985e3b0bb3ca2c24
DIST puppet-lint-4.2.1.gem 81920 BLAKE2B 5e291e4c1743092be9935231280f04ce3affdc1d530180f26a6ace0535a15e11bc9b33dd89d8eeafb44ebc7cae16f2656e293a6e8e8fbc4fd2cfde896996d59a SHA512 d39a287d3ae0ecbf27254c289e73918b62b50bbf8f44f51248e5e8042b194c32facd1215d7b24ab768714aeb9ae58647964bdc8b8b4650d1cebe6e2e749d782c
DIST puppet-lint-4.2.2.gem 81920 BLAKE2B cad796866f323113a8c2aa5cf86b6187423f27186032ea76ebd1f158937c34f315d93de3d92b01acc0b160947b720bd987550c52aaa53a51f165396de776ec88 SHA512 e8a591e615db87dc2edc22fc4d53c03004e0227748896005d2252fab8b77193ecd30f9167702c6c4fd6551daaa0894789f3d9d50fb705eecaed4a22573a94afc
+DIST puppetlabs-puppet-lint-5.0.0.gem 81920 BLAKE2B 6cef112f8ae507f0a0930d9cd65f1a2782209dc4cf0865e1ce79f6510bfb39395401eaa009f07ee16ec8c9c7a82f080aefbc6f260769ca488b775cdeb8ef3caf SHA512 b4a2db67db1cc79437d03e99391c928089cb73ec60d719861b7ac3e7949d9bcee9b04c884b448539f07d5b9b845e14824cd0ac3299ecb46241cfbb09a954ad5a
diff --git a/app-admin/puppet-lint/metadata.xml b/app-admin/puppet-lint/metadata.xml
index 2b5ca51226eb..c56aec524553 100644
--- a/app-admin/puppet-lint/metadata.xml
+++ b/app-admin/puppet-lint/metadata.xml
@@ -10,6 +10,7 @@
<name>Gentoo Ruby Project</name>
</maintainer>
<upstream>
- <remote-id type="github">rodjek/puppet-lint</remote-id>
+ <remote-id type="github">puppetlabs/puppet-lint</remote-id>
+ <remote-id type="rubygems">puppetlabs-puppet-lint</remote-id>
</upstream>
</pkgmetadata>
diff --git a/app-admin/puppet-lint/puppet-lint-5.0.0.ebuild b/app-admin/puppet-lint/puppet-lint-5.0.0.ebuild
new file mode 100644
index 000000000000..4ebc4a1c70fa
--- /dev/null
+++ b/app-admin/puppet-lint/puppet-lint-5.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_BINWRAP="puppet-lint"
+RUBY_FAKEGEM_NAME="puppetlabs-puppet-lint"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A linter for puppet DSL"
+HOMEPAGE="https://github.com/puppetlabs/puppet-lint"
+
+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() {
+ # Skip acceptance tests due to unpackages puppet_litmus which in turn
+ # has a number of unpackaged dependencies.
+ rm -rf spec/acceptance || die
+ rm -f spec/spec_helper_acceptance.rb || die
+}