summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-09-20 07:52:56 +0200
committerHans de Graaff <graaff@gentoo.org>2018-09-22 07:25:13 +0200
commitc171aa76f071519f81deb64fced5bf7985d8368a (patch)
tree1d5c298cc9a9cdf9b9a9ddfecdf3a145067cf5b5 /dev-ruby
parentdev-ruby/cri: cleanup (diff)
downloadgentoo-c171aa76f071519f81deb64fced5bf7985d8368a.tar.gz
gentoo-c171aa76f071519f81deb64fced5bf7985d8368a.tar.bz2
gentoo-c171aa76f071519f81deb64fced5bf7985d8368a.zip
dev-ruby/cri: add 2.15.1
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/cri/Manifest1
-rw-r--r--dev-ruby/cri/cri-2.15.1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/cri/Manifest b/dev-ruby/cri/Manifest
index fca679133cfd..ee0fca42df31 100644
--- a/dev-ruby/cri/Manifest
+++ b/dev-ruby/cri/Manifest
@@ -1,4 +1,5 @@
DIST cri-2.13.0.gem 31744 BLAKE2B fb1ba32f4413b5b0f63d105c0770e26c20252744c0db0405dd7528f1a3a3a588b20d2f34611d06f74c21374228954b9acd5991bd6e5574f84ede55ff8682c17c SHA512 a583129316c58fa90336f867f7a723478f64f0a755d0e6d4a34c829a0867e7b917203dddb5594f6fbed63993fd56e6a0da4bcae33013920b5b5aa85936047a27
DIST cri-2.14.0.gem 32768 BLAKE2B 08c0a2bcbde8d01187e310020e95eb3fb0f41596f1b305ba64c11174493a1dfb61a5bc35ed3121052694eae5dc9d17d333909892ab9ea17b8e065b353d8ab01a SHA512 dc79d69a01978c88aebb15d03317f46fd49930025af6a300cfc3440a4928cf27fcd025c3f25b79c108ee12638d9409c81da566bb458b5ded031546925ddd5e1b
DIST cri-2.15.0.gem 32256 BLAKE2B 995cc9e457724c540c8ae5817d6b62d7064dd19a7734fda70fc5e644dc64077ca124572cca0d2caa6858d58f28c0fab2fafc939946b06f2d31982adb169ff9dc SHA512 7325781d9fe54ba3269d0b64f8e7eb8228171aad553f9ab10fafdae4f927f6deb7061ced798e010d50e849198744c8377de3bf5a29b7c25dc45c2fee9049dfad
+DIST cri-2.15.1.gem 32768 BLAKE2B d1f829443a724a6d72f13effb279d8578ebdc4ca0b354f3285d68693eae1e6514cb0bcf831ed0068df72469f3be4b21af61a68056dc8c5fb105991cb677e906e SHA512 6ce36b74391d9635094614f5fc33738d65e40b8796caae3e39d4bc170d6f9f4bc5b2b944d36d79b453f9ba7715e2858b27f1c7433b53ce0bcf2fe748153d75a6
DIST cri-2.7.1.gem 25088 BLAKE2B 20317d886401d6d5f034c27396cad2fdaf322246c319ef3cadc3e38169dbc00c83771fdb2d564efd0ca386b916a0bc2d8cf283742ccd18ca390e491a84f5e31f SHA512 37d641390dc83550c254b3c48018f7f2c53f73161807c299cb78ef84b8625e5f00cd8c877ac464ece5c6623d7118872c45648ed56c2bd5f53ae62cd66b8e24d1
diff --git a/dev-ruby/cri/cri-2.15.1.ebuild b/dev-ruby/cri/cri-2.15.1.ebuild
new file mode 100644
index 000000000000..30952c0fb573
--- /dev/null
+++ b/dev-ruby/cri/cri-2.15.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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 ~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
+}