dev-ruby/faraday: add 2.13.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-04-10 19:01:40 +02:00
parent f380e5f9fd
commit ee90a3cd93
2 changed files with 58 additions and 0 deletions

View File

@@ -3,3 +3,4 @@ DIST faraday-2.11.0.tar.gz 1033671 BLAKE2B a8db332300353afaaac62667cd70c5e3fcc81
DIST faraday-2.12.0.tar.gz 1033916 BLAKE2B e61c7854f6f3c5c3c8aa1d3d34352bce68390f2ec5a19e182451d0823311685e8608dcd1832362b6286c2c8a280ce764088fc45057c208730a90d91afadd29bc SHA512 654cd863eebb9bc85ec71ec5c8bfee53d959d9c0461db7c21c214bcf60ad5242431fceb5764966d5a15d607f5e9374a420135a2e67da2576f8c8805a9df100ff
DIST faraday-2.12.1.tar.gz 1033914 BLAKE2B 980694eb3ddfe4cc2491da98d0620d5e41a635b28d390e83c40bcca1e195aa5502e082301606cb7647683363cd17dde2a0e96f3d2aa162d451313fe81727aef7 SHA512 df136a91bd0bdbece9bc05b6ad67c226ddc38695bc97049949b16d07d1dbcec69f85b1ce17e509dd7083cdd7181561a20313b283fad7eb20fd91032639c3138c
DIST faraday-2.12.2.tar.gz 1034047 BLAKE2B c3f642b35575cd233471b8fb2add778aad5415a7ab6b16fa94acdc75a34928b92f46b481e24a30b9796984003af19e81a9dcffd9272f2a799d0e68dbb0da1774 SHA512 b1aefb1c2a6e9733ab2e2b23b611785b57054ffb86378131845758c8655e3269bd700de105749703ec839be65054eac79c7293e9bb8937dd5982ff877d2b99c5
DIST faraday-2.13.0.tar.gz 1034168 BLAKE2B d43cd20ce9d0f3893e61c048d5dc9fc760dbfa5e73f33f01c993ec52ff65f407076df10b5f1bf11c3d47070c225daabe0ff639bc179f8ea32a5f8e8b43a2db16 SHA512 c43ea8a2bab64a2403cc9a42ea25554c08491b99ad46ea5406ef29f7a2c729478c0dca751fb671875a53868df44b69f3d789650c826abe5363ceb4d7a97557ea

View File

@@ -0,0 +1,57 @@
# Copyright 1999-2025 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 ~arm64 ~ppc ~ppc64 ~x86"
IUSE="test"
DEPEND="test? ( sys-process/lsof )"
ruby_add_rdepend "
|| ( <dev-ruby/faraday-net_http-3.5:3 dev-ruby/faraday-net_http:2 )
dev-ruby/json
dev-ruby/logger
"
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
}