diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-06-10 07:44:31 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-06-10 07:49:01 +0200 |
commit | bd5c71e641cad1670ddea5538fb9bdbccd48442e (patch) | |
tree | d4f2d1c3a474261aae1c86c04e1d033e188999be /dev-ruby/cri/cri-2.15.12.ebuild | |
parent | dev-python/housekeeping: fix pytest dependency (diff) | |
download | gentoo-bd5c71e641cad1670ddea5538fb9bdbccd48442e.tar.gz gentoo-bd5c71e641cad1670ddea5538fb9bdbccd48442e.tar.bz2 gentoo-bd5c71e641cad1670ddea5538fb9bdbccd48442e.zip |
dev-ruby/cri: add 2.15.12
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/cri/cri-2.15.12.ebuild')
-rw-r--r-- | dev-ruby/cri/cri-2.15.12.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/cri/cri-2.15.12.ebuild b/dev-ruby/cri/cri-2.15.12.ebuild new file mode 100644 index 000000000000..9ec7c655a0c8 --- /dev/null +++ b/dev-ruby/cri/cri-2.15.12.ebuild @@ -0,0 +1,35 @@ +# 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_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" + +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="test" + +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 + + sed -e 's/MiniTest::Unit::TestCase/Minitest::Test/' \ + -i test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S rake test_unit || die +} |