summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-12-23 09:03:23 +0100
committerHans de Graaff <graaff@gentoo.org>2022-12-23 09:05:49 +0100
commitafcb36aad97563a8d468b02676dae905d99f3879 (patch)
treeb4dd4aacdb3fa07f02ac62705ce718a6afd84044 /dev-ruby/excon
parentdev-ruby/erubi: stabilize 1.11.0 for amd64 (diff)
downloadgentoo-afcb36aad97563a8d468b02676dae905d99f3879.tar.gz
gentoo-afcb36aad97563a8d468b02676dae905d99f3879.tar.bz2
gentoo-afcb36aad97563a8d468b02676dae905d99f3879.zip
dev-ruby/excon: add 0.95.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.95.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest
index c91fc1005eb3..6a98e610763e 100644
--- a/dev-ruby/excon/Manifest
+++ b/dev-ruby/excon/Manifest
@@ -2,3 +2,4 @@ DIST excon-0.92.3.tar.gz 215423 BLAKE2B e07a2ca3289c1bbf4b0c3de1ef2802d85311461c
DIST excon-0.92.4.tar.gz 219663 BLAKE2B f07bae2e9522860abbcdd1e987b808f935119fa8c6feee2868988eea14d017f656f4e17d54b637923706c9f462cd282d69e71fb9bdb71352c5a93f8f693c7a6d SHA512 dbcad9566f658dd2f49bb2fcd4cdc3a664c8d1dbc8fdfed7decf223c0f9510e3d53a3228a782a4f98f75a43be036433e1bb8d1443a2c0db18c675e28d813075a
DIST excon-0.93.0.tar.gz 220004 BLAKE2B 02c3b80aab6004ea24ad2ea71e74e32b6d33a376d32c89f07143f11304bf9992caa1f90ee334ca55bb5a5ca49614626f491067547eef3eecce18c7fc8f821eae SHA512 c4da48e54bc690a18ab987e1f5d91285bf2768438b319824c0380d4813ce08d010762c5627b7f2ae2e39676597a9c38be0d8d35f379ecab3c333286eb02579dd
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.95.0.ebuild b/dev-ruby/excon/excon-0.95.0.ebuild
new file mode 100644
index 000000000000..da56c5a7fb91
--- /dev/null
+++ b/dev-ruby/excon/excon-0.95.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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/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
+}