diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-11-24 10:18:37 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-11-24 11:25:23 +0100 |
commit | 515515a1a44910c18c8c39932b478503d6842f0a (patch) | |
tree | 41b613b62b6ded473c9eab70b1a7ac4821b0a63b /dev-ruby/open4 | |
parent | dev-ruby/ruby-shadow: cleanup (diff) | |
download | gentoo-515515a1a44910c18c8c39932b478503d6842f0a.tar.gz gentoo-515515a1a44910c18c8c39932b478503d6842f0a.tar.bz2 gentoo-515515a1a44910c18c8c39932b478503d6842f0a.zip |
dev-ruby/open4: EAPI 8
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/open4')
-rw-r--r-- | dev-ruby/open4/open4-1.3.4-r1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/open4/open4-1.3.4-r1.ebuild b/dev-ruby/open4/open4-1.3.4-r1.ebuild new file mode 100644 index 000000000000..ecf6798d3bdb --- /dev/null +++ b/dev-ruby/open4/open4-1.3.4-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem + +DESCRIPTION="Open3::popen3 with exit status" +HOMEPAGE="https://github.com/ahoward/open4" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + mv rakefile Rakefile || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r samples +} + +each_ruby_test() { + ${RUBY} -Ilib -Itest/lib test/*.rb || die +} |