diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-06-23 05:09:33 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-06-23 05:09:33 +0200 |
commit | 877081e7018ed7de1c177cfbacc3fb5a75e606b3 (patch) | |
tree | 685fb33d22eb409ef9bc76e946661cb6d4603333 /dev-ruby/faraday | |
parent | dev-python/coverage: Bump to 7.5.4 (diff) | |
download | gentoo-877081e7018ed7de1c177cfbacc3fb5a75e606b3.tar.gz gentoo-877081e7018ed7de1c177cfbacc3fb5a75e606b3.tar.bz2 gentoo-877081e7018ed7de1c177cfbacc3fb5a75e606b3.zip |
dev-ruby/faraday: add 2.9.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/faraday')
-rw-r--r-- | dev-ruby/faraday/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/faraday/faraday-2.9.2.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest index 7d4fe6bcc75b..b317ee87be46 100644 --- a/dev-ruby/faraday/Manifest +++ b/dev-ruby/faraday/Manifest @@ -2,3 +2,4 @@ DIST faraday-1.10.3.tar.gz 835008 BLAKE2B 5b2cff7877cd1e73dc52830aed67988eb5ed33 DIST faraday-2.7.12.tar.gz 1029923 BLAKE2B 267880c4d35284c1eb2f894e9c2803662cf5a901417b5a8c6934b8cef3fe842924d945b64b6617dcd017cbfdc3c9be19271c7c295e2c39518215aba3ab8304bb SHA512 e35aaa7096a77a3dc76aa0a2c262d6e83d894564474dd5b1414488615e54096e96fefa245d65804afa71fc22ef55748c18a32213ba6eaedb431246d5f8d382a1 DIST faraday-2.9.0.tar.gz 1030759 BLAKE2B 450ca700ccf624115aaa6c5ffc873e926884ff27a520aecd890f7156f20f829a802cece461327205930dfc53d06fd837adb1bb989e9603f369f61606640acddf SHA512 f534cd0903bc5ee83a355b09c886dfdf593b842fc85863877c9e0217ba797b027acce6d36674579053ac24e180d71afe4d879cb52cadd1da803b609f2da407c3 DIST faraday-2.9.1.tar.gz 1031030 BLAKE2B 1980fc9215e2ffaeafd920162b520bfb6731df5a5fec7d95ac9b17b62e6a7945e864d771f44acd2d43684f1953a61298d097bde469c36a195626101a26267e59 SHA512 424597b7d4e5f6c57651fd801c766b324d49a6081807578be9ce5dfc93b033f418924d05e7c73a3fd323d8b4677a0dd2a9c483a87f3c5321d26b93038675ee78 +DIST faraday-2.9.2.tar.gz 1031072 BLAKE2B 78a30d62bde0146274cc0c47a8f504d695fbdae0be50b49b92fdeb2e0fb83501b30a0a60c8d098d56f70263322fae5763b17dd2e8c6eea121b48cd4143034d9d SHA512 5f6af1a79f082e17113939282fdadae5ab2bba167f8d109b8f64b53ca3819d138f6e8a090c9d30036ab796a53ae53f4ecf2fd8c645e59a2aec025430b2c0e803 diff --git a/dev-ruby/faraday/faraday-2.9.2.ebuild b/dev-ruby/faraday/faraday-2.9.2.ebuild new file mode 100644 index 000000000000..763123dac482 --- /dev/null +++ b/dev-ruby/faraday/faraday-2.9.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_EXTRAINSTALL="spec" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="HTTP/REST API client library with pluggable components" +HOMEPAGE="https://github.com/lostisland/faraday" +SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="test" + +DEPEND+=" test? ( sys-process/lsof )" + +ruby_add_rdepend " + || ( <dev-ruby/faraday-net_http-3.2:3 dev-ruby/faraday-net_http:2 ) +" +ruby_add_bdepend "test? ( + >=dev-ruby/test-unit-2.4 + >=dev-ruby/connection_pool-2.2.2 + dev-ruby/rack:3.0 + dev-ruby/webmock + )" + +all_ruby_prepare() { + # Remove bundler support. + rm Gemfile || die + sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile || die + # Avoid loading all lib files since some of them require unpackaged dependencies. + sed -e '/[Cc]overall/ s:^:#:' \ + -e '/lib\/\*\*/ s:^:#:' \ + -e '/simplecov/ s:^:#:' \ + -e '/SimpleCov/,/end/ s:^:#:' \ + -e '/pry/ s:^:#:' \ + -i spec/spec_helper.rb || die + + sed -e '/git ls-files/ s:^:#:' \ + -e "s:_relative ': './:" \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + MT_NO_PLUGINS=true each_fakegem_test +} |