diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-06-11 06:55:01 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-06-11 06:58:21 +0200 |
commit | 629d00843cd70a1021e14830f3a681858d726295 (patch) | |
tree | ab1eff8fbc484427d1d64dec8a0d073aafabd839 /dev-ruby | |
parent | dev-ml/ppxlib_jane: new package, add 0.17.0 (diff) | |
download | gentoo-629d00843cd70a1021e14830f3a681858d726295.tar.gz gentoo-629d00843cd70a1021e14830f3a681858d726295.tar.bz2 gentoo-629d00843cd70a1021e14830f3a681858d726295.zip |
dev-ruby/faraday: add 2.9.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/faraday/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/faraday/faraday-2.9.1.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest index 58f6dde4831d..7d4fe6bcc75b 100644 --- a/dev-ruby/faraday/Manifest +++ b/dev-ruby/faraday/Manifest @@ -1,3 +1,4 @@ DIST faraday-1.10.3.tar.gz 835008 BLAKE2B 5b2cff7877cd1e73dc52830aed67988eb5ed33a5ea1378d995f9e48bb69b8d20163a9faa69d65c9c99fddaa79e80bacee04b15141859dd81678a374b592557d1 SHA512 58b288a4d44424075f447fea982618db76b47f30e9fad69e5300b757f819bcf3cd48502b35851d186e103839538be0e52b7c222076f1399c3491335c2fe5b2c8 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 diff --git a/dev-ruby/faraday/faraday-2.9.1.ebuild b/dev-ruby/faraday/faraday-2.9.1.ebuild new file mode 100644 index 000000000000..79002b7c3924 --- /dev/null +++ b/dev-ruby/faraday/faraday-2.9.1.ebuild @@ -0,0 +1,60 @@ +# 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 ) + >=dev-ruby/ruby2_keywords-0.0.4 +" +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 +} |