summaryrefslogtreecommitdiff
path: root/dev-ruby/cri
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/cri')
-rw-r--r--dev-ruby/cri/Manifest2
-rw-r--r--dev-ruby/cri/cri-2.15.12.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/cri/Manifest b/dev-ruby/cri/Manifest
index b006884d54c9..f0803619b624 100644
--- a/dev-ruby/cri/Manifest
+++ b/dev-ruby/cri/Manifest
@@ -1,3 +1,5 @@
DIST cri-2.15.11.gem 35328 BLAKE2B 774ebbd74ccd8f328d15a65515ed6c350d6bd00c9b757912c37a01aa71b745a3443755b8b59e7a8e6ac07c67f21d69dc4f96f972850e011d7b72d639c471d636 SHA512 a16d35a5e83401dda4e50bbb8a52b8a192e2876a708c516445559599f1e7c007d2f943efc662f43226bfd177356272dc7802fc01c8fdca543d4146bc537cae82
+DIST cri-2.15.12.gem 35328 BLAKE2B 97bfa878d75c8f1afade058cdd06ded7c5e7c079fcc570c2c427b910a37455ea8a33bfe35e9ee3a021c0d9f97ae4933c0b48487405d8c62fab0fbb49ab70340d SHA512 69bdd51fe6d62a07ce238b341dc0d576092443b291209357b1e9b708d7028d90a486cddee1cdf1883f035094b20442af9b11191062cc982175cedcfaf2fe4c51
EBUILD cri-2.15.11-r1.ebuild 804 BLAKE2B b96df3cad0086f6938522f964cee7aaa7235936230702f3dc119544985d66b511132fef9962f7ea7b2281042085c098436523c40c33247be25806ddf45eec698 SHA512 e26a1fac13ef0e06cf981f2a6a61fbd21535b0245fb2f6af70342c7d544ae89a422c8038d85c69c1522bffd37ac6b7421c53a361a68b41d48b11d8796ef836ab
+EBUILD cri-2.15.12.ebuild 808 BLAKE2B e4da360e72eccb9edd49d03fafd37897dea38ae465b30f07d85f6d47cbe21e4f679d9d27252e44941a53bc95665385a49c0f6ee68611e8467e3b704a01163b0b SHA512 e38a7606977cdba50d802f6fde9addbd65e0498416c99f60bfcbaf2366838c7d4be0cbc33c779234058852dd69f2e866a3eb9ac580bf8f4f7ea3cf92a9e6746a
MISC metadata.xml 322 BLAKE2B 0d6279e8f60e12f7ffc1e1b87523423fb175e7104e41ad4911f4513f530f9275670d2988401b2040d0e0ba4abe9dc9f3721d77d1f57865cdaf40efcaee1ee0e1 SHA512 d108f8a03dea998704eda69a3e06bc5e062774b2cb2f0c01c53e88085b144ce05724b922abe829b9cec921d056aa90483d3ab052688a3ced13f17ebb3a9d689b
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
+}