diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-11-12 08:23:50 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-11-12 08:23:59 +0100 |
commit | a2eb94bbfedc22d98945e7d603b3a60d55ff0d16 (patch) | |
tree | c51724482dfaa4d7e8a7048adde8ab0a1ed6b0c8 /dev-ruby | |
parent | dev-ruby/chef-utils: new package, add 18.3.0 (diff) | |
download | gentoo-a2eb94bbfedc22d98945e7d603b3a60d55ff0d16.tar.gz gentoo-a2eb94bbfedc22d98945e7d603b3a60d55ff0d16.tar.bz2 gentoo-a2eb94bbfedc22d98945e7d603b3a60d55ff0d16.zip |
dev-ruby/mixlib-shellout: add 3.2.7
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/mixlib-shellout/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mixlib-shellout/mixlib-shellout-3.2.7.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/mixlib-shellout/Manifest b/dev-ruby/mixlib-shellout/Manifest index 57b3d1755061..06e59fc3300e 100644 --- a/dev-ruby/mixlib-shellout/Manifest +++ b/dev-ruby/mixlib-shellout/Manifest @@ -1 +1,2 @@ DIST mixlib-shellout-3.0.9.tar.gz 42476 BLAKE2B 4fab1d0f7d7ee5190f65d312304c7137d940b5cc19bb205d4de1d14eb5bc5829671560785b7f3179220246433b15b9022f8a1d16fb7491e180940c9dc6da5280 SHA512 7234c188e25cc6da3c4859eb12e4f86ce0d6538d17e4c90b1b5105fe677fcd13d884d7045be9767473c3ac63ffcfac7af25dc8efcec184928ba32852a5a760cc +DIST mixlib-shellout-3.2.7.tar.gz 46666 BLAKE2B 0ee97eef27618d326487a3884115d0954147297a75001404c8df0717f71c6acde5ec9ebc9320d12493f1ce4e65b3d74ba1143ba7e4a631629de0d65e3b50bcb7 SHA512 de1d07e7a3f26ec934f57a37a82995b5522a5c196263b7ff1917c1a77cce3104d67a8dccab2aa907c3db854520ce6b5f78ef33fca8d4bffd0ba0cc659da1c16f diff --git a/dev-ruby/mixlib-shellout/mixlib-shellout-3.2.7.ebuild b/dev-ruby/mixlib-shellout/mixlib-shellout-3.2.7.ebuild new file mode 100644 index 000000000000..5c3ef41fe0bd --- /dev/null +++ b/dev-ruby/mixlib-shellout/mixlib-shellout-3.2.7.ebuild @@ -0,0 +1,33 @@ +# 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="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" +IUSE="" + +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 +} |