1 |
commit: 10ce2beb01bb0d156f2179a59bb3803713403d41 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 31 05:36:37 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 31 05:36:37 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10ce2beb |
7 |
|
8 |
dev-ruby/addressable: add 2.7.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/addressable/Manifest | 1 + |
14 |
dev-ruby/addressable/addressable-2.7.0.ebuild | 42 +++++++++++++++++++++++++++ |
15 |
2 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/addressable/Manifest b/dev-ruby/addressable/Manifest |
18 |
index dda793dea1c..c93f376d4ed 100644 |
19 |
--- a/dev-ruby/addressable/Manifest |
20 |
+++ b/dev-ruby/addressable/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST addressable-2.5.2.gem 103936 BLAKE2B c6677a2b5e9a7a1b279b2e3f1816cda40c0797254970ecaed2350d4d4739dee5a51580a8e2f94fc6bb87b9fe2a535d0a68b62eb672f8e91ff4da02e15e8dffcc SHA512 ddd5aeb4b241efa897a636fd85bd227bd5c6a8ae56129b6bbbdfaad85cdbb74e3d0db4bb6693f7df148b66f68ca1f557ac17a1fb0ea7698d25d883ab0b690bc4 |
23 |
DIST addressable-2.6.0.gem 104448 BLAKE2B 664365962533d31786e2a362b61879fee544867b7aadc2ceb1ae6709374015a7f0f5c0bd32a81c8f2ae711a4ce1a07cd8f84821e74c3b6aa56b7474800567737 SHA512 71aa0ce8b61a07c1d01298dcd29cb2ba73d06ed1578908cae60351214f7d0bc6c9b8b0db7a78044fb1bed258bf00f2f093aa4e2bcb32575f4db2a79ee36b2648 |
24 |
+DIST addressable-2.7.0.gem 104960 BLAKE2B 4bca65d54ef1d3556cf4017ae68082635c0398b6f604eb3edc18da8f8e1e49e38b46485a8716da3c407fe0605dcc9a12c7a95be49a91c4198c2e2b1cab568805 SHA512 4c438bbfa8874fdcf11eef1d1f7cceb1855ea85948daff13615a0af129d35f92cc918f4bd5bbe4cd6ebccc67a86fc582265f915dc39831ec64209de0bdeeb732 |
25 |
|
26 |
diff --git a/dev-ruby/addressable/addressable-2.7.0.ebuild b/dev-ruby/addressable/addressable-2.7.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..ab605752294 |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/addressable/addressable-2.7.0.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+USE_RUBY="ruby24 ruby25 ruby26" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
39 |
+ |
40 |
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" |
41 |
+ |
42 |
+RUBY_FAKEGEM_EXTRAINSTALL="data" |
43 |
+ |
44 |
+inherit ruby-fakegem |
45 |
+ |
46 |
+DESCRIPTION="A replacement for the URI implementation that is part of Ruby's standard library" |
47 |
+HOMEPAGE="https://rubygems.org/gems/addressable https://github.com/sporkmonger/addressable" |
48 |
+ |
49 |
+LICENSE="Apache-2.0" |
50 |
+ |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
53 |
+IUSE="doc test" |
54 |
+ |
55 |
+ruby_add_rdepend "|| ( dev-ruby/public_suffix:4 dev-ruby/public_suffix:3 )" |
56 |
+ |
57 |
+ruby_add_bdepend "test? ( dev-ruby/rspec-its )" |
58 |
+ |
59 |
+all_ruby_prepare() { |
60 |
+ # Remove spec-related tasks so that we don't need to require rspec |
61 |
+ # just to build the documentation, bug 383611. |
62 |
+ sed -i -e '/spectask/d' Rakefile || die |
63 |
+ rm -f tasks/rspec.rake || die |
64 |
+ sed -i -e '/bundler/ s:^:#:' \ |
65 |
+ -e '/^begin/,/^end/ s:^:#:' \ |
66 |
+ spec/spec_helper.rb || die |
67 |
+ |
68 |
+ # Remove specs requiring network connectivity |
69 |
+ rm -f spec/addressable/net_http_compat_spec.rb || die |
70 |
+ |
71 |
+ # Remove spec that tests against an unreleased github fork |
72 |
+ rm -f spec/addressable/rack_mount_compat_spec.rb || die |
73 |
+} |