summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-07-20 07:14:27 +0200
committerHans de Graaff <graaff@gentoo.org>2017-07-20 08:25:04 +0200
commite802144b159a448b9a5dcabe4a31dda235e8de75 (patch)
tree8207246dd223d4ffb0f6225265767e26bc6d711e /dev-ruby/net-http-persistent
parentnet-analyzer/cacti-spine: Old. (diff)
downloadgentoo-e802144b159a448b9a5dcabe4a31dda235e8de75.tar.gz
gentoo-e802144b159a448b9a5dcabe4a31dda235e8de75.tar.bz2
gentoo-e802144b159a448b9a5dcabe4a31dda235e8de75.zip
dev-ruby/net-http-persistent: add 3.0.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/net-http-persistent')
-rw-r--r--dev-ruby/net-http-persistent/Manifest1
-rw-r--r--dev-ruby/net-http-persistent/net-http-persistent-3.0.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/net-http-persistent/Manifest b/dev-ruby/net-http-persistent/Manifest
index 2dd7c9acc32..8d8df8e1a25 100644
--- a/dev-ruby/net-http-persistent/Manifest
+++ b/dev-ruby/net-http-persistent/Manifest
@@ -1 +1,2 @@
DIST net-http-persistent-2.9.4.gem 31232 SHA256 24274d207ffe66222ef70c78a052c7ea6e66b4ff21e2e8a99e3335d095822ef9 SHA512 9251e8422c2f43e7ecd8bc287fa9fff682fac84ed95d143425b0e7e7678a06c9be01db56e6a956588d6c33ddccbd1eff45a6f399f43d452de8e3134e6c50b74e WHIRLPOOL bd3121d130d4b044d3ed9963202d048fd913ab8e8cdecbdf7c3a23396edc71fcc0bf6aa7a58899908d28838e2ebc92cb6951a38afcbaaa537e0ef3505d7f84b8
+DIST net-http-persistent-3.0.0.gem 30208 SHA256 285cbf0bc3eb6312a86f883e0f5148e764aed76127075f3836dff5b74adad994 SHA512 a601d3abde43b196406e3cdd6b704796ed70db67dfb67c9b510e0164ce7355cc925cac37fbf4c5889f41b069890ba2e2c15440fb40294ed21891fd08d9f87894 WHIRLPOOL ae1287c3acecd17f75bf8514b92fdb250aeb8ee5c19c0d510d715c2c6737598852a6db91aeeb328d47f2bb223ff38d66d3d2b06e9e70c5ef59febdeacc4de0cd
diff --git a/dev-ruby/net-http-persistent/net-http-persistent-3.0.0.ebuild b/dev-ruby/net-http-persistent/net-http-persistent-3.0.0.ebuild
new file mode 100644
index 00000000000..d4e49a903b0
--- /dev/null
+++ b/dev-ruby/net-http-persistent/net-http-persistent-3.0.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8"
+HOMEPAGE="https://github.com/drbrain/net-http-persistent"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="doc test"
+
+ruby_add_rdepend ">=dev-ruby/connection_pool-2.2:0"
+
+ruby_add_bdepend "
+ test? ( dev-ruby/hoe dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ # avoid test with implicit dependency on net-http-pipeline which
+ # fails and is not tested upstream
+ sed -i -e '/net-http-pipeline not installed/ s/unless.*$//' test/test_net_http_persistent.rb || die
+}