commit:     cda26fdf69425a8cb2cf40078145c72c68bb8d75
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 18 06:03:35 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 06:03:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cda26fdf

dev-ruby/mixlib-shellout: add 3.3.6

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

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

diff --git a/dev-ruby/mixlib-shellout/Manifest 
b/dev-ruby/mixlib-shellout/Manifest
index 0614fd88a3fa..9fc1613a3485 100644
--- a/dev-ruby/mixlib-shellout/Manifest
+++ b/dev-ruby/mixlib-shellout/Manifest
@@ -1,3 +1,4 @@
 DIST mixlib-shellout-3.2.8.tar.gz 46644 BLAKE2B 
329e5e92fda0677e417cf938988d610b6da324bb1b9e4044dd9e4feac97aff8b1b54d89ad91e29e6e0c196d6429b43e5b52a0da57ae8c0ce59e9242b5f08bd48
 SHA512 
8b801c63ff458c50807802bf0e5c055f978ebe8104c310e12b00508b00eb57ccdbee0672ebf0bdb601f82064a0279f3f07291cc24d59b3eacb7aa51fb39ecc99
 DIST mixlib-shellout-3.3.3.tar.gz 47105 BLAKE2B 
84aba2f8dc6190318e610d93f85fcef12659c71a3bd2d05b8e17056e6d8e4d6138c6385b23932c3dcb6a8b5623c426056002fb998cf786616155daafa1eb5d3a
 SHA512 
1b3e3b469ea77917ce839efb8a28ddb439cf8b0853e38674c1e5c34c2bf33b828d11d6976a5a75ec6ade902425be69e52c6d99a1607d8089ef7f59d135378f60
 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

diff --git a/dev-ruby/mixlib-shellout/mixlib-shellout-3.3.6.ebuild 
b/dev-ruby/mixlib-shellout/mixlib-shellout-3.3.6.ebuild
new file mode 100644
index 000000000000..9f1e66ef1396
--- /dev/null
+++ b/dev-ruby/mixlib-shellout/mixlib-shellout-3.3.6.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