commit: dbf2b2d58d1afcbd21aeb6b425027c68190df047 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Jun 2 08:33:23 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Jun 2 08:34:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbf2b2d5
dev-ruby/curb: add missing test dependency Closes: https://bugs.gentoo.org/933190 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/curb/curb-1.0.5.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-ruby/curb/curb-1.0.5.ebuild b/dev-ruby/curb/curb-1.0.5.ebuild index 35bac119ac1e..87a4cb375d1a 100644 --- a/dev-ruby/curb/curb-1.0.5.ebuild +++ b/dev-ruby/curb/curb-1.0.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,11 +17,13 @@ HOMEPAGE="https://github.com/taf2/curb" LICENSE="Ruby" SLOT="0" KEYWORDS="amd64" -IUSE="" +IUSE="test" DEPEND+=" net-misc/curl[ssl] test? ( net-misc/curl )" RDEPEND+=" net-misc/curl[ssl]" +ruby_add_bdepend "test? ( dev-ruby/webrick )" + all_ruby_prepare() { # fix tests when localhost is also ::1 sed -i -e 's|localhost:|127.0.0.1:|g' tests/*.rb || die
