summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-11-12 08:16:12 +0100
committerHans de Graaff <graaff@gentoo.org>2023-11-12 08:23:59 +0100
commit0866c0d36a6f6dfeab29b5aff3877c7c01371052 (patch)
tree6cfed2b87eb9c71964d2e1bd3144518be163e187 /dev-ruby
parentapp-editors/mg: drop 20221112, 20230406 (diff)
downloadgentoo-0866c0d36a6f6dfeab29b5aff3877c7c01371052.tar.gz
gentoo-0866c0d36a6f6dfeab29b5aff3877c7c01371052.tar.bz2
gentoo-0866c0d36a6f6dfeab29b5aff3877c7c01371052.zip
dev-ruby/chef-utils: new package, add 18.3.0
New dependency for dev-ruby/mixlib-shellout. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/chef-utils/Manifest1
-rw-r--r--dev-ruby/chef-utils/chef-utils-18.3.0.ebuild29
-rw-r--r--dev-ruby/chef-utils/metadata.xml12
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/chef-utils/Manifest b/dev-ruby/chef-utils/Manifest
new file mode 100644
index 000000000000..b79b1942b33c
--- /dev/null
+++ b/dev-ruby/chef-utils/Manifest
@@ -0,0 +1 @@
+DIST chef-utils-18.3.0.gem 34816 BLAKE2B cafdacdf4c3923df8ba41d3d960c135d357c9712a8009cc06c5f8e43a039b83495036e46e6f2d3785f589f206a0d373ec87b8c728c99889c236b16509bc51bc0 SHA512 0a806d2b8a42f2d574c81788990e6e0b70eaf4ac25bc08836915deae8ecdc2f82415ea66d6a571b01097de1e6435d359eaabe3ec16b8f3df24d826c78c96a5a8
diff --git a/dev-ruby/chef-utils/chef-utils-18.3.0.ebuild b/dev-ruby/chef-utils/chef-utils-18.3.0.ebuild
new file mode 100644
index 000000000000..9faf69c64573
--- /dev/null
+++ b/dev-ruby/chef-utils/chef-utils-18.3.0.ebuild
@@ -0,0 +1,29 @@
+# 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_EXTRA_DOC="CHANGELOG.md README.md"
+
+#RUBY_FAKEGEM_GEMSPEC="mixlib-shellout.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Basic utility functions for Core Chef Infra development"
+HOMEPAGE="https://github.com/chef/chef/tree/main/chef-utils"
+#SRC_URI="https://github.com/chef/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/concurrent-ruby"
+
+all_ruby_prepare() {
+ # Avoid specs depending on unpackaged fauxhai
+ rm -f spec/unit/dsl/{cloud,os,platform,platform_family,virtualization}_spec.rb || die
+}
diff --git a/dev-ruby/chef-utils/metadata.xml b/dev-ruby/chef-utils/metadata.xml
new file mode 100644
index 000000000000..34df01545bcb
--- /dev/null
+++ b/dev-ruby/chef-utils/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">chef/chef</remote-id>
+ <remote-id type="rubygems">chef-utils</remote-id>
+ </upstream>
+</pkgmetadata>