commit:     fa7458a339909e6748cdc15dd129efe6334a0baf
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  8 09:01:22 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Mar  8 09:01:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa7458a3

dev-ruby/mixlib-shellout: add 3.3.8

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/mixlib-shellout/Manifest                  |  1 +
 .../mixlib-shellout/mixlib-shellout-3.3.8.ebuild   | 32 ++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-ruby/mixlib-shellout/Manifest 
b/dev-ruby/mixlib-shellout/Manifest
index 5b304fbcbfba..3760ac4b5c8a 100644
--- a/dev-ruby/mixlib-shellout/Manifest
+++ b/dev-ruby/mixlib-shellout/Manifest
@@ -1,2 +1,3 @@
 DIST mixlib-shellout-3.3.4.tar.gz 47137 BLAKE2B 
382ccfe4988097c3481576ae00537ecf12bb794f9704104f8317d4afcf214a0b87f66b0225d8bd56e3337d580579352ad6ae92842a634832b1df556052f6c7d1
 SHA512 
1432c4c1b7cea5f22aa3531cb76b8969959ff2c1acd0ad4c5a349353c8d390aedddb1ecf45e319d313b396b8533f7bfee9eae2dfb1b29fb1129e0c748674ca53
 DIST mixlib-shellout-3.3.6.tar.gz 47237 BLAKE2B 
819f63b8365fbc14b0259cfdc9a841de019aef5ae4803af15a768e8fcaeafc7669648f746e7c89d28c972b371baae4a6a46230880bf549e3a6274debb7dd6dc8
 SHA512 
1bbff4b8926d8519606dd2457e9327958f8079d7982205b97ced1e7fa58ad42fb1de3c5a453b0cdb777e9142de0c84a817e783279f406e8380625cdeb39eabbf
+DIST mixlib-shellout-3.3.8.tar.gz 47877 BLAKE2B 
a0581624b573413bfd6fbd13a5a0fe64a2196416a3a4332bba98c3ba933331a1ecabf39b584803a552bbfb4e09281a1114bd7f50a4578d285899730e28c5d8cb
 SHA512 
eff6c9dcf2993787b9036f02ae928decb37801810204fa0dc8de8ca9901241e08bb49246ce763f07bc077a0de1b591b93b34dc12313d91dfda94f937e86abc0b

diff --git a/dev-ruby/mixlib-shellout/mixlib-shellout-3.3.8.ebuild 
b/dev-ruby/mixlib-shellout/mixlib-shellout-3.3.8.ebuild
new file mode 100644
index 000000000000..9f1e66ef1396
--- /dev/null
+++ b/dev-ruby/mixlib-shellout/mixlib-shellout-3.3.8.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2025 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_EXTRA_DOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="mixlib-shellout.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Run external commands on Unix or Windows"
+HOMEPAGE="https://github.com/chef/mixlib-shellout";
+SRC_URI="https://github.com/chef/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+ruby_add_rdepend "dev-ruby/chef-utils"
+
+each_ruby_prepare() {
+       # Make sure we actually use the right interpreter for testing
+       sed -i -e "/ruby_eval/ s:ruby :${RUBY} :" spec/mixlib/shellout_spec.rb 
|| die
+
+       # Avoid spec that requires an interactive terminal
+       sed -e '/with subprocess writing lots of data to both stdout and 
stderr/,/^      end/ s:^:#:' \
+               -i spec/mixlib/shellout_spec.rb || die
+}

Reply via email to