From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/excon/
Date: Tue, 15 Aug 2023 17:30:02 +0000 (UTC) [thread overview]
Message-ID: <1692120594.1576242dbb92a92e8ac9c29cab3d7b6dd4b2f13c.graaff@gentoo> (raw)
commit: 1576242dbb92a92e8ac9c29cab3d7b6dd4b2f13c
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 15 16:44:39 2023 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 17:29:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1576242d
dev-ruby/excon: add 0.100.0
Use a rack and rackup version compatible with sinatra for tests.
Closes: https://bugs.gentoo.org/911907
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/excon/Manifest | 1 +
dev-ruby/excon/excon-0.100.0.ebuild | 50 +++++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest
index f97c658673e4..73d064bf44af 100644
--- a/dev-ruby/excon/Manifest
+++ b/dev-ruby/excon/Manifest
@@ -1,2 +1,3 @@
+DIST excon-0.100.0.tar.gz 225605 BLAKE2B 4097fb64e79ef8fe89d2e93f7c44e3f71634f2c434eabd78c1518c35e06b68bde1c5254ee5f61fdf4c55d03f261ec83a5be738440b13f036d65b69051b57e6d2 SHA512 0f4758ed66b9915967b145532e648d716370c92ea3fb1ef6650079911901d53900bc03c18b90c7d3bd033e89e2d9bf1043edaacb86c5269f48303fff0b8de453
DIST excon-0.93.1.tar.gz 222206 BLAKE2B d32302aa69a54ffb332cbcf2fed8cda2e7e01461deb1f7477554c1fab1bd56b865b15aa6a44002772486c0c3a88729f2414a9cd6be057f07a6bd38e2fe7965d9 SHA512 bf7eb0532b44722c84f08c994a9cd9f473a3df23dcd9df87ecf34dc5ea10329391658fcb772103dde61e1f46ad33cfe98c773a5d2ee767c21f6bc11bc0d4bc46
DIST excon-0.95.0.tar.gz 223110 BLAKE2B 1d0706cf999ba6affb7aa9e7ed7160c90667d1bc27d121e4b40818288c445e893e9b438322a99174f2e86d6059b3e9b6bb7e8eec6c3c0ad211aea9862f297a0e SHA512 e1a269c8969f553b63a57642128b36ed82f9326de33b5f386f4ed0da60c1c28fe01b762e8607e6904fcc5445d9ec8d2bdc9985c58f8d07076693384fa435ad31
diff --git a/dev-ruby/excon/excon-0.100.0.ebuild b/dev-ruby/excon/excon-0.100.0.ebuild
new file mode 100644
index 000000000000..47c01dc309a3
--- /dev/null
+++ b/dev-ruby/excon/excon-0.100.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="changelog.txt README.md"
+RUBY_FAKEGEM_GEMSPEC="excon.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="EXtended http(s) CONnections"
+HOMEPAGE="https://github.com/excon/excon"
+SRC_URI="https://github.com/excon/excon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+ruby_add_bdepend "
+ dev-ruby/rake
+ test? (
+ dev-ruby/activesupport
+ >=dev-ruby/json-1.8.5
+ dev-ruby/open4
+ >=dev-ruby/rack-2.2.7-r1:2.2
+ dev-ruby/rdoc
+ dev-ruby/sinatra
+ )
+"
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files --/find */' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # test that need network
+ rm -f spec/excon/test/server_spec.rb || die
+
+ # tests that depend on eventmachine which is broken and no longer maintained
+ rm -f tests/{bad,error,pipeline,response,request}_tests.rb \
+ tests/{batch-requests,complete_responses}.rb \
+ tests/middlewares/{decompress,mock}_tests.rb || die
+ rm -f spec/requests/eof_requests_spec.rb spec/excon/error_spec.rb || die
+
+ # Use a rackup version compatible with sinatra
+ sed -i -e '/launch_process/ s/"rackup"/"rackup-2"/' tests/test_helper.rb || die
+ sed -i -e '/open_process/ s/rackup/rackup-2/' lib/excon/test/plugin/server/webrick.rb || die
+}
next reply other threads:[~2023-08-15 17:30 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-15 17:30 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-28 13:20 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/excon/ Hans de Graaff
2025-02-28 13:20 Hans de Graaff
2025-02-28 13:20 Hans de Graaff
2025-01-04 7:27 Hans de Graaff
2025-01-04 7:27 Hans de Graaff
2024-11-29 7:23 Hans de Graaff
2024-11-24 11:06 Hans de Graaff
2024-11-12 19:27 Hans de Graaff
2024-10-18 6:22 Hans de Graaff
2024-10-18 6:22 Hans de Graaff
2024-07-09 6:02 Hans de Graaff
2024-03-14 6:05 Hans de Graaff
2024-03-14 6:05 Hans de Graaff
2024-02-15 7:14 Hans de Graaff
2024-01-18 6:58 Hans de Graaff
2023-12-29 9:19 Hans de Graaff
2023-12-29 9:18 Hans de Graaff
2023-12-29 9:17 Hans de Graaff
2023-12-15 14:47 Hans de Graaff
2023-10-05 6:07 Hans de Graaff
2023-10-05 6:07 Hans de Graaff
2023-09-15 5:52 Hans de Graaff
2023-08-26 6:53 Hans de Graaff
2023-08-17 20:03 Hans de Graaff
2022-12-23 8:05 Hans de Graaff
2022-12-23 8:05 Hans de Graaff
2022-12-23 8:05 Hans de Graaff
2022-10-22 4:36 Hans de Graaff
2022-10-22 4:36 Hans de Graaff
2022-10-01 10:26 Hans de Graaff
2022-10-01 7:06 Hans de Graaff
2022-08-17 15:39 Sam James
2022-07-22 7:43 Agostino Sarubbo
2022-07-21 6:37 Hans de Graaff
2022-06-26 6:44 Hans de Graaff
2022-05-06 8:38 Hans de Graaff
2022-04-23 5:14 Hans de Graaff
2022-04-17 5:31 Hans de Graaff
2022-04-17 5:31 Hans de Graaff
2022-04-17 5:31 Hans de Graaff
2022-03-24 6:09 Hans de Graaff
2022-03-20 10:04 Hans de Graaff
2022-03-20 5:49 Hans de Graaff
2022-02-08 6:19 Hans de Graaff
2022-01-14 7:29 Hans de Graaff
2022-01-14 7:29 Hans de Graaff
2021-12-10 6:56 Hans de Graaff
2021-10-28 5:20 Hans de Graaff
2021-10-09 7:27 Hans de Graaff
2021-09-28 1:01 Sam James
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=1692120594.1576242dbb92a92e8ac9c29cab3d7b6dd4b2f13c.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