summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-04-01 09:00:35 +0200
committerHans de Graaff <graaff@gentoo.org>2023-04-01 10:26:17 +0200
commit387f26e85410ee8f6e61ed3353b8904d1e0b52a5 (patch)
tree83f90c7055d2b426a6c23ca70b3e4552907ed723 /dev-ruby/hashicorp-checkpoint
parentdev-ruby/aws-sigv4: drop 1.2.3, 1.2.4, 1.4.0, 1.5.1 (diff)
downloadgentoo-387f26e85410ee8f6e61ed3353b8904d1e0b52a5.tar.gz
gentoo-387f26e85410ee8f6e61ed3353b8904d1e0b52a5.tar.bz2
gentoo-387f26e85410ee8f6e61ed3353b8904d1e0b52a5.zip
dev-ruby/hashicorp-checkpoint: update EAPI 7 -> 8, add ruby31, ruby32
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/hashicorp-checkpoint')
-rw-r--r--dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5-r2.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5-r2.ebuild b/dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5-r2.ebuild
new file mode 100644
index 000000000000..b591d117716f
--- /dev/null
+++ b/dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Internal HashiCorp service to check version information"
+HOMEPAGE="https://www.hashicorp.com"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+# Tests require network
+RESTRICT="test"
+
+ruby_add_bdepend "
+ test? ( dev-ruby/rspec-its )
+"
+
+all_ruby_prepare() {
+ # remove bundler support
+ sed -i '/[Bb]undler/d' Rakefile || die
+
+ # Make tests compatible with new ruby versions
+ sed -i -e '/check/ s/opts/**opts/' spec/checkpoint_spec.rb || die
+}