summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-12-04 07:46:42 +0100
committerHans de Graaff <graaff@gentoo.org>2016-12-04 07:46:42 +0100
commita93f420804c7c78ad700ff3f7924a3cc97027eef (patch)
tree82a9e4b3b4de3028832605d15ef9ea0d41d915a6 /dev-ruby/cri
parentnet-misc/openvpn: Add REQUIRED_USE to force plugins on if inotify is on (diff)
downloadgentoo-a93f420804c7c78ad700ff3f7924a3cc97027eef.tar.gz
gentoo-a93f420804c7c78ad700ff3f7924a3cc97027eef.tar.bz2
gentoo-a93f420804c7c78ad700ff3f7924a3cc97027eef.zip
dev-ruby/cri: add 2.7.1
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/cri')
-rw-r--r--dev-ruby/cri/Manifest1
-rw-r--r--dev-ruby/cri/cri-2.7.1.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/cri/Manifest b/dev-ruby/cri/Manifest
index 74017d27b4d..8efa2f38e5b 100644
--- a/dev-ruby/cri/Manifest
+++ b/dev-ruby/cri/Manifest
@@ -1 +1,2 @@
DIST cri-2.7.0.gem 25088 SHA256 861e637cfeb0f8a618ea982f675c574520590aecbd098a2cf3d8be339ff3ed62 SHA512 4bef9bbe623b45f21b0cc66aba40ac3fd945227fb50a6b169c79b8ac9b84144119defaaed3a76044b15a916d077fa91f36c35fa22b69b7405f6c9b4fb8bf1118 WHIRLPOOL bf77d0570902a374198cd59d2f19e4da274fd1f76f1a2783ed22572ef52540812d1d9c53c783524fcbd074af0bc9f368ef387f40ab10149b9b97feb32db0d88b
+DIST cri-2.7.1.gem 25088 SHA256 989fc14d1986c9c252c84e1b22e300fd139ef6bc4c9c57762a93cbf7eb4fd5f5 SHA512 37d641390dc83550c254b3c48018f7f2c53f73161807c299cb78ef84b8625e5f00cd8c877ac464ece5c6623d7118872c45648ed56c2bd5f53ae62cd66b8e24d1 WHIRLPOOL 85a5eb19f439d8fb53c56139bf6fe14faef2790c2eb5c319b2e8c52d92807f257771180afcf7af4342747cd69ae4787ad5266fb3f01bb2a2c01fba9f9f8fc9a5
diff --git a/dev-ruby/cri/cri-2.7.1.ebuild b/dev-ruby/cri/cri-2.7.1.ebuild
new file mode 100644
index 00000000000..2c5e0d35fd0
--- /dev/null
+++ b/dev-ruby/cri/cri-2.7.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_EXTRADOC="NEWS.md README.adoc"
+
+RUBY_FAKEGEM_TASK_DOC="doc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Cri is a library for building easy-to-use commandline tools"
+HOMEPAGE="http://rubygems.org/gems/cri"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/colored-1.2"
+
+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
+}