commit:     ed542eb591f1105e1b03f6088d1ca4f36fe46fa4
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 15 04:32:32 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Aug 15 07:41:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed542eb5
dev-ruby/curb: avoid test requiring ntlm

net-misc/curl in Gentoo no longer supports ntlm so this test now fails.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/curb/curb-0.9.11-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/curb/curb-0.9.11-r1.ebuild 
b/dev-ruby/curb/curb-0.9.11-r1.ebuild
index bf0097fb81a..c3928cceda4 100644
--- a/dev-ruby/curb/curb-0.9.11-r1.ebuild
+++ b/dev-ruby/curb/curb-0.9.11-r1.ebuild
@@ -19,7 +19,7 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE=""
 
-DEPEND+=" net-misc/curl[ssl]"
+DEPEND+=" net-misc/curl[ssl] test? ( net-misc/curl[samba] )"
 RDEPEND+=" net-misc/curl[ssl]"
 
 all_ruby_prepare() {
@@ -39,4 +39,7 @@ all_ruby_prepare() {
        # avoid failing tests where failure condition seems weird, no
        # upstream travis so not clear if the test is indeed broken.
        sed -i -e '/test_multi_easy_http/,/^  end/ s:^:#:' 
tests/tc_curl_multi.rb || die
+
+       # avoid test requiring ntlm support on curl which is no longer 
available in gentoo
+       sed -i -e '/test_username_password/aomit "ntlm support in curl needed"' 
-i tests/tc_curl_easy.rb || die
 }

Reply via email to