summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-10-21 11:51:45 +0200
committerHans de Graaff <graaff@gentoo.org>2022-10-22 06:11:37 +0200
commit4b9d87596431d2eec9d265cc98cd8471020eb6e5 (patch)
treee7883c27d9cb1d74a1c1611dbdd778b88820b441 /dev-ruby
parentnet-libs/libtirpc: drop 1.3.2, 1.3.2-r1 (diff)
downloadgentoo-4b9d87596431d2eec9d265cc98cd8471020eb6e5.tar.gz
gentoo-4b9d87596431d2eec9d265cc98cd8471020eb6e5.tar.bz2
gentoo-4b9d87596431d2eec9d265cc98cd8471020eb6e5.zip
dev-ruby/excon: add 0.93.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/excon/Manifest1
-rw-r--r--dev-ruby/excon/excon-0.93.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest
index 330910e3412b..c91fc1005eb3 100644
--- a/dev-ruby/excon/Manifest
+++ b/dev-ruby/excon/Manifest
@@ -1,3 +1,4 @@
DIST excon-0.92.3.tar.gz 215423 BLAKE2B e07a2ca3289c1bbf4b0c3de1ef2802d85311461ceb931b9fa90b9b6837f779303490f8773cb71b8a977d5d87ebb60343d10a0966158541af34771d163c7cc814 SHA512 908ea503c2b7b4e865fcff080579bf18319c1b15f2e5b7ec7f52b6d4ebb0561b187cd18fad47c1ceadfa64700257ebf80e927b70f8679c8d00db3abc8d07f8c6
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
diff --git a/dev-ruby/excon/excon-0.93.1.ebuild b/dev-ruby/excon/excon-0.93.1.ebuild
new file mode 100644
index 000000000000..da56c5a7fb91
--- /dev/null
+++ b/dev-ruby/excon/excon-0.93.1.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
+}