summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-05-30 20:03:24 +0200
committerHans de Graaff <graaff@gentoo.org>2019-05-30 20:04:03 +0200
commitaa6b22a75e04620b10328d041be3a66925da8b31 (patch)
tree0946056f31ba825b242829cac75377dd3fccb712
parentdev-ruby/cri: cleanup (diff)
downloadgentoo-aa6b22a75e04620b10328d041be3a66925da8b31.tar.gz
gentoo-aa6b22a75e04620b10328d041be3a66925da8b31.tar.bz2
gentoo-aa6b22a75e04620b10328d041be3a66925da8b31.zip
dev-ruby/cri: add 2.15.7
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
-rw-r--r--dev-ruby/cri/Manifest1
-rw-r--r--dev-ruby/cri/cri-2.15.7.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/cri/Manifest b/dev-ruby/cri/Manifest
index 8bbfa249594e..e2429e25a050 100644
--- a/dev-ruby/cri/Manifest
+++ b/dev-ruby/cri/Manifest
@@ -1,2 +1,3 @@
DIST cri-2.15.5.gem 33792 BLAKE2B 90724633a26acce78e8d041df96d91ea6db21c9d96558cb2f14c458880f4e2fc3a99de2242340cd2d8e4a3c1f68eb7dcf3877c67b4ce6dbc590b4dcf3ef4b41c SHA512 7519fb6eb79e3f818eb66be8344ee10ec61e09f81b3d70c4e0fd29736c957d1e760384661d018833015307a83b5155bb5c146bd6ea67fe929ab96d665279d6a9
DIST cri-2.15.6.gem 33792 BLAKE2B 901bd6a1812b258b2ef26f5dc534f2249f813a00dbffff0a651dcd48dabedd02c49fb101026bd33ede14ab730d253decee8dc6e4e915fce1c5b1b28f153b281a SHA512 3d997c90c46b4d787f2411e5c2eea5aadc4eb6837948920a93b42e2ecf01637d1589e864b59e60002bfe6ac80fdfa9d0473c0d4b4d94493a998af47f3818014b
+DIST cri-2.15.7.gem 34304 BLAKE2B a472c8ccb01ca4d744343dfc96b08fa16ceb2b2f06abcdc88c19ec7584f54f52cd7d422a56c8d74c38ce6e7a42aaac48433f0a27a6a2a8758c4b85ef0c022749 SHA512 d9567b83f9ac17deffb0e9b1300c69fc827f7568ca6789f06c7933284cd9e620223337fdcfbe1b251207034d7c2cbb003fbfdb1da07cfe8c87a42c962fd91635
diff --git a/dev-ruby/cri/cri-2.15.7.ebuild b/dev-ruby/cri/cri-2.15.7.ebuild
new file mode 100644
index 000000000000..121074120806
--- /dev/null
+++ b/dev-ruby/cri/cri-2.15.7.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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_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
+}