summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-12-22 08:55:28 +0100
committerHans de Graaff <graaff@gentoo.org>2023-12-22 09:07:59 +0100
commitc3ea3925eb1a08ea0f577a6a7019b0418502d99c (patch)
tree51b5075773ab6a80111c85cac77cf24ead3be501 /dev-ruby/faraday
parentnet-print/libcupsfilters: use elibtoolize to fix overlinking (diff)
downloadgentoo-c3ea3925eb1a08ea0f577a6a7019b0418502d99c.tar.gz
gentoo-c3ea3925eb1a08ea0f577a6a7019b0418502d99c.tar.bz2
gentoo-c3ea3925eb1a08ea0f577a6a7019b0418502d99c.zip
dev-ruby/faraday: add 2.8.1
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.8.1.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest
index 9cbfe7c54507..c4de14c1e9ff 100644
--- a/dev-ruby/faraday/Manifest
+++ b/dev-ruby/faraday/Manifest
@@ -4,3 +4,4 @@ DIST faraday-2.7.11.tar.gz 1029832 BLAKE2B fd5cc5a9fa0d8c40893600a89f71d906a9de0
DIST faraday-2.7.12.tar.gz 1029923 BLAKE2B 267880c4d35284c1eb2f894e9c2803662cf5a901417b5a8c6934b8cef3fe842924d945b64b6617dcd017cbfdc3c9be19271c7c295e2c39518215aba3ab8304bb SHA512 e35aaa7096a77a3dc76aa0a2c262d6e83d894564474dd5b1414488615e54096e96fefa245d65804afa71fc22ef55748c18a32213ba6eaedb431246d5f8d382a1
DIST faraday-2.7.6.tar.gz 832525 BLAKE2B 6d53bcabbdc6ce67433e475e7ac83d08a65a3baffe81f89038af1609ba58c1efe6f7fbe4bb47768a73940cea791c864dc9f313fe3510f89ad36d9e7261b76de1 SHA512 2b0e80f685dc1b9e62955e87d226b9b63cf30fec6d5e9addada532e249bb13ef43db9933091d716df391a79493048aaabd845d3052d3ea3b6ed0e834ed2b4c8d
DIST faraday-2.8.0.tar.gz 1030670 BLAKE2B b0dc09bb4b760e1e194276709f6d2fdc391af0422f2eeba1f07e8824bb02346dcbd05dd701cb5bfbdebd32ae77bb75914955061b43e85f5e47843b11d40e3b2b SHA512 14aa19b24996140467e74abf35129d60781eefaf97fcc3eea7f83f9dd8db17318fbc57d263e1564f94cd9cd1a03129cef210b50190491e4e094092196c72aa67
+DIST faraday-2.8.1.tar.gz 1030720 BLAKE2B c52733fa00143882d43bf7e48dc6fd79621aad9b096f01eb0cc05bb0808bffff0c01282d3823d3b105554d953dc003d86f85c7ef9505a733214a4569764b45a6 SHA512 b2af1dbfcefb92969ae45138401c8cc9a8a1b10ca2bd93dc6aad66337aefbad4cf5700949fb821b93bdba46ec5c7c61b83dcc934b5797a5516c53aab50a287cb
diff --git a/dev-ruby/faraday/faraday-2.8.1.ebuild b/dev-ruby/faraday/faraday-2.8.1.ebuild
new file mode 100644
index 000000000000..a1d63144ce57
--- /dev/null
+++ b/dev-ruby/faraday/faraday-2.8.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+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=""
+
+DEPEND+=" test? ( sys-process/lsof )"
+
+ruby_add_rdepend "
+ dev-ruby/base64
+ || ( =dev-ruby/faraday-net_http-3.0* 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:2.2
+ 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:^:#:' \
+ -e '3igem "rack", "~> 2.2"' \
+ -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
+}