summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-01-14 08:09:40 +0100
committerHans de Graaff <graaff@gentoo.org>2022-01-14 08:29:03 +0100
commitcf8a2172137fcc4cd5661201c03d670669067656 (patch)
treedddee86c4b2318ebf934e4bcb6dd3ebaec450be6
parentdev-ruby/excon: cleanup (diff)
downloadgentoo-cf8a2172137fcc4cd5661201c03d670669067656.tar.gz
gentoo-cf8a2172137fcc4cd5661201c03d670669067656.tar.bz2
gentoo-cf8a2172137fcc4cd5661201c03d670669067656.zip
dev-ruby/excon: add 0.90.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/excon/Manifest1
-rw-r--r--dev-ruby/excon/excon-0.90.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest
index 4b6ead7c6df9..d88944613a2c 100644
--- a/dev-ruby/excon/Manifest
+++ b/dev-ruby/excon/Manifest
@@ -1,2 +1,3 @@
DIST excon-0.88.0.tar.gz 210056 BLAKE2B abffad837a6a2a7337e43fc73d1f4004f6df01113f475e44daa48e21cef95f363bd5fbf88be0093fb18564d382fae5f4409e23689e11b5c47bc900f708ea7455 SHA512 5cb664e64973959dffb80f421bd70c300303fb6c4083b06f6bb42be8987a8822dc4ae38892467576583ec5dccd696b68dee7a946c3917df2066ebfc2afb72209
DIST excon-0.89.0.tar.gz 210503 BLAKE2B 3988bdff1db39a84ba6230bb8d789662bbf589e89ea637a8b3208095d0d26f4bc83f0994fca5db92de162e2882d2a519f2d9f3c4f535d123d2b018d4abd82d60 SHA512 36e23d93983098ad14b9169b7ae65c28903e8a46a2d8cd341ce111387a83fb90a7f01973d401c8089844355d18a6e53da117df3c3fcb82cf66eb5367e065e2ee
+DIST excon-0.90.0.tar.gz 210538 BLAKE2B a3e5898e3985ebdfc4026355f4761b1b0d9367408e01a119101fa2453924ff751d888ab976382b654b846e0ed9908054aab6ac1f6410a2a96056b7c8d8d977ad SHA512 efcc9a13b8715306f980cd4593c44befcf895f5c42f9475211420e67247d9eeefecddae53ba771710a6894ca23bf880158e7cdf9db895baa42ef3c5436ac846a
diff --git a/dev-ruby/excon/excon-0.90.0.ebuild b/dev-ruby/excon/excon-0.90.0.ebuild
new file mode 100644
index 000000000000..84ee1858942c
--- /dev/null
+++ b/dev-ruby/excon/excon-0.90.0.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
+}