summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-09-15 07:47:07 +0200
committerHans de Graaff <graaff@gentoo.org>2023-09-15 07:47:07 +0200
commite2fc065b511b794b33f7efc377358d8d416ddd30 (patch)
tree778c1c25be249320fc80c9dafcab4c850275f6d8 /dev-ruby/excon
parentapp-misc/boxes: add 2.2.1 (diff)
downloadgentoo-e2fc065b511b794b33f7efc377358d8d416ddd30.tar.gz
gentoo-e2fc065b511b794b33f7efc377358d8d416ddd30.tar.bz2
gentoo-e2fc065b511b794b33f7efc377358d8d416ddd30.zip
dev-ruby/excon: add 0.103.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/excon')
-rw-r--r--dev-ruby/excon/Manifest1
-rw-r--r--dev-ruby/excon/excon-0.103.0.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest
index d7b1c24449f9..fc416e433d26 100644
--- a/dev-ruby/excon/Manifest
+++ b/dev-ruby/excon/Manifest
@@ -1,4 +1,5 @@
DIST excon-0.100.0.tar.gz 225605 BLAKE2B 4097fb64e79ef8fe89d2e93f7c44e3f71634f2c434eabd78c1518c35e06b68bde1c5254ee5f61fdf4c55d03f261ec83a5be738440b13f036d65b69051b57e6d2 SHA512 0f4758ed66b9915967b145532e648d716370c92ea3fb1ef6650079911901d53900bc03c18b90c7d3bd033e89e2d9bf1043edaacb86c5269f48303fff0b8de453
DIST excon-0.102.0.tar.gz 225048 BLAKE2B 6260b39f169766b1ada7197a0f291df6dec8c65281680ef83048ecaffc5d28c4fe5ce76a739ad511f53715deabd0d582fce9087933165dd1afa9962c1db34091 SHA512 65b03011670899a1e13f45f0cd0ee066bdb37d1e75bb534e714b646f7591433a7b2ea2039879b00c35511c651926d808cef6cae043cc04c819f4f28cd2b18758
+DIST excon-0.103.0.tar.gz 228734 BLAKE2B 1188411785e0101903eb7e2bb5ccb3db9259890a0957f06fed9297240858c91dca2cd16bfedecbe5867b816937812ecced8f577ea70b752ede295ce381a8071d SHA512 a605dd8c0bc55cbdab2b852e9c5792dca74908fbf5f05f512b07f1e08f0d7932ae0dbbbebf8d6685d1bbdfeaa91615f6e6eacb12722df653b8d9fc7a688a2731
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.103.0.ebuild b/dev-ruby/excon/excon-0.103.0.ebuild
new file mode 100644
index 000000000000..8b6240e05f1d
--- /dev/null
+++ b/dev-ruby/excon/excon-0.103.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="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
+ dev-ruby/webrick
+ )
+"
+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
+
+ # test that wrongly assumes 127.0.0.1 won't run a DNS server
+ rm -f spec/requests/dns_timeout_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
+}