dev-ruby/curb: add 1.2.2

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-09-21 09:07:23 +02:00
parent a8fd3790a3
commit 812a0f61ca
2 changed files with 49 additions and 0 deletions

View File

@@ -2,3 +2,4 @@ DIST curb-1.0.9.gem 97280 BLAKE2B 66a5267f5be670f13f477bfd881ee0212fc84b4955b76c
DIST curb-1.1.0.gem 97792 BLAKE2B 1a79cec78f3a5ed3d76d73e0ace24c0bffa4a1d9262a4985eabe4c6c365f3cd2296b1bb4b29c833a7399e8e27cdb0d12a4a6a4c99dadbd98e316548ece4e0188 SHA512 7b807a0fc7002bcfcbd1c3aee72c5f572c4808543c5b53a996b2f410986143906e4ca9ad2ebd33f886c23538d2c5c0b7633055086e7073884021c2b9537a9549
DIST curb-1.2.0.gem 110592 BLAKE2B 45d389727e19665c23dbf58a24feb7e85a038b1f9087c5abfc56a4190ba2cfba83b49cfc8d4c9c0c40d7b1be84ac100293983ebd2d32831f03a0660a6a771b83 SHA512 60f568760fc9e37bec0ef8ed67da7a0c428eeb8c2ab7e974d5415f5f730aca6d1a7eddce79864b9beebb965cc7d408aa7628b28c54f48382f569edcd7c65b810
DIST curb-1.2.1.gem 113152 BLAKE2B ac9a3d66209780e131fe95eba0c713b32fec880dd5eb2fd3d5fa4880bce57b1a03261a93c9c7f56870457d4bea8141a9e8851d4491a5bac0131a4ed7649a368d SHA512 ed3f84ef7df7b2036c8eb5b1c58458b1d3aa8084f47431812c27855f7bd28082aefc43d8b7f40e65a3e6d65002e2fe669809d9fefaf0491c00160252512a4d82
DIST curb-1.2.2.gem 117248 BLAKE2B b122053956b10d9d5548a3cf25fb27d7d85f93496b75f1b523203984ab0ec61f0feeb2ed897fdfc8b33d73cf4fe90d073c05547485d6c8d2ca26af521538c9cd SHA512 cad748c9a53d69f84d1319d256a23829f21bed614f395edf73cdd56d78d0fe982c27d5e1f123c06bcc631d818c337957d0003c3d209f392650e20005cbd9f630

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34"
RUBY_FAKEGEM_RECIPE_TEST="rake"
RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
inherit ruby-fakegem
DESCRIPTION="Ruby-language bindings for libcurl"
HOMEPAGE="https://github.com/taf2/curb"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
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() {
# avoid tests making outside network connections
rm tests/bug_postfields_crash.rb || die
sed -e '/test_easy_http_verbs_must_respond_to_str/,/^ end/ s:^:#:' \
-i tests/tc_curl_easy.rb || die
sed -e '/test_connection_keepalive/aomit "network connection needed"' \
-i tests/tc_curl_multi.rb || die
# 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
# Skip tests with currently unpackaged ruby_memcheck
sed -i -e '/ruby_memcheck/ s:^:#: ; /RubyMemcheck/,/^end/ s:^:#:' Rakefile
# Skip test failing on an encoding issue.
sed -e '/test_post_streaming/aomit "Fails on encoding difference"' \
-i tests/tc_curl_easy.rb || die
}