diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-08-16 08:03:56 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-08-16 08:04:42 +0200 |
commit | 6546bc6b7c106623a02153f5680cdb1791857963 (patch) | |
tree | 3ec3def4899d39a8d2ef00dcbb2e1022484b61e8 /dev-ruby/sinatra | |
parent | app-editors/neovim: Keyword 0.10.1 ppc, #937973 (diff) | |
download | gentoo-6546bc6b7c106623a02153f5680cdb1791857963.tar.gz gentoo-6546bc6b7c106623a02153f5680cdb1791857963.tar.bz2 gentoo-6546bc6b7c106623a02153f5680cdb1791857963.zip |
dev-ruby/sinatra: use a compatible rack slot for tests
Closes: https://bugs.gentoo.org/937964
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/sinatra')
-rw-r--r-- | dev-ruby/sinatra/sinatra-4.0.0.ebuild | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/dev-ruby/sinatra/sinatra-4.0.0.ebuild b/dev-ruby/sinatra/sinatra-4.0.0.ebuild index 66917a7fe2b2..2dab48d298c1 100644 --- a/dev-ruby/sinatra/sinatra-4.0.0.ebuild +++ b/dev-ruby/sinatra/sinatra-4.0.0.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="MIT" SLOT="$(ver_cut 1)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" +IUSE="doc test" ruby_add_rdepend " dev-ruby/mustermann:3 @@ -43,11 +43,7 @@ ruby_add_bdepend " ruby_add_bdepend "doc? ( dev-ruby/yard )" all_ruby_prepare() { - # sed -i \ - # -e "/require 'rack'/igem 'rack', '~> 2.2', '>= 2.2.4'" \ - # test/test_helper.rb || die - - # # Avoid spec broken by newer rack versions, already removed upstream. - # sed -i -e 's/"bytes=IV-LXVI", //' test/static_test.rb || die -: + sed -i \ + -e "/require 'rack'/igem 'rack', '~> 3.0.0'" \ + test/test_helper.rb || die } |