Diff shoulda-matchers-5.3.0 with a shoulda-matchers-7.0.1
| /usr/portage/dev-ruby/shoulda-matchers/shoulda-matchers-7.0.1.ebuild 2026-01-08 10:18:06.009017862 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
USE_RUBY="ruby31 ruby32 ruby33" |
|
| 6 |
USE_RUBY="ruby32 ruby33 ruby34" |
|
| 7 | ||
| 7 | 8 |
RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
| 8 | 9 |
RUBY_FAKEGEM_EXTRAINSTALL="CHANGELOG.md README.md" |
| 9 | 10 |
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
| ... | ... | |
| 17 | 18 | |
| 18 | 19 |
LICENSE="MIT" |
| 19 | 20 |
SLOT="$(ver_cut 1)" |
| 20 |
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86" |
|
| 21 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
| 21 | 22 | |
| 22 | 23 |
# Fedora manage to run the tests, but it's still pretty tricky. |
| 23 | 24 |
# https://src.fedoraproject.org/rpms/rubygem-shoulda-matchers/blob/rawhide/f/rubygem-shoulda-matchers.spec |
| 24 | 25 |
RESTRICT="test" |
| 25 | 26 | |
| 26 |
ruby_add_rdepend ">=dev-ruby/activesupport-5.2.0:*" |
|
| 27 |
ruby_add_rdepend ">=dev-ruby/activesupport-7.1:*" |
|
| 27 | 28 | |
| 28 | 29 |
all_ruby_prepare() {
|
| 29 | 30 |
sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die |