1 |
commit: e802144b159a448b9a5dcabe4a31dda235e8de75 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 20 05:14:27 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 20 06:25:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e802144b |
7 |
|
8 |
dev-ruby/net-http-persistent: add 3.0.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ruby/net-http-persistent/Manifest | 1 + |
13 |
.../net-http-persistent-3.0.0.ebuild | 31 ++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/net-http-persistent/Manifest b/dev-ruby/net-http-persistent/Manifest |
17 |
index 2dd7c9acc32..8d8df8e1a25 100644 |
18 |
--- a/dev-ruby/net-http-persistent/Manifest |
19 |
+++ b/dev-ruby/net-http-persistent/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST net-http-persistent-2.9.4.gem 31232 SHA256 24274d207ffe66222ef70c78a052c7ea6e66b4ff21e2e8a99e3335d095822ef9 SHA512 9251e8422c2f43e7ecd8bc287fa9fff682fac84ed95d143425b0e7e7678a06c9be01db56e6a956588d6c33ddccbd1eff45a6f399f43d452de8e3134e6c50b74e WHIRLPOOL bd3121d130d4b044d3ed9963202d048fd913ab8e8cdecbdf7c3a23396edc71fcc0bf6aa7a58899908d28838e2ebc92cb6951a38afcbaaa537e0ef3505d7f84b8 |
22 |
+DIST net-http-persistent-3.0.0.gem 30208 SHA256 285cbf0bc3eb6312a86f883e0f5148e764aed76127075f3836dff5b74adad994 SHA512 a601d3abde43b196406e3cdd6b704796ed70db67dfb67c9b510e0164ce7355cc925cac37fbf4c5889f41b069890ba2e2c15440fb40294ed21891fd08d9f87894 WHIRLPOOL ae1287c3acecd17f75bf8514b92fdb250aeb8ee5c19c0d510d715c2c6737598852a6db91aeeb328d47f2bb223ff38d66d3d2b06e9e70c5ef59febdeacc4de0cd |
23 |
|
24 |
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 |
25 |
new file mode 100644 |
26 |
index 00000000000..d4e49a903b0 |
27 |
--- /dev/null |
28 |
+++ b/dev-ruby/net-http-persistent/net-http-persistent-3.0.0.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
36 |
+ |
37 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
38 |
+ |
39 |
+RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" |
40 |
+ |
41 |
+inherit ruby-fakegem |
42 |
+ |
43 |
+DESCRIPTION="Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8" |
44 |
+HOMEPAGE="https://github.com/drbrain/net-http-persistent" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="3" |
48 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
49 |
+IUSE="doc test" |
50 |
+ |
51 |
+ruby_add_rdepend ">=dev-ruby/connection_pool-2.2:0" |
52 |
+ |
53 |
+ruby_add_bdepend " |
54 |
+ test? ( dev-ruby/hoe dev-ruby/minitest )" |
55 |
+ |
56 |
+all_ruby_prepare() { |
57 |
+ # avoid test with implicit dependency on net-http-pipeline which |
58 |
+ # fails and is not tested upstream |
59 |
+ sed -i -e '/net-http-pipeline not installed/ s/unless.*$//' test/test_net_http_persistent.rb || die |
60 |
+} |