commit: 8edef0aeaef55b04ecf33d848d67ef8ea0bf9992
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 5 06:25:54 2025 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Oct 5 06:29:11 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8edef0ae
dev-ruby/faraday: add 2.14.0
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/faraday/Manifest | 1 +
dev-ruby/faraday/faraday-2.14.0.ebuild | 57 ++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest
index 98a2c9b09e6c..9887105efbc9 100644
--- a/dev-ruby/faraday/Manifest
+++ b/dev-ruby/faraday/Manifest
@@ -4,3 +4,4 @@ DIST faraday-2.13.1.tar.gz 1034231 BLAKE2B
1b39da6c06d43e7802625a0d0ad21749fc6f3
DIST faraday-2.13.2.tar.gz 1035846 BLAKE2B
1ff75d2ce0e7be2de6cfd3fe0c1018156cb45c8aaf66f16c069583189309b774b355893fbc7d8bebb4892b2a5aefc4b6370f19993ea85920b44a73cff83ed62a
SHA512
a26cfefe75ab2cf8a1708acad83294eb479d6341c01e971501331c7c9045ed766c86ab22aaa6af6b6cc58493b7c1148201ab16e0b3046b024f842cd9678871d3
DIST faraday-2.13.3.tar.gz 1035836 BLAKE2B
27c0703f67660fc0472098b8070478569ca12e0fcc2b841e042e68255be83ba9c9b7e9b55fd9437b146a3e62a495425b1c2ac53b9c63cf61183db92933a59fdf
SHA512
a815a739c321b9a9b1fe16383edf50b64674bdd394863f92efea9571195397acd0620dfea2b903bd665dd6956f7227d4b0bd2919281152154bd6c2d6cc741989
DIST faraday-2.13.4.tar.gz 1036514 BLAKE2B
3a158befc4081b5878b4bcb16eb8734261150bd66dc35858e86fab71a45a9a30d7faabf040a4d8580f12a1e8180f7c8efbc3dc822e933d4b227c81ec1e96c70c
SHA512
65fb41519f046d8eb4f38aca9cb7f5d9cca447ea2a6b7bf6a31f5db004494a442142b530d63a866f3eac3b2c99ea1ae0f60c17ebe92cced01fcf6eed2620888e
+DIST faraday-2.14.0.tar.gz 1036784 BLAKE2B
dbb6bc6e3dbd4a9c0bf3329facb5f87f90989a7ba2d8533a4fe03f14cd0a3fa2746315f599c5ef682cf7b301ca5ad35f505b6d1a7f83557500bff15b4cb2d689
SHA512
22b8babd9d880d19c176d429a5eb27fa45e72ab9a92fcf377477dac7a50adba4805fe7014d98c00ab7b04f2c8cb22ee9cfab0da23a9bee157f4b408654d2db02
diff --git a/dev-ruby/faraday/faraday-2.14.0.ebuild
b/dev-ruby/faraday/faraday-2.14.0.ebuild
new file mode 100644
index 000000000000..a6c4207a67ba
--- /dev/null
+++ b/dev-ruby/faraday/faraday-2.14.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+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.1 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
+}