dev-ruby/curb: add missing test dependency

Closes: https://bugs.gentoo.org/933190
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2024-06-02 10:33:23 +02:00
parent 873d29dfa7
commit dbf2b2d58d

View File

@@ -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