dev-ruby/appraisal: new package, add 2.4.1

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2022-07-22 09:28:20 +02:00
parent 26e39e07b6
commit d16430de89
3 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST appraisal-2.4.1.gem 26112 BLAKE2B 47a9e91117889c52022446cd052cc0c08891d0932ab88a74f61914dd46c1e1bbe7d2a82a6afacd749b4eaf88516d80676582d9fb593d606b8da2e7888455a739 SHA512 8f2a55e2a8e497c11f6b5f2f25c565b91ed8b8bc67b68263cbfa364a3ffeb501440a7122a09885de70b8e465e38e293aa491aa7c838d58855fed0efc63f2c219

View File

@@ -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
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ruby@gentoo.org</email>
<name>Gentoo Ruby Project</name>
</maintainer>
<upstream>
<remote-id type="github">thoughtbot/appraisal</remote-id>
<remote-id type="rubygems">appraisal</remote-id>
</upstream>
</pkgmetadata>