summaryrefslogtreecommitdiff
path: root/dev-ruby/optimist
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-20 07:15:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-20 07:15:41 +0100
commit7d1fc8f13082082c2539f20beadcf37089543b8e (patch)
treefda7c412f8ace82836e911da18f1b0f6eaf8bc55 /dev-ruby/optimist
parentbc4457d8e0e53a2e43c4254d08053ba9708663e1 (diff)
gentoo auto-resync : 20:06:2023 - 07:15:40
Diffstat (limited to 'dev-ruby/optimist')
-rw-r--r--dev-ruby/optimist/Manifest1
-rw-r--r--dev-ruby/optimist/optimist-3.0.1-r1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/optimist/Manifest b/dev-ruby/optimist/Manifest
index 27d5e006ac33..09a9e529ce40 100644
--- a/dev-ruby/optimist/Manifest
+++ b/dev-ruby/optimist/Manifest
@@ -1,3 +1,4 @@
DIST optimist-3.0.1.gem 30208 BLAKE2B 66778029b9e2ac2eb38beaab5cb73a4fe58b123c401fdfc00d924073a6dd97dca05bbf8ab3a88e47ca5f94ed920a583196d901c6a2a4962e93c8a2ef905173ba SHA512 209fbb355a7ba75208cef314ccaa188955463551d1c914f10409cac189375b5be40fbcdf0d88a5ce825c527bca7138528fafd6f37cf73f5e68f3b453f3ef8485
+EBUILD optimist-3.0.1-r1.ebuild 668 BLAKE2B 8a6cde08c4f795be7318378c86d5455a32d20935675a79861fe47ac4e4345f6844960131c3249c537e331407e83d8eaa3d0d596e4c896a04810a62ed841c20f3 SHA512 d0fc9d71280b1bbefacb59215c1c1c86edeba8ce902ff450ba1fb685ee31532d4ec872265fd5bc67e57a1435e915e5625e902796b9430e9be1948a28c6bd0f9a
EBUILD optimist-3.0.1.ebuild 677 BLAKE2B cb0ec44b7e22ea289dffb420515702241a24dcea0cc2e10af818371f2253c9482867b9eb1b271a0c44f3bbe4d6b1414a25c053d09759c19d9e849916b19f8ec5 SHA512 8c712bd5e16c40dcb8db2cb1c400902de366b44357c0913d909d6f14f1aa8b1a963547d32a77884b606632d32a81ff2db0dc248481fd94c8ee719f7fa682bfb8
MISC metadata.xml 616 BLAKE2B 8d6758c96e9cc64b4e24ea5b3888dc012f4bcd3c43d7eb807834a56f10684ad8d1fbc4db9158aa4b171545488f381daad7faf3fa1bda0cc07fc222d4a9d20518 SHA512 9d7a4cbee9874bb23414c348c0f7809f09a770accea4f5c1af0fcb6e6447510af7840c39567969c38607bc6434b6398332f6e21311c752e8428acac4e826564f
diff --git a/dev-ruby/optimist/optimist-3.0.1-r1.ebuild b/dev-ruby/optimist/optimist-3.0.1-r1.ebuild
new file mode 100644
index 000000000000..1abe03c9e1f4
--- /dev/null
+++ b/dev-ruby/optimist/optimist-3.0.1-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+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://www.manageiq.org/optimist/"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-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."
+}