summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-07-13 07:29:29 +0200
committerHans de Graaff <graaff@gentoo.org>2024-07-13 07:36:10 +0200
commit123447b438200799826596ee2b68bc3f82746e52 (patch)
treee59c4e817b8bab1bb015800ebb00d672a5f7e44c /dev-ruby/faraday
parentdev-ruby/capybara: drop 3.39.0-r1 (diff)
downloadgentoo-123447b438200799826596ee2b68bc3f82746e52.tar.gz
gentoo-123447b438200799826596ee2b68bc3f82746e52.tar.bz2
gentoo-123447b438200799826596ee2b68bc3f82746e52.zip
dev-ruby/faraday: add 2.10.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/faraday')
-rw-r--r--dev-ruby/faraday/Manifest1
-rw-r--r--dev-ruby/faraday/faraday-2.10.0.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest
index b317ee87be46..f70522d25ec7 100644
--- a/dev-ruby/faraday/Manifest
+++ b/dev-ruby/faraday/Manifest
@@ -1,4 +1,5 @@
DIST faraday-1.10.3.tar.gz 835008 BLAKE2B 5b2cff7877cd1e73dc52830aed67988eb5ed33a5ea1378d995f9e48bb69b8d20163a9faa69d65c9c99fddaa79e80bacee04b15141859dd81678a374b592557d1 SHA512 58b288a4d44424075f447fea982618db76b47f30e9fad69e5300b757f819bcf3cd48502b35851d186e103839538be0e52b7c222076f1399c3491335c2fe5b2c8
+DIST faraday-2.10.0.tar.gz 1031426 BLAKE2B b532fdaf9e13d29554b45d6a99d6eaedfa815a9681684727b31c66e80a6d0fea86f3883aba2a374e4c9dbb5033dbf92b189f57867b7c9616c2a414ff06814732 SHA512 30399c03b44c64fb50b327c61b190ae178447f1831f5916f6f396740af80b929f2a5191d75ab563017172c986d379dcd0395b43ac127a772443eb321bfbc6b1f
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.10.0.ebuild b/dev-ruby/faraday/faraday-2.10.0.ebuild
new file mode 100644
index 000000000000..c0dcbc8e4bef
--- /dev/null
+++ b/dev-ruby/faraday/faraday-2.10.0.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/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
+}
+
+each_ruby_test() {
+ MT_NO_PLUGINS=true each_fakegem_test
+}