dev-ruby/net-http-persistent: add 3.0.0
authorHans de Graaff <graaff@gentoo.org>
Thu, 20 Jul 2017 05:14:27 +0000 (07:14 +0200)
committerHans de Graaff <graaff@gentoo.org>
Thu, 20 Jul 2017 06:25:04 +0000 (08:25 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-ruby/net-http-persistent/Manifest
dev-ruby/net-http-persistent/net-http-persistent-3.0.0.ebuild [new file with mode: 0644]

index 2dd7c9acc327d4bdc123e58e114aa580c57019ab..8d8df8e1a25a1e1586604671595b723de437e93e 100644 (file)
@@ -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 (file)
index 0000000..d4e49a9
--- /dev/null
@@ -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
+}