From d16430de89f819d83890ca1cbb78e573f36dbf12 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 22 Jul 2022 09:28:20 +0200 Subject: dev-ruby/appraisal: new package, add 2.4.1 Signed-off-by: Hans de Graaff --- dev-ruby/appraisal/Manifest | 1 + dev-ruby/appraisal/appraisal-2.4.1.ebuild | 38 +++++++++++++++++++++++++++++++ dev-ruby/appraisal/metadata.xml | 12 ++++++++++ 3 files changed, 51 insertions(+) create mode 100644 dev-ruby/appraisal/Manifest create mode 100644 dev-ruby/appraisal/appraisal-2.4.1.ebuild create mode 100644 dev-ruby/appraisal/metadata.xml diff --git a/dev-ruby/appraisal/Manifest b/dev-ruby/appraisal/Manifest new file mode 100644 index 000000000000..8bf551c9db24 --- /dev/null +++ b/dev-ruby/appraisal/Manifest @@ -0,0 +1 @@ +DIST appraisal-2.4.1.gem 26112 BLAKE2B 47a9e91117889c52022446cd052cc0c08891d0932ab88a74f61914dd46c1e1bbe7d2a82a6afacd749b4eaf88516d80676582d9fb593d606b8da2e7888455a739 SHA512 8f2a55e2a8e497c11f6b5f2f25c565b91ed8b8bc67b68263cbfa364a3ffeb501440a7122a09885de70b8e465e38e293aa491aa7c838d58855fed0efc63f2c219 diff --git a/dev-ruby/appraisal/appraisal-2.4.1.ebuild b/dev-ruby/appraisal/appraisal-2.4.1.ebuild new file mode 100644 index 000000000000..32a7e1a3f600 --- /dev/null +++ b/dev-ruby/appraisal/appraisal-2.4.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="A 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 +} diff --git a/dev-ruby/appraisal/metadata.xml b/dev-ruby/appraisal/metadata.xml new file mode 100644 index 000000000000..b4b7de864849 --- /dev/null +++ b/dev-ruby/appraisal/metadata.xml @@ -0,0 +1,12 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + thoughtbot/appraisal + appraisal + + -- cgit v1.2.3-65-gdbad