mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-ruby/appraisal: new package, add 2.4.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
1
dev-ruby/appraisal/Manifest
Normal file
1
dev-ruby/appraisal/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST appraisal-2.4.1.gem 26112 BLAKE2B 47a9e91117889c52022446cd052cc0c08891d0932ab88a74f61914dd46c1e1bbe7d2a82a6afacd749b4eaf88516d80676582d9fb593d606b8da2e7888455a739 SHA512 8f2a55e2a8e497c11f6b5f2f25c565b91ed8b8bc67b68263cbfa364a3ffeb501440a7122a09885de70b8e465e38e293aa491aa7c838d58855fed0efc63f2c219
|
||||
38
dev-ruby/appraisal/appraisal-2.4.1.ebuild
Normal file
38
dev-ruby/appraisal/appraisal-2.4.1.ebuild
Normal 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
|
||||
}
|
||||
12
dev-ruby/appraisal/metadata.xml
Normal file
12
dev-ruby/appraisal/metadata.xml
Normal 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>
|
||||
Reference in New Issue
Block a user