diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-20 12:05:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-20 12:05:24 +0100 |
commit | da7ae1dd1fccb6b3c0e4763ab983ad96d57bf463 (patch) | |
tree | 0a7a1b7b3ad60c3b21c697e75908b256fc9ed6b1 /dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5-r3.ebuild | |
parent | b6cfc0c19effe2d9f7b8ab303cd00636f16da253 (diff) |
gentoo auto-resync : 20:04:2024 - 12:05:23
Diffstat (limited to 'dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5-r3.ebuild')
-rw-r--r-- | dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5-r3.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5-r3.ebuild b/dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5-r3.ebuild new file mode 100644 index 000000000000..f333efc74aed --- /dev/null +++ b/dev-ruby/hashicorp-checkpoint/hashicorp-checkpoint-0.1.5-r3.ebuild @@ -0,0 +1,34 @@ +# 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="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 +} |