diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-06-23 05:12:03 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-06-23 05:12:03 +0200 |
commit | f78913419620a64dbd54d4c07423cbda262fb292 (patch) | |
tree | a6caabbefec040eb397e3c753a4d74704c0a2314 | |
parent | dev-ruby/faraday: add 2.9.2 (diff) | |
download | gentoo-f78913419620a64dbd54d4c07423cbda262fb292.tar.gz gentoo-f78913419620a64dbd54d4c07423cbda262fb292.tar.bz2 gentoo-f78913419620a64dbd54d4c07423cbda262fb292.zip |
dev-ruby/faraday-retry: add 2.2.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | dev-ruby/faraday-retry/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/faraday-retry/faraday-retry-2.2.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/faraday-retry/Manifest b/dev-ruby/faraday-retry/Manifest index 9ee5cf628131..0b1d6ec5dc77 100644 --- a/dev-ruby/faraday-retry/Manifest +++ b/dev-ruby/faraday-retry/Manifest @@ -1,2 +1,3 @@ DIST faraday-retry-1.0.3.tar.gz 10732 BLAKE2B 4ab94c84242b1009221e7c44273a3dc3e07ce3303b776a42ac04c6adec5439ff83ad583e2b3670638d08aa5117ee897669dc4e8e3d13e3a84672cf9001580889 SHA512 d3d50c6ccca97b3c7f076a45f0be92c9d601a005328d09397d8ac56492688296cfc2e61327389e10d4989df957bc76be7c270b6cbae3b9b2b8023fc9da265698 DIST faraday-retry-2.2.0.tar.gz 12498 BLAKE2B a6cd459b745b219ee004cda59e4b1d9199676968ff4e6ef1ba8676badb1c10614a09a30467356032be9054d276055047a78a23b41d65ba84444680151eec688a SHA512 d7dd1bb5e7dd9b0cb94c5565bfd3a1c6c3f67277e15c0fb85a3fbd422a9939be22037089c918a607ae1cb71c18069ea766ab0fc18c9ed2b24fac820d25a6f85a +DIST faraday-retry-2.2.1.tar.gz 12769 BLAKE2B df42e17b6aca3ff7fceb5491737d240de0417fa1ee2e339c67de0c270ae23cafd20864cb671d59d4aa8583e053398badde2dc0de7e9d44dd6217edf31be3e6f0 SHA512 56e0c42f8014641534dee7afdc679a8f2bd3c62b62b588ebaa1b684378d4b0049a358b8afcebc892a1044fbac88987e0e859c42e5e67c301406d4119d285e814 diff --git a/dev-ruby/faraday-retry/faraday-retry-2.2.1.ebuild b/dev-ruby/faraday-retry/faraday-retry-2.2.1.ebuild new file mode 100644 index 000000000000..33166ca23bd8 --- /dev/null +++ b/dev-ruby/faraday-retry/faraday-retry-2.2.1.ebuild @@ -0,0 +1,36 @@ +# 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_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Faraday adapter for Net::HTTP" +HOMEPAGE="https://github.com/lostisland/faraday-retry" +SRC_URI="https://github.com/lostisland/faraday-retry/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" + +ruby_add_rdepend "dev-ruby/faraday:2" + +all_ruby_prepare() { + sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '2igem "faraday", "~> 2.0"' spec/spec_helper.rb || die + + # Avoid unpackaged, test-only, faraday-multipart for now. + sed -i -e '/multipart/ s:^:#:' spec/spec_helper.rb || die + sed -e '/should rewind files on retry/askip "faraday-multipart not packaged"' \ + -i spec/faraday/retry/middleware_spec.rb || die +} |