public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/optimist/
Date: Mon, 11 Mar 2019 19:36:16 +0000 (UTC)	[thread overview]
Message-ID: <1552332921.fcea5d8e150bb5fb9e09fb15d456230932e9b7c0.graaff@gentoo> (raw)

commit:     fcea5d8e150bb5fb9e09fb15d456230932e9b7c0
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 18:54:07 2019 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> 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 <graaff <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project">
+    <email>ruby@gentoo.org</email>
+    <name>Gentoo Ruby Project</name>
+  </maintainer>
+  <longdescription>
+    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.
+  </longdescription>
+</pkgmetadata>

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."
+}


             reply	other threads:[~2019-03-11 19:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-11 19:36 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-04-22  5:51 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/optimist/ Hans de Graaff
2020-08-01  9:05 Hans de Graaff
2022-05-01  6:34 Hans de Graaff
2023-04-13  6:11 Sam James
2023-06-20  4:38 Hans de Graaff
2023-07-30  6:14 Hans de Graaff
2023-08-15  5:45 Hans de Graaff
2023-08-15  5:45 Hans de Graaff
2023-12-28  7:27 Hans de Graaff
2023-12-28  7:27 Hans de Graaff
2024-11-12 10:46 Hans de Graaff
2025-01-02  9:34 Hans de Graaff
2025-01-02  9:34 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1552332921.fcea5d8e150bb5fb9e09fb15d456230932e9b7c0.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox