summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-07-12 06:36:24 +0200
committerHans de Graaff <graaff@gentoo.org>2018-07-12 06:36:24 +0200
commitc8d156c5bfd330457d4a325da7f9220dba2c9332 (patch)
tree928501fd13463060aab03340c7436bfd1a56002e /dev-ruby/trollop
parentdev-ruby/ruby-ldap: add 0.9.20 (diff)
downloadgentoo-c8d156c5bfd330457d4a325da7f9220dba2c9332.tar.gz
gentoo-c8d156c5bfd330457d4a325da7f9220dba2c9332.tar.bz2
gentoo-c8d156c5bfd330457d4a325da7f9220dba2c9332.zip
dev-ruby/trollop: add 2.1.3
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/trollop')
-rw-r--r--dev-ruby/trollop/Manifest1
-rw-r--r--dev-ruby/trollop/trollop-2.1.3.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/trollop/Manifest b/dev-ruby/trollop/Manifest
index c1d67ba5bff6..e5202dd34c63 100644
--- a/dev-ruby/trollop/Manifest
+++ b/dev-ruby/trollop/Manifest
@@ -1,2 +1,3 @@
DIST trollop-1.16.2.gem 22016 BLAKE2B 12d9ad62173bd53e542b4d8c61e7b5fa2116487d2f933b735d73fb101d85555498e497f53d4d6cb145c0970b297f3cfa048ece0e68ee7887ce4b53141993859f SHA512 ad99aa2c0c3b9a8ce7fe0e3f5fc1ab6f600dda5229cb5a15cdf2a3dcc6ffadb8e386a695eebc07b86742c7d62a99794e57e86263a6e03f3bd5f883ad9fe1959e
DIST trollop-2.1.2.gem 26112 BLAKE2B b8dd1540b7b50a8b587137306df5536a1402457621236a40086ec8e02a48ac0d6aaa1b6f8273ee0814438788f09564bc236031603f9b88bf9705d04cea940053 SHA512 afebe220119476fe3b992f430c79c9de06a6b5398f3ccf957bc0e3b3a1bcebd47a350a94882b3c46aa4db93c70002f3d4adabfe95d0338f14149545c7a9e8dc3
+DIST trollop-2.1.3.gem 30208 BLAKE2B a5fd19679821c55459cf7792f3ec26b8580732e84107f7a3519dcbcf1729ce48567ca2d35346b3e27d3083a3b6cae160ded8c18a118cb04a7a6e60c82bd91e78 SHA512 4d172c6d75f40edb36c353d2e32afce10b012f02927772fa201256126f88c62adce39400225434a80fd678e1cad703e3d3f32cdeddd150287a44ff81a2fca819
diff --git a/dev-ruby/trollop/trollop-2.1.3.ebuild b/dev-ruby/trollop/trollop-2.1.3.ebuild
new file mode 100644
index 000000000000..7c18c245b104
--- /dev/null
+++ b/dev-ruby/trollop/trollop-2.1.3.ebuild
@@ -0,0 +1,29 @@
+# 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_RECIPE_DOC="rdoc"
+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="~alpha ~amd64 ~hppa ~ia64 ~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."
+}