diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-04-01 12:58:01 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-04-01 12:58:01 +0000 |
| commit | 288035c853dae8ddcd1d56c2476f141ef6c6f0cb (patch) | |
| tree | 1e5808384d30110002d96b2c5aa1a3960f186335 /dev-ruby/pathutil | |
| parent | d1ce6e81b74316f4ee8bf59eec1785698c1c18be (diff) | |
| download | srcux-288035c853dae8ddcd1d56c2476f141ef6c6f0cb.tar.gz srcux-288035c853dae8ddcd1d56c2476f141ef6c6f0cb.tar.xz srcux-288035c853dae8ddcd1d56c2476f141ef6c6f0cb.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/pathutil')
| -rw-r--r-- | dev-ruby/pathutil/pathutil-0.16.2-r1.ebuild (renamed from dev-ruby/pathutil/pathutil-0.16.2.ebuild) | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/dev-ruby/pathutil/pathutil-0.16.2.ebuild b/dev-ruby/pathutil/pathutil-0.16.2-r1.ebuild index ed5a294db9e3..a2d80d2c8ccf 100644 --- a/dev-ruby/pathutil/pathutil-0.16.2.ebuild +++ b/dev-ruby/pathutil/pathutil-0.16.2-r1.ebuild @@ -1,11 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -USE_RUBY="ruby25 ruby26 ruby27" +USE_RUBY="ruby27 ruby30" -RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_RECIPE_TEST="rspec3" RUBY_FAKEGEM_GEMSPEC="Gem.gemspec" @@ -21,6 +20,8 @@ SLOT="0" KEYWORDS="~amd64 ~arm64" IUSE="" +PATCHES=( "${FILESDIR}/${P}-ruby30.patch" ) + ruby_add_rdepend ">=dev-ruby/forwardable-extended-2.6 <dev-ruby/forwardable-extended-3" @@ -28,10 +29,7 @@ ruby_add_bdepend "test? ( dev-ruby/safe_yaml )" all_ruby_prepare() { sed -i -e '/\(coverage\|luna\|rspec\/helpers\)/ s:^:#:' \ - -e '1irequire "pathname"; require "tempfile"; require "tmpdir"; require "json"' \ + -e '1irequire "pathname"; require "tempfile"; require "tmpdir"; require "json" ; gem "psych", "~> 3.0"' \ spec/rspec/helper.rb || die rm -f spec/support/coverage.rb || die - - # Avoid spec failing with newer rspec versions, bug 775383 - sed -i -e '/should chdir before running the glob/apending' spec/tests/lib/pathutil_spec.rb || die } |
