summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-03-24 07:07:53 +0100
committerHans de Graaff <graaff@gentoo.org>2022-03-24 07:07:53 +0100
commit998f2df155face37323acf061566eb91fcd0c366 (patch)
treec6f5ea7aac339932ebf15743f0bc083c686764ef /dev-ruby/excon
parentdev-ruby/idn-ruby: add ruby31 (diff)
downloadgentoo-998f2df155face37323acf061566eb91fcd0c366.tar.gz
gentoo-998f2df155face37323acf061566eb91fcd0c366.tar.bz2
gentoo-998f2df155face37323acf061566eb91fcd0c366.zip
dev-ruby/excon: add 0.92.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3 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.92.1.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest
index 6037f17e2438..406335e63f59 100644
--- a/dev-ruby/excon/Manifest
+++ b/dev-ruby/excon/Manifest
@@ -1,2 +1,3 @@
DIST excon-0.91.0.tar.gz 214359 BLAKE2B 82e0ee05c0f2e9eb0bbf9371459e43d02e75d72063f24738b0230272aaeeef5f5985eedf5c0e72a2962a093ee5bc2431b4de171835067a23f1b2fe26a1a7f609 SHA512 ab5b535bbc6f1bad408481c2496a101a198de3899fc185df6aff4377c5c22dcf39af5e022ee52fff111f84f20fed11f75237da0ede0237c3a3ffc5eb405db923
DIST excon-0.92.0.tar.gz 214364 BLAKE2B b0909aa0976085a7b720951623b7d341e370e23fc15972d955c9175f396a91bac3d22d244c092828532f3ad79d71ef77835d03e658c359f69c1d945c5fe25b42 SHA512 4e9ce9e0dceb9ff2983e6e10cd1224035a44b658398a3a0fb2fd13f1c36682965be383d4580c901551b4e503f3e9ac72a20bdbb31bbb690b781103866824e540
+DIST excon-0.92.1.tar.gz 212980 BLAKE2B 66832dbc309c825137419296098df56510dc004195468b5584fb50faff07e79f0748a11d692b3682e29d280004a53b9f1fd4dc5da14a40853f6c1639793b580c SHA512 3e630a96e37f20484caa15a8c4582a6e5a49a4baf741b9b855cc1d6cca4eb633c6a7f194c8f851c2dc7fd51989bb7ce37122f6eaecefc6583df58918e1540c73
diff --git a/dev-ruby/excon/excon-0.92.1.ebuild b/dev-ruby/excon/excon-0.92.1.ebuild
new file mode 100644
index 000000000000..84ee1858942c
--- /dev/null
+++ b/dev-ruby/excon/excon-0.92.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27"
+
+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"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+ruby_add_bdepend "
+ dev-ruby/rake
+ test? (
+ dev-ruby/activesupport
+ >=dev-ruby/eventmachine-1.0.4
+ >=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
+}