summaryrefslogtreecommitdiff
path: root/app-admin/puppet-lint/puppet-lint-4.2.4.ebuild
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2024-07-20 10:29:03 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2024-07-20 10:29:50 -0700
commit74a613d51782ffe523d0a6cdd772dfc4a1659284 (patch)
tree461fe62680d0352e8535c400c663bc09e6cc1e02 /app-admin/puppet-lint/puppet-lint-4.2.4.ebuild
parent03e8deb55ed4376b4f5e29f019797c82c03539cd (diff)
downloadgentoo-74a613d51782ffe523d0a6cdd772dfc4a1659284.tar.gz
gentoo-74a613d51782ffe523d0a6cdd772dfc4a1659284.tar.bz2
gentoo-74a613d51782ffe523d0a6cdd772dfc4a1659284.zip
app-admin/puppet-lint: bump to 4.2.4
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'app-admin/puppet-lint/puppet-lint-4.2.4.ebuild')
-rw-r--r--app-admin/puppet-lint/puppet-lint-4.2.4.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/app-admin/puppet-lint/puppet-lint-4.2.4.ebuild b/app-admin/puppet-lint/puppet-lint-4.2.4.ebuild
new file mode 100644
index 000000000000..59d8d9af62c5
--- /dev/null
+++ b/app-admin/puppet-lint/puppet-lint-4.2.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_BINWRAP="puppet-lint"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A linter for puppet DSL"
+HOMEPAGE="https://github.com/puppetlabs/puppet-lint"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCH_NAME="${PN}-4.2.3-pr181-fix-warnings.patch"
+#SRC_URI+=" https://github.com/puppetlabs/puppet-lint/pull/181.patch -> ${PATCH_NAME} "
+
+#PATCHES=(
+# "${DISTDIR}/${PATCH_NAME}"
+#)
+
+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
+}