diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-25 09:53:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-25 09:53:56 +0100 |
commit | 601320c16301dbd7e8830e8c2ab7d6aef5b65abe (patch) | |
tree | 0a8e4b21dcd17c963ccfe0c1c815a38f7cdeb425 /dev-ruby/appraisal/appraisal-2.5.0.ebuild | |
parent | fad7c346bcf147b6a580ccc1d0a9b35dbe194ecc (diff) |
gentoo auto-resync : 25:08:2023 - 09:53:56
Diffstat (limited to 'dev-ruby/appraisal/appraisal-2.5.0.ebuild')
-rw-r--r-- | dev-ruby/appraisal/appraisal-2.5.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/appraisal/appraisal-2.5.0.ebuild b/dev-ruby/appraisal/appraisal-2.5.0.ebuild new file mode 100644 index 000000000000..6195e8a8bc3d --- /dev/null +++ b/dev-ruby/appraisal/appraisal-2.5.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Ruby library for testing your library against different versions of dependencies" +HOMEPAGE="https://github.com/thoughtbot/appraisal" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/bundler + dev-ruby/rake + >=dev-ruby/thor-0.14.0 +" + +ruby_add_bdepend "test? ( + >=dev-ruby/activesupport-3.2.21 +)" + +all_ruby_prepare() { + sed -i -e '/thor/ s:^:#:' Gemfile || die + + # Skip the acceptance tests since they expect to install gems from + # the network and do not expect multiple ruby versions to be + # present. + rm -rf spec/acceptance || die + sed -i -e '/built_in/ s:^:#:' spec/appraisal/appraisal_file_spec.rb || die +} |