summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-06-02 11:16:33 +0200
committerHans de Graaff <graaff@gentoo.org>2024-06-02 11:17:00 +0200
commit35606d37fe193f094025589e0b4e7fabfc55ed9f (patch)
treea3eed1479b2bf4a9b0d844ed145f16108301313b /dev-ruby/commander
parentdev-ruby/delayer: drop 1.2.1 (diff)
downloadgentoo-35606d37fe193f094025589e0b4e7fabfc55ed9f.tar.gz
gentoo-35606d37fe193f094025589e0b4e7fabfc55ed9f.tar.bz2
gentoo-35606d37fe193f094025589e0b4e7fabfc55ed9f.zip
dev-ruby/commander: add 5.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/commander')
-rw-r--r--dev-ruby/commander/Manifest1
-rw-r--r--dev-ruby/commander/commander-4.6.0-r1.ebuild25
-rw-r--r--dev-ruby/commander/commander-5.0.0.ebuild27
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-ruby/commander/Manifest b/dev-ruby/commander/Manifest
index 69223c5c4058..bb5d6ab08038 100644
--- a/dev-ruby/commander/Manifest
+++ b/dev-ruby/commander/Manifest
@@ -1 +1,2 @@
DIST commander-4.6.0.gem 38400 BLAKE2B c4adf5b58fe679378012a893526cb00ee71c4cda5686d397ee93aeb11dcf1b32a4aa8c4e6b77c2ed07af75bf2492da65591cf49b2e05a658e753e78a9a12736a SHA512 01e7d4076b6ff632f6852e15bf995033034a71d6320c5b3b41751e86894f5eca35b408311e757c555334d220a9a811a0d60c0fc993414961f1050d948cb9f5c7
+DIST commander-5.0.0.gem 38400 BLAKE2B 702721d8a2565949d84fe8610139d507b966054c322f7badfdd433a49ffcc03a9de51a7c014bd49def313035c7dd4563c8f6673b5225eb42facb776e1502167d SHA512 32f621c2fb9c8b167b6595b1ca7f1a056c089ad6ffdcdcce77db7a19c60bc44910501c41f33a29bdce45c90aa9feeebc596d822ed57efe47301499d5d30b32a1
diff --git a/dev-ruby/commander/commander-4.6.0-r1.ebuild b/dev-ruby/commander/commander-4.6.0-r1.ebuild
new file mode 100644
index 000000000000..a264001ce01e
--- /dev/null
+++ b/dev-ruby/commander/commander-4.6.0-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="The complete solution for Ruby command-line executables"
+HOMEPAGE="https://github.com/commander-rb/commander"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/highline:2"
+
+all_ruby_prepare() {
+ sed -i -e "/simplecov/,/end/ s:^:#:" spec/spec_helper.rb || die
+}
diff --git a/dev-ruby/commander/commander-5.0.0.ebuild b/dev-ruby/commander/commander-5.0.0.ebuild
new file mode 100644
index 000000000000..331471d9b141
--- /dev/null
+++ b/dev-ruby/commander/commander-5.0.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="The complete solution for Ruby command-line executables"
+HOMEPAGE="https://github.com/commander-rb/commander"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ !<dev-ruby/commander-4.6.0-r1:0
+ dev-ruby/highline:3
+"
+
+all_ruby_prepare() {
+ sed -i -e "/simplecov/,/end/ s:^:#:" spec/spec_helper.rb || die
+}