summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-11-16 08:54:11 +0100
committerHans de Graaff <graaff@gentoo.org>2024-11-16 09:12:11 +0100
commit4353e51630923e05b68ceb999d04151686d43011 (patch)
tree38644c2959c219f9e66e5e749c38c3a838d0af4a /dev-ruby
parentdev-ruby/mini_portile2: drop 2.8.4 (diff)
downloadgentoo-4353e51630923e05b68ceb999d04151686d43011.tar.gz
gentoo-4353e51630923e05b68ceb999d04151686d43011.tar.bz2
gentoo-4353e51630923e05b68ceb999d04151686d43011.zip
dev-ruby/faraday: add 2.12.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/faraday/Manifest1
-rw-r--r--dev-ruby/faraday/faraday-2.12.1.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest
index de7497e28d4c..b011bea44fe6 100644
--- a/dev-ruby/faraday/Manifest
+++ b/dev-ruby/faraday/Manifest
@@ -3,4 +3,5 @@ DIST faraday-2.10.0.tar.gz 1031426 BLAKE2B b532fdaf9e13d29554b45d6a99d6eaedfa815
DIST faraday-2.10.1.tar.gz 1033252 BLAKE2B 2df625d91cedcfc3f78b97570e0a87404db74728f82e7c77776f806a0e388d629cb1fe0b35157c4b300db93db056a9c2bd1aff90f39a9dc326c6cae76e37fc0e SHA512 21a1777e1bb2f7b62963ad9063bc5ac373a9d1c6e827cf346630ea9dc1bd8f09009a554363dc92e030ce07bca002a24e10dce2736f43414e4e20bd394e55cdb4
DIST faraday-2.11.0.tar.gz 1033671 BLAKE2B a8db332300353afaaac62667cd70c5e3fcc812022aba3e76309b01122b65f7ff052cb114e72deebf72c3857fd2d9618ac901c16a489a331953e034c30d79ddc3 SHA512 1b38efb37869a37efc89eb56961f5cee4ecd4a815b1e4b30dcdc1157d210291078b408025ee5e22e0adc328c730cb70741e8840d749681fed1bd031b4db132cf
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.9.2.tar.gz 1031072 BLAKE2B 78a30d62bde0146274cc0c47a8f504d695fbdae0be50b49b92fdeb2e0fb83501b30a0a60c8d098d56f70263322fae5763b17dd2e8c6eea121b48cd4143034d9d SHA512 5f6af1a79f082e17113939282fdadae5ab2bba167f8d109b8f64b53ca3819d138f6e8a090c9d30036ab796a53ae53f4ecf2fd8c645e59a2aec025430b2c0e803
diff --git a/dev-ruby/faraday/faraday-2.12.1.ebuild b/dev-ruby/faraday/faraday-2.12.1.ebuild
new file mode 100644
index 000000000000..9f7c037e5c93
--- /dev/null
+++ b/dev-ruby/faraday/faraday-2.12.1.ebuild
@@ -0,0 +1,61 @@
+# 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.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
+}
+
+each_ruby_test() {
+ MT_NO_PLUGINS=true each_fakegem_test
+}