diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /dev-ruby/optimist/optimist-3.0.0.ebuild | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'dev-ruby/optimist/optimist-3.0.0.ebuild')
-rw-r--r-- | dev-ruby/optimist/optimist-3.0.0.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/optimist/optimist-3.0.0.ebuild b/dev-ruby/optimist/optimist-3.0.0.ebuild new file mode 100644 index 000000000000..2da197f04833 --- /dev/null +++ b/dev-ruby/optimist/optimist-3.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="FAQ.txt History.txt README.md" + +inherit ruby-fakegem + +DESCRIPTION="A commandline option parser for Ruby that just gets out of your way." +HOMEPAGE="https://manageiq.github.io/optimist/" +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="3" +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." +} |