diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-02-03 16:12:27 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-02-04 08:07:52 +0100 |
commit | b2c7400c359bea8680026ed5ed28f84c8d537099 (patch) | |
tree | 789c0b8046640ff96a0387ec5d0565c5522ae415 /dev-ruby | |
parent | dev-ruby/sinatra: fix tests with rack 3 present (diff) | |
download | gentoo-b2c7400c359bea8680026ed5ed28f84c8d537099.tar.gz gentoo-b2c7400c359bea8680026ed5ed28f84c8d537099.tar.bz2 gentoo-b2c7400c359bea8680026ed5ed28f84c8d537099.zip |
dev-ruby/warden: fix tests with rack 3 present
Closes: https://bugs.gentoo.org/892702
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/warden/warden-1.2.9-r1.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ruby/warden/warden-1.2.9-r1.ebuild b/dev-ruby/warden/warden-1.2.9-r1.ebuild index 10ac2aa604ad..af1e2f7a33ac 100644 --- a/dev-ruby/warden/warden-1.2.9-r1.ebuild +++ b/dev-ruby/warden/warden-1.2.9-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,6 +23,10 @@ IUSE="" ruby_add_rdepend ">=dev-ruby/rack-2.0.9:*" +ruby_add_bdepend "test? ( dev-ruby/rack:2.2 )" + all_ruby_prepare() { sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '1igem "rack", "<3"' spec/spec_helper.rb || die } |