commit: 469d12205ec4e6408bb32219aec5dc1fd034474c Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Mon Nov 11 07:31:32 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Nov 11 07:38:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=469d1220
dev-ruby/mixlib-shellout: add 3.3.4 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/mixlib-shellout/Manifest | 1 + .../mixlib-shellout/mixlib-shellout-3.3.4.ebuild | 32 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-ruby/mixlib-shellout/Manifest b/dev-ruby/mixlib-shellout/Manifest index 0f130145a21e..11181644d58c 100644 --- a/dev-ruby/mixlib-shellout/Manifest +++ b/dev-ruby/mixlib-shellout/Manifest @@ -1,3 +1,4 @@ DIST mixlib-shellout-3.2.7.tar.gz 46666 BLAKE2B 0ee97eef27618d326487a3884115d0954147297a75001404c8df0717f71c6acde5ec9ebc9320d12493f1ce4e65b3d74ba1143ba7e4a631629de0d65e3b50bcb7 SHA512 de1d07e7a3f26ec934f57a37a82995b5522a5c196263b7ff1917c1a77cce3104d67a8dccab2aa907c3db854520ce6b5f78ef33fca8d4bffd0ba0cc659da1c16f 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 diff --git a/dev-ruby/mixlib-shellout/mixlib-shellout-3.3.4.ebuild b/dev-ruby/mixlib-shellout/mixlib-shellout-3.3.4.ebuild new file mode 100644 index 000000000000..86cd9e250fc0 --- /dev/null +++ b/dev-ruby/mixlib-shellout/mixlib-shellout-3.3.4.ebuild @@ -0,0 +1,32 @@ +# 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_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 +}
