commit:     247d7a3d079139d72a004a0b1a64350a2ebc4853
Author:     Matoro Mahri <matoro <AT> users <DOT> noreply <DOT> github <DOT> 
com>
AuthorDate: Mon Mar 20 14:45:03 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 22 01:18:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=247d7a3d

dev-ruby/llhttp-ffi: add explicit rspec test dep

Needs to be a test dep, but should NOT have RUBY_FAKEGEM_RECIPE_TEST set
as it needs to be called via rake.

Closes: https://bugs.gentoo.org/878053
Signed-off-by: Matoro Mahri <matoro <AT> users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/30261
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild 
b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild
index 2f1dcb8c942b..634c3b609568 100644
--- a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild
+++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.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
@@ -22,7 +22,10 @@ RUBY_S="llhttp-${MY_PV}/ffi"
 
 ruby_add_rdepend "=dev-ruby/ffi-compiler-1*"
 
-ruby_add_bdepend "test? ( dev-ruby/async-io )"
+ruby_add_bdepend "test? (
+       dev-ruby/async-io
+       dev-ruby/rspec:3
+)"
 
 all_ruby_prepare() {
        sed -i -e 's/gem "rake-compiler"//g' "Gemfile" || die

Reply via email to