summaryrefslogtreecommitdiff
path: root/dev-ruby/trollop
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/trollop')
-rw-r--r--dev-ruby/trollop/Manifest2
-rw-r--r--dev-ruby/trollop/trollop-2.9.10.ebuild28
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/trollop/Manifest b/dev-ruby/trollop/Manifest
index 5fb006fd8907..e74b11b7173e 100644
--- a/dev-ruby/trollop/Manifest
+++ b/dev-ruby/trollop/Manifest
@@ -1,3 +1,5 @@
DIST trollop-2.1.3.gem 30208 BLAKE2B a5fd19679821c55459cf7792f3ec26b8580732e84107f7a3519dcbcf1729ce48567ca2d35346b3e27d3083a3b6cae160ded8c18a118cb04a7a6e60c82bd91e78 SHA512 4d172c6d75f40edb36c353d2e32afce10b012f02927772fa201256126f88c62adce39400225434a80fd678e1cad703e3d3f32cdeddd150287a44ff81a2fca819
+DIST trollop-2.9.10.gem 29696 BLAKE2B f69b1ab8ce166f9fe6198e177266ee86e38f3bed4c3a55529705aedc4518cc04a48b9bee4463887fc4ac1cd04cad98d35c298265ad1433ced11e0ff5bc1f50ce SHA512 21a0db09d480353ff846a1311b118e0b0db4ca13a559dd1749c1478eff7080dd04e5308dbf1807215eadb68e276c991970b23357e9a3497acb9f705f7f77253c
EBUILD trollop-2.1.3.ebuild 735 BLAKE2B 90e39fd42fb986dbc6cdaf01535d720861873844d56dd72523ea1b6c02041c8fd4f2f30f995f66db6f463f1f09ce549826a0495769b36a4983ec89e24873b35a SHA512 3b657696a077e19b966148b06218aafafc7b62de7166588ac3a6fbbe4f98e4771d08e9fe447c4dff496b3e7c5be94a1fda4d9e6438e6041e37f31c7834400121
+EBUILD trollop-2.9.10.ebuild 705 BLAKE2B 5b223e863c1403d528445d8b0da47756d967465463e11a6ea81beaa46360c478b069670c743a9226ac3ff1cd14602e8bbbde9dde3fa8b596627bc404750cd371 SHA512 8c8061c05b6eea7afa76c48bec6b1e68738a1aaf997848a8377ed1da057f21375a044fec9381325fc51ee97c1a17516f33332cb3114152ed731f0e14c4bdfe36
MISC metadata.xml 251 BLAKE2B e8bf2b70161d425791d65052583fd8be03b19ef3bb2a2cde34605bc93224fea9d8c6a91f0f2d630a00094ef54c0871e210da0e0134f52401bc80cb6b2358c13d SHA512 17d4dbd64468a524311a24ca065537a5b21560388efd282f3fa873e6722f70db6f83e3e5615556450905c29d5df2cf0a0855f9c0b38bf23f0f8112501456d4ea
diff --git a/dev-ruby/trollop/trollop-2.9.10.ebuild b/dev-ruby/trollop/trollop-2.9.10.ebuild
new file mode 100644
index 000000000000..5a12cb710493
--- /dev/null
+++ b/dev-ruby/trollop/trollop-2.9.10.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="FAQ.txt History.txt README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Trollop is a commandline option parser for Ruby"
+HOMEPAGE="https://manageiq.github.io/trollop/"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="2"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/chronic )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundle/ s:^:#:' Rakefile || die
+}
+
+each_ruby_test() {
+ MUTANT=true ${RUBY} -S rake test || die "Tests failed."
+}