commit: 643a6284e49c892e1408c5af71cc52ebdc504d60 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Mon Nov 1 11:42:33 2021 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Tue Nov 2 05:07:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=643a6284
dev-ruby/cri: add ruby30 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/cri/cri-2.15.11-r1.ebuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/dev-ruby/cri/cri-2.15.11-r1.ebuild b/dev-ruby/cri/cri-2.15.11-r1.ebuild new file mode 100644 index 00000000000..b1a8c99b4b6 --- /dev/null +++ b/dev-ruby/cri/cri-2.15.11-r1.ebuild @@ -0,0 +1,32 @@ +# 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_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_TASK_DOC="doc" + +inherit ruby-fakegem + +DESCRIPTION="Cri is a library for building easy-to-use commandline tools" +HOMEPAGE="https://rubygems.org/gems/cri" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/yard ) + test? ( dev-ruby/yard dev-ruby/minitest )" + +all_ruby_prepare() { + sed -e '/coveralls/I s:^:#:' -i test/helper.rb || die + sed -i -e '/rubocop/ s:^:#:' \ + -e '/RuboCop/,/end/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S rake test_unit || die +}
