diff options
Diffstat (limited to 'dev-ruby/curb')
-rw-r--r-- | dev-ruby/curb/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/curb/curb-1.0.1.ebuild | 2 | ||||
-rw-r--r-- | dev-ruby/curb/curb-1.0.3.ebuild | 45 |
3 files changed, 49 insertions, 2 deletions
diff --git a/dev-ruby/curb/Manifest b/dev-ruby/curb/Manifest index b12c6bbb8581..9454ac9b87a7 100644 --- a/dev-ruby/curb/Manifest +++ b/dev-ruby/curb/Manifest @@ -1,5 +1,7 @@ DIST curb-0.9.11.gem 88576 BLAKE2B 1656a17070151ddd1bd63c3e23885d36d8e2b133b19e00347892363a9a20c88baa10932ceb5273733b18847d8d19dc403aa4b7f36fbd80c8dde126ae46743796 SHA512 000ee2054a5866de09042dfc5894330900e401aa94a0fe8bb133fe9c661f7899992adff0585e5ed3725d3564cd9819d76653655f3539faaa61ca6acabe3a8602 DIST curb-1.0.1.gem 90624 BLAKE2B b54404e0ea81ccb2ea03e262abce247ca4e0db1a5208cfecd57a6c0e423c36b282cdaef7db9bd3fe70d3fdb8cfa60c6085be04ff78daac71e83b63fe25bfef06 SHA512 78eeef1b3a778c64517243a25ff82889cb4703589d27f08cff6e84d39a806610a80bb749c51ddba93a82e02a18797978b55ebc4643948caa8900e76d343f4bc6 +DIST curb-1.0.3.gem 91648 BLAKE2B 8f819a5411c92e353cee4e1ef87c65bed67783606fcfe238a736ca5110b790d942e1cce6079508b854ab8b22e0079e8240e3d417f9e9ec6c2bef39878321ab55 SHA512 6273acd74121e3a4e42f7cb89eff4bad9511c7cafdf5e046773ec988c816003531877f6e5e756fab73296cedfa4599693014b6b65e9a9001a6e3c4875f53b73e EBUILD curb-0.9.11-r1.ebuild 1391 BLAKE2B 462de9fb6407457864bd56b2a0de59bb4723da435455b1371b2df8acd349e4a6424909897521e0a0dd7fd75520af11346bfc3193cd572247d64beca032a7ed2b SHA512 59706c93edaada27f54a15cc8ec7735b28d05a7d2736dbf0b00bf15b5502850466fb45b0278c735655493b5128e0813bc80b0cea2253541434b8611733deb222 -EBUILD curb-1.0.1.ebuild 1399 BLAKE2B aab3e44d95e6dc654a2e8b86a9f9a6ceb4321db481e742a5498f5885604143f90bc2d6d49edc0d396ec18776c8e82cd71c3f92cbe793022e32f4dff851bee4a6 SHA512 87b2e4cd6b9935a24c84e9bbe1bd4b1055609c6cb68c2d098372c5896f79828ea629ba845087516be56dd4c6606fe1bd2c9ae8102a65094329e25c80f965e9f2 +EBUILD curb-1.0.1.ebuild 1398 BLAKE2B d117b3d0e525c5fdd7d80dc53db1e6cdebc34a3a8beb4ca7d04907abe9150f43e7801b777b3860936b55028a42e62d9a253157c55a2cfd99cd5e38c341a5b30c SHA512 328b2c7db57cbb6a62c3f9be7917dd2cf528d305cbab63b6eba49aef0abee1889c760ea224886cf3b0d16e7474334c55bbe020883af30d9afdb8f11fe12fbfda +EBUILD curb-1.0.3.ebuild 1392 BLAKE2B d2514dda2f4f51c5e9eae3fd0c43e41a3fd95ad2d01b013f956ed379be3442eaa3bb9e0a3af5f68336a7cf6607998f1b54748268173eb4e2f0bb3a9eaaa01010 SHA512 0cfd0c105f49bff419ce04ccdd2e68433209082689265cc07e86768ff24fbd880fed4b60a8b2f32655f11b548de702ca051eababb7e8da85a73493f06c87ed4d MISC metadata.xml 336 BLAKE2B fd9820c5561af2381bf081eb2f3370727020edc79f306bd94b90699e8a817d218edb11ccc60ae9aa43f1713218a91c9b53cff0a6c23fc3d189e06bc5a1265b71 SHA512 f948d0e7f36c4b9912c58d6a7bf1b2ac5934075780fc7de3d6f759276e4ee297850f725259c06245affca40745bdc2bab0ab78bbd60b308a5d11fc97edeb4ac1 diff --git a/dev-ruby/curb/curb-1.0.1.ebuild b/dev-ruby/curb/curb-1.0.1.ebuild index b82ed935cd1c..a99824162e8a 100644 --- a/dev-ruby/curb/curb-1.0.1.ebuild +++ b/dev-ruby/curb/curb-1.0.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/taf2/curb" LICENSE="Ruby" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="" DEPEND+=" net-misc/curl[ssl] test? ( net-misc/curl )" diff --git a/dev-ruby/curb/curb-1.0.3.ebuild b/dev-ruby/curb/curb-1.0.3.ebuild new file mode 100644 index 000000000000..5d6fd59c9f39 --- /dev/null +++ b/dev-ruby/curb/curb-1.0.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" + +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="Ruby" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" net-misc/curl[ssl] test? ( net-misc/curl )" +RDEPEND+=" net-misc/curl[ssl]" + +all_ruby_prepare() { + # fix tests when localhost is also ::1 + sed -i -e 's|localhost:|127.0.0.1:|g' tests/*.rb || die + + # 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 + + # Fix test that expects wrong output + sed -i -e 's/200 OK /200 OK/' tests/tc_curl_easy.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 +} |