From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/faraday/
Date: Fri, 12 Jan 2024 09:49:37 +0000 (UTC) [thread overview]
Message-ID: <1705052608.e08db22e65b4b5a05251ec77e22b275c814169f5.graaff@gentoo> (raw)
commit: e08db22e65b4b5a05251ec77e22b275c814169f5
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 09:43:28 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 09:43:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e08db22e
dev-ruby/faraday: add 1.5.1
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/faraday/Manifest | 1 +
dev-ruby/faraday/faraday-1.5.1.ebuild | 102 ++++++++++++++++++++++++++++++++++
2 files changed, 103 insertions(+)
diff --git a/dev-ruby/faraday/Manifest b/dev-ruby/faraday/Manifest
index 716596a01b52..1f8a0afc81db 100644
--- a/dev-ruby/faraday/Manifest
+++ b/dev-ruby/faraday/Manifest
@@ -1,5 +1,6 @@
DIST faraday-1.3.1.tar.gz 840638 BLAKE2B 284f7f612d3ab791a00ceab823be0246685fa38356bfeb6e01c12e81c7369c500719a6023dd929160ca598b41401b82cda0d8e9e363d0e7bdd91791742f8e68f SHA512 b89839e5d602911904ce009f52d011c124f84811e0676a3a524d22ea7084d99a971b6573dcde6d512bf933909cc461ef01cd82a8eeb9df581c56f17f31966b1b
DIST faraday-1.4.3.tar.gz 838150 BLAKE2B 324788f73e450d386655e805163ffd6299c6d11453a7b034f55b549d3d4edcf3d2936b732e1e13fe4c38286f09b8c1aec7aa5ca42e2c2d6bd2f841a7b412e822 SHA512 7a7c370715c912434fcca5bae11543d24ef0990d24a8ab069f1bebdb534b8d1a9bc90c9625574e34f0ad9c4543391b24ce134a103ddc40b152ebd65d958c5517
+DIST faraday-1.5.1.tar.gz 836117 BLAKE2B 1522aa2bea9652549ebd3442edf2b3cee253627ffbf1afe96313d76d147dda5203e336963ef427c63356e122fffd462fb287389baa6c473188924493aab5dda8 SHA512 f210f6841d4642e55b1d09cb5a21ef684d0c6ad0afb121f8a6af9eb42066d58bf49e22234adfaa06fc03efe0d61fe2d9150d4adc5fc90fa9d5145e19f2d35729
DIST faraday-2.7.10.tar.gz 833034 BLAKE2B dca3ef6a48aa4d14f1717344c5ec85b1e9caf7205eb7ae1be76a7a96bdee9fbef2d112c05f96f5625262d2783fc0e5e196343f67b371e480532c5e74f77b73eb SHA512 e1d2792f49df5679c16d3690a2475c56db9ae537bf53db4bb7cc256b41455d3db36d8d672eaf3f8a63fb2b04349d45dd4d32a2c194606fd795de51b1f79ead85
DIST faraday-2.7.11.tar.gz 1029832 BLAKE2B fd5cc5a9fa0d8c40893600a89f71d906a9de0b800c9723d64e8dad5dac1bff4ec61ba2714347b38beeadafb42a29ed6fb217344ffdb122e137607ff140b6aed7 SHA512 eafbc0c88a94f03bfe659b10a86050d07e79c6c2fc81c16af9e2aad68bc5482748a4a41a0a7828b272a9e034cb77dab06e0a9a0e136a56c72b72ed97e5bad50c
DIST faraday-2.7.12.tar.gz 1029923 BLAKE2B 267880c4d35284c1eb2f894e9c2803662cf5a901417b5a8c6934b8cef3fe842924d945b64b6617dcd017cbfdc3c9be19271c7c295e2c39518215aba3ab8304bb SHA512 e35aaa7096a77a3dc76aa0a2c262d6e83d894564474dd5b1414488615e54096e96fefa245d65804afa71fc22ef55748c18a32213ba6eaedb431246d5f8d382a1
diff --git a/dev-ruby/faraday/faraday-1.5.1.ebuild b/dev-ruby/faraday/faraday-1.5.1.ebuild
new file mode 100644
index 000000000000..d701aa7ece71
--- /dev/null
+++ b/dev-ruby/faraday/faraday-1.5.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31"
+
+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"
+
+DEPEND+=" test? ( sys-process/lsof )"
+
+ruby_add_rdepend "
+ dev-ruby/faraday-httpclient:1
+ dev-ruby/faraday-net_http_persistent:1
+ dev-ruby/faraday-net_http:1
+ dev-ruby/faraday-patron:1
+ >=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3
+ dev-ruby/ruby2_keywords
+"
+ruby_add_bdepend "test? (
+ >=dev-ruby/test-unit-2.4
+ >=dev-ruby/connection_pool-2.2.2
+ dev-ruby/rack
+ >=dev-ruby/rack-test-0.6
+ dev-ruby/webmock
+ )"
+
+all_ruby_prepare() {
+ # Remove bundler support.
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/d ; 1irequire "yaml"' Rakefile || die
+ sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || 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 "faraday-net_http", "~> 1.0"; gem "faraday-net_http_persistent", "~> 1.0"' \
+ -i spec/spec_helper.rb || die
+
+ sed -e '/git ls-files/ s:^:#:' \
+ -e "s:_relative ': './:" \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Avoid multipart tests that require an unpackaged dependency
+ # that appears to be no longer maintained.
+ rm -f spec/faraday/request/multipart_spec.rb || die
+ sed -e '/multipart_parser/ s:^:#:' \
+ -i spec/support/helper_methods.rb || die
+
+ # Remove specs for unpackaged adapters
+ rm -f spec/faraday/adapter/{em_http,em_synchrony,excon,httpclient}_spec.rb || die
+
+ # Remove unpackaged adapters. These packages where part of earlier
+ # faraday versions but since we do not package their dependencies
+ # they never worked on a pure Gentoo install. We are taking this
+ # approach so we can add ruby32 compatibility to faraday:1 for
+ # those adapters that we do support.
+ sed -e '/require.*\(em_http\|em_synchrony\|excon\)/ s:^:#:' \
+ -i lib/faraday.rb || die
+ sed -e '/\(em_http\|em_synchrony\|excon\)/ s:^:#:' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Make this adapter optional since it comes with a long list of
+ # dependencies.
+ if ! has_version "dev-ruby/typhoeus:1" ; then
+ rm -f spec/faraday/adapter/typhoeus_spec.rb || die
+ fi
+
+ # Avoid a spec that gets tripped up by recent rack encoding changes.
+ sed -e '/encodes rack compat/ s/it/xit/' -i spec/faraday/params_encoders/nested_spec.rb || die
+}
+
+each_ruby_prepare() {
+ # Make sure the test scripts use the right ruby interpreter
+ sed -i -e 's:ruby:'${RUBY}':' script/* || die
+}
+
+each_ruby_test() {
+ MT_NO_PLUGINS=true each_fakegem_test
+
+ # Sleep some time to allow the sinatra test server to die
+ einfo "Waiting for test server to stop"
+ sleep 10
+}
next reply other threads:[~2024-01-12 9:49 UTC|newest]
Thread overview: 98+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-12 9:49 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-16 8:12 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/faraday/ Hans de Graaff
2024-11-16 8:12 Hans de Graaff
2024-10-07 2:49 Sam James
2024-09-24 5:09 Hans de Graaff
2024-08-31 6:00 Hans de Graaff
2024-08-31 6:00 Hans de Graaff
2024-08-04 6:47 Hans de Graaff
2024-07-27 6:48 Hans de Graaff
2024-07-27 6:48 Hans de Graaff
2024-07-13 5:36 Hans de Graaff
2024-06-23 3:34 Hans de Graaff
2024-06-11 4:58 Hans de Graaff
2024-05-25 9:13 Hans de Graaff
2024-05-25 9:13 Hans de Graaff
2024-05-25 9:13 Hans de Graaff
2024-05-17 9:55 Hans de Graaff
2024-05-17 9:55 Hans de Graaff
2024-05-17 9:55 Hans de Graaff
2024-02-17 8:29 Hans de Graaff
2024-02-17 8:29 Hans de Graaff
2024-01-27 20:06 Ionen Wolkens
2024-01-27 20:06 Ionen Wolkens
2024-01-27 10:35 Hans de Graaff
2024-01-27 10:35 Hans de Graaff
2024-01-27 10:35 Hans de Graaff
2024-01-19 17:57 Hans de Graaff
2024-01-13 9:02 Hans de Graaff
2024-01-12 9:57 Hans de Graaff
2024-01-12 9:49 Hans de Graaff
2024-01-03 12:24 Hans de Graaff
2024-01-02 13:58 Hans de Graaff
2023-12-22 8:08 Hans de Graaff
2023-12-21 6:48 Hans de Graaff
2023-11-22 7:09 Hans de Graaff
2023-09-13 4:56 Hans de Graaff
2023-08-29 17:44 Hans de Graaff
2023-07-24 12:32 Jakov Smolić
2023-07-18 16:32 Sam James
2023-07-11 4:37 Hans de Graaff
2023-07-01 8:41 Hans de Graaff
2023-06-26 4:40 Hans de Graaff
2023-06-19 15:12 Hans de Graaff
2023-06-19 15:12 Hans de Graaff
2023-04-10 21:02 Sam James
2023-03-18 23:10 Sam James
2022-12-24 6:35 Sam James
2022-12-24 6:35 Sam James
2022-12-23 8:25 Hans de Graaff
2022-12-16 21:02 Arthur Zamarin
2022-12-03 11:04 Hans de Graaff
2022-11-05 7:17 Hans de Graaff
2022-08-28 5:59 Hans de Graaff
2022-07-31 6:53 Hans de Graaff
2022-07-29 4:48 Hans de Graaff
2022-05-26 8:51 Hans de Graaff
2022-05-08 6:40 Hans de Graaff
2021-07-07 17:38 Hans de Graaff
2021-02-17 5:59 Hans de Graaff
2021-01-04 6:48 Hans de Graaff
2020-11-04 6:21 Hans de Graaff
2020-08-21 15:02 Hans de Graaff
2020-08-16 16:30 Hans de Graaff
2020-07-20 6:49 Hans de Graaff
2020-05-23 6:34 Hans de Graaff
2020-05-23 5:28 Hans de Graaff
2020-02-02 6:32 Hans de Graaff
2020-01-06 6:39 Hans de Graaff
2019-12-10 5:23 Hans de Graaff
2019-05-04 12:38 Hans de Graaff
2019-04-11 18:29 Hans de Graaff
2018-12-09 7:56 Hans de Graaff
2018-12-09 7:56 Hans de Graaff
2018-12-03 16:23 Hans de Graaff
2018-11-25 10:09 Hans de Graaff
2018-09-22 5:25 Hans de Graaff
2018-06-01 4:13 Hans de Graaff
2018-05-28 5:26 Hans de Graaff
2018-05-22 6:12 Hans de Graaff
2018-04-30 20:11 Hans de Graaff
2018-04-28 7:09 Hans de Graaff
2018-04-20 5:03 Hans de Graaff
2018-03-05 19:20 Hans de Graaff
2018-01-24 16:11 Hans de Graaff
2018-01-24 16:11 Hans de Graaff
2017-08-27 6:42 Hans de Graaff
2017-08-27 6:18 Hans de Graaff
2017-08-17 5:45 Hans de Graaff
2017-07-22 6:00 Hans de Graaff
2017-07-22 6:00 Hans de Graaff
2017-04-23 5:23 Hans de Graaff
2017-04-03 5:09 Hans de Graaff
2017-03-23 16:45 Hans de Graaff
2016-10-29 21:30 Manuel Rüger
2016-07-05 4:14 Hans de Graaff
2016-04-05 22:58 Manuel Rüger
2016-01-03 5:38 Richard Farina
2015-10-10 5:39 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1705052608.e08db22e65b4b5a05251ec77e22b275c814169f5.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox