From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 84A9F138334 for ; Mon, 11 Mar 2019 19:36:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B1C0E0B4A; Mon, 11 Mar 2019 19:36:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59EDBE0B4A for ; Mon, 11 Mar 2019 19:36:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1D671335C8C for ; Mon, 11 Mar 2019 19:36:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44F8652B for ; Mon, 11 Mar 2019 19:36:16 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1552332921.fcea5d8e150bb5fb9e09fb15d456230932e9b7c0.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/optimist/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/optimist/Manifest dev-ruby/optimist/metadata.xml dev-ruby/optimist/optimist-3.0.0.ebuild X-VCS-Directories: dev-ruby/optimist/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: fcea5d8e150bb5fb9e09fb15d456230932e9b7c0 X-VCS-Branch: master Date: Mon, 11 Mar 2019 19:36:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 35bdbfbd-e9f8-47f2-809c-3f73d3c1dc26 X-Archives-Hash: fbe6f7beecd460669d892f0a89873fa6 commit: fcea5d8e150bb5fb9e09fb15d456230932e9b7c0 Author: Hans de Graaff gentoo org> AuthorDate: Mon Mar 11 18:54:07 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Mar 11 19:35:21 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcea5d8e dev-ruby/optimist: initial import of 3.0.0 This packaged is a new, renamed version of dev-ruby/trollop, so all trollop keywords have been kept. Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-ruby/optimist/Manifest | 1 + dev-ruby/optimist/metadata.xml | 15 +++++++++++++++ dev-ruby/optimist/optimist-3.0.0.ebuild | 29 +++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) diff --git a/dev-ruby/optimist/Manifest b/dev-ruby/optimist/Manifest new file mode 100644 index 00000000000..bd19de733bb --- /dev/null +++ b/dev-ruby/optimist/Manifest @@ -0,0 +1 @@ +DIST optimist-3.0.0.gem 29696 BLAKE2B d078a21fc95d64827e3f9a4539339ba3e3ba9f9649cb70d4e5a830f2523b02c4bb6aa1dca159a913d852aa2a320002beb6276d920ae1804bf65c9cf1535fc341 SHA512 1fcdc4dd01fb26d5b1d181913ad28314df05e60277bcf73b98e04a7463430a6c73396fb729e3cf34bc89e2eb8387d4d3294e93fcd530129a7bcd7efdcef5223f diff --git a/dev-ruby/optimist/metadata.xml b/dev-ruby/optimist/metadata.xml new file mode 100644 index 00000000000..5e9369be77e --- /dev/null +++ b/dev-ruby/optimist/metadata.xml @@ -0,0 +1,15 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + Optimist is a commandline option parser for Ruby that just gets + out of your way. One line of code per option is all you need to + write. For that, you get a nice automatically-generated help page, + robust option parsing, command subcompletion, and sensible + defaults for everything you don't specify. + + 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 00000000000..2da197f0483 --- /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." +}