From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/http/
Date: Thu, 14 Mar 2024 05:48:55 +0000 (UTC) [thread overview]
Message-ID: <1710395317.63ca8781618a413b992d41ae6aa3dabd0e7083a7.graaff@gentoo> (raw)
commit: 63ca8781618a413b992d41ae6aa3dabd0e7083a7
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 13 06:24:12 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 05:48:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63ca8781
dev-ruby/http: add 5.2.0
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/http/Manifest | 1 +
dev-ruby/http/http-5.2.0.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/dev-ruby/http/Manifest b/dev-ruby/http/Manifest
index 3b126b27c40d..e231bb5237ff 100644
--- a/dev-ruby/http/Manifest
+++ b/dev-ruby/http/Manifest
@@ -1 +1,2 @@
DIST http-5.1.1.gem 82944 BLAKE2B bd44ede401712ddd13b76f9e3266622aefd78f37a89c84217c7f8206214e9e2ee994fe375a6e7897315dd83853d4e8ab2c0c9c34a59fe47c1a0617f3c126fdab SHA512 a39d88297b6f2f0a51a22fe502d1f7883d44a3fa0af250e1a8142f093fb3865b02b797bc46780d9129f0c67e18f97cc551aa1dbd794b3b4cda6bdb5495fe95e3
+DIST http-5.2.0.gem 85504 BLAKE2B 60391b959752c63e2f8cffcb86d6aad47fd30817f348ac6fc28ebce4fa5186f482c08db5e4413fc84eb54a9beb2682260c0c7241a76b40c3489fe7f2abcfb154 SHA512 88a813498db68827ea665c3a568ce45b0096203484564f3de18d46abdd87d2ecd756745f9f530965db306f8e37185d3d0b31959082bbe01fee5545b36b0716bd
diff --git a/dev-ruby/http/http-5.2.0.ebuild b/dev-ruby/http/http-5.2.0.ebuild
new file mode 100644
index 000000000000..ed0481107d6c
--- /dev/null
+++ b/dev-ruby/http/http-5.2.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md CHANGES_OLD.md README.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+inherit ruby-fakegem
+
+DESCRIPTION="An easy-to-use client library for making requests from Ruby"
+HOMEPAGE="https://github.com/httprb/http"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+
+ruby_add_rdepend "=dev-ruby/addressable-2*
+ >=dev-ruby/addressable-2.8
+ =dev-ruby/base64-0*:*
+ =dev-ruby/http-cookie-1*
+ >=dev-ruby/http-form_data-2.2:2
+ >=dev-ruby/llhttp-ffi-0.5.0:0/0.5"
+
+ruby_add_bdepend "
+ test? (
+ =dev-ruby/certificate_authority-1*
+ dev-ruby/rspec-its
+ dev-ruby/webrick
+ )"
+
+all_ruby_prepare() {
+ # Avoid specs that require network access
+ sed -i -e '/.persistent/,/^ end/ s:^:#:' \
+ spec/lib/http_spec.rb || die
+ sed -i -e '/with non-ASCII URLs/,/^ end/ s:^:#:' \
+ spec/lib/http/client_spec.rb || die
+
+ # Avoid spec that may fail with a running web server
+ sed -i -e '/unifies socket errors into HTTP::ConnectionError/,/^ end/ s:^:#:' spec/lib/http_spec.rb || die
+
+ # Fix spec for production release
+ sed -i -e '/User-Agent:/ s/.dev//' spec/lib/http/features/logging_spec.rb || die
+
+ # Avoid specs also failing upstream due to some certificate issue
+ sed -i -e '/context "ssl"/,/^ end/ s:^:#:' spec/lib/http_spec.rb || die
+ sed -i -e '/describe "working with SSL"/,/^ end/ s:^:#:' spec/lib/http/client_spec.rb || die
+
+ # Disable coverage
+ sed -i -e 's/require_relative ".\/support\/simplecov"//g' "spec/spec_helper.rb" || die
+}
+
+each_ruby_test() {
+ # disables dev-ruby/fuubar dep
+ CI=1 each_fakegem_test
+}
next reply other threads:[~2024-03-14 5:49 UTC|newest]
Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-14 5:48 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-08 8:59 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/http/ Hans de Graaff
2024-03-15 13:16 Hans de Graaff
2024-03-14 5:48 Hans de Graaff
2023-09-16 5:30 Hans de Graaff
2023-07-04 9:41 Hans de Graaff
2023-04-09 3:13 Sam James
2023-04-09 3:00 Sam James
2023-04-09 2:34 Sam James
2023-04-08 21:30 Sam James
2022-12-05 20:03 Arthur Zamarin
2022-12-05 18:35 Hans de Graaff
2022-12-01 4:03 Sam James
2022-12-01 4:03 Sam James
2022-12-01 2:04 Sam James
2022-10-22 21:33 Matt Turner
2022-08-27 7:57 Sam James
2022-07-28 8:28 Hans de Graaff
2021-02-14 5:41 Sam James
2021-02-09 21:29 Sam James
2021-01-20 0:38 Sam James
2021-01-19 14:25 Sam James
2020-12-25 7:13 Hans de Graaff
2020-10-01 0:26 Sam James
2020-10-01 0:26 Sam James
2020-05-13 5:05 Hans de Graaff
2020-04-19 23:55 Sergei Trofimovich
2020-04-19 23:55 Sergei Trofimovich
2019-11-16 9:13 Hans de Graaff
2019-11-16 9:13 Hans de Graaff
2019-05-01 19:36 Hans de Graaff
2019-05-01 19:36 Hans de Graaff
2019-04-10 6:09 Hans de Graaff
2019-03-11 6:25 Hans de Graaff
2019-03-11 6:25 Hans de Graaff
2019-02-18 8:28 Hans de Graaff
2019-01-25 6:10 Hans de Graaff
2019-01-15 6:02 Hans de Graaff
2018-12-12 9:30 Hans de Graaff
2018-12-10 7:33 Hans de Graaff
2018-11-23 10:46 Hans de Graaff
2018-10-19 5:35 Hans de Graaff
2018-06-16 6:12 Hans de Graaff
2018-05-23 4:47 Hans de Graaff
2018-04-28 6:33 Hans de Graaff
2018-04-28 6:33 Hans de Graaff
2018-04-23 5:56 Hans de Graaff
2018-03-25 12:41 Sergei Trofimovich
2018-03-25 12:41 Sergei Trofimovich
2018-03-22 20:23 Jeroen Roovers
2018-02-07 5:52 Thomas Deutschmann
2018-01-19 9:02 Hans de Graaff
2017-10-14 8:08 Hans de Graaff
2017-08-26 8:27 Hans de Graaff
2017-08-26 8:27 Hans de Graaff
2017-08-17 5:45 Hans de Graaff
2017-07-19 6:55 Hans de Graaff
2017-05-23 19:55 Michael Weber
2017-05-06 7:52 Hans de Graaff
2017-04-30 5:12 Hans de Graaff
2017-04-30 5:12 Hans de Graaff
2017-02-10 18:04 Hans de Graaff
2017-02-05 9:18 Hans de Graaff
2017-02-05 9:18 Hans de Graaff
2016-11-09 6:34 Hans de Graaff
2016-10-13 5:52 Hans de Graaff
2016-08-07 6:20 Hans de Graaff
2016-06-27 4:41 Hans de Graaff
2016-06-13 4:37 Richard Farina
2016-06-05 7:59 Hans de Graaff
2016-06-05 7:59 Hans de Graaff
2016-05-20 5:18 Hans de Graaff
2016-05-20 5:18 Hans de Graaff
2016-04-26 5:29 Hans de Graaff
2016-02-18 6:34 Hans de Graaff
2016-02-13 6:46 Hans de Graaff
2016-02-13 6:46 Hans de Graaff
2015-10-04 6:54 Hans de Graaff
2015-10-03 5:35 Hans de Graaff
2015-10-03 5:35 Hans de Graaff
2015-08-19 18:27 Hans de Graaff
2015-08-16 6:38 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=1710395317.63ca8781618a413b992d41ae6aa3dabd0e7083a7.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