1 |
commit: 79cb0eb2b4a149c880ab0fd9b423fedbb89a5a4a |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 30 06:07:54 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 30 06:07:54 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79cb0eb2 |
7 |
|
8 |
dev-ruby/addressable: add 2.5.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-ruby/addressable/Manifest | 1 + |
13 |
dev-ruby/addressable/addressable-2.5.1.ebuild | 45 +++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/addressable/Manifest b/dev-ruby/addressable/Manifest |
17 |
index 89dc1ce4a2a..968f0eb4dac 100644 |
18 |
--- a/dev-ruby/addressable/Manifest |
19 |
+++ b/dev-ruby/addressable/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST addressable-2.3.6.gem 98304 SHA256 e822c28133d151d450778bbcf1f6e7742d4c3aba54498eb0da33d80a3990ee8c SHA512 26a2d754397a5e46bc22ea9755d1c1a1b9f993e38fcf9b0a6133ea6d0aa7bdc0fe6bfe83bc39991e3b258fa3122e44bbd0b0758026be02af2a70ffef96d0dfa4 WHIRLPOOL 19ef0436df04172ca5dd9811d75616e069871476df879c10bc711e9db084636ca6edebed7500707d9409d6bd9041ece431609a7e4b2e42121a7cce6989bf5964 |
22 |
DIST addressable-2.4.0.gem 102400 SHA256 7abfff765571b0a73549c9a9d2f7e143979cd0c252f7fa4c81e7102a973ef656 SHA512 b81fa48e7c4188827c03ac93960b6fd6fb9f5a438f5243cddea39d6820ef756ee7c0086ec330dc4a3538008b3b254757af7d30248624127649cc006a2793eda8 WHIRLPOOL 6f245a158eb13b69add13a024421e88c8b4b5344f11b74bd95d9967fb265889e0123c63c041660d74994d08bcc18c345a34e91c45b20aef40ee5cbc5abfd80b7 |
23 |
DIST addressable-2.5.0.gem 103424 SHA256 bc5bf921b39640675fbb3484cdb45e4241b4c88d8d5a7d85a3985424ad02b9c8 SHA512 188689b99b4d83756844592ad697e8e20d27540e5c6bc758934f75592adddf7ef98ca5c9ad0d407d3dda9298496c18a661eda8a52776128ff089fd4f315fdbe1 WHIRLPOOL 1128dbcc7cb2ef290e329b0fb0d6cf8786ec1d0de104230d4642fb34b2b1a5c4d7ae1abc8b83aa4c81135a5725489aa4c3b1393ea7325207acceb63c35b1806d |
24 |
+DIST addressable-2.5.1.gem 103424 SHA256 b09603b313a94fa3674d8fbaae77cc7c778e9d3cde5fea3b7c1fe447941818c5 SHA512 ae7232dc6cbd1aa6405135c7916697a93286fcb223b14e2c30b5897aed6fe32529c94bfb84154e0cead5af9a282cc89442cbd3249b68abd7ffd67b6c4599bff3 WHIRLPOOL aeebce579a1f2dacd8672224a0c39e1ea4c9c26e1d5ef4aa3f84726df94b1f305e6cd4ad3569dd602997ccc9ad225a69c59e2f519a34d5856ba13fa20a818b21 |
25 |
|
26 |
diff --git a/dev-ruby/addressable/addressable-2.5.1.ebuild b/dev-ruby/addressable/addressable-2.5.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..1c8822ee691 |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/addressable/addressable-2.5.1.ebuild |
31 |
@@ -0,0 +1,45 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=5 |
36 |
+USE_RUBY="ruby21 ruby22 ruby23" |
37 |
+ |
38 |
+RUBY_FAKEGEM_TASK_DOC="doc:yard" |
39 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
40 |
+ |
41 |
+RAKE_FAKEGEM_DOCDIR="doc" |
42 |
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" |
43 |
+ |
44 |
+RUBY_FAKEGEM_EXTRAINSTALL="data" |
45 |
+ |
46 |
+inherit ruby-fakegem |
47 |
+ |
48 |
+DESCRIPTION="A replacement for the URI implementation that is part of Ruby's standard library" |
49 |
+HOMEPAGE="https://rubygems.org/gems/addressable https://github.com/sporkmonger/addressable" |
50 |
+ |
51 |
+LICENSE="Apache-2.0" |
52 |
+ |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~arm ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
55 |
+IUSE="doc test" |
56 |
+ |
57 |
+ruby_add_rdepend ">=dev-ruby/public_suffix-2.0.2:2" |
58 |
+ |
59 |
+ruby_add_bdepend "doc? ( dev-ruby/yard )" |
60 |
+ruby_add_bdepend "test? ( dev-ruby/rspec-its )" |
61 |
+ |
62 |
+all_ruby_prepare() { |
63 |
+ # Remove spec-related tasks so that we don't need to require rspec |
64 |
+ # just to build the documentation, bug 383611. |
65 |
+ sed -i -e '/spectask/d' Rakefile || die |
66 |
+ rm -f tasks/rspec.rake || die |
67 |
+ sed -i -e '/bundler/ s:^:#:' \ |
68 |
+ -e '/^begin/,/^end/ s:^:#:' \ |
69 |
+ spec/spec_helper.rb || die |
70 |
+ |
71 |
+ # Remove specs requiring network connectivity |
72 |
+ rm -f spec/addressable/net_http_compat_spec.rb || die |
73 |
+ |
74 |
+ # Remove spec that tests against an unreleased github fork |
75 |
+ rm -f spec/addressable/rack_mount_compat_spec.rb || die |
76 |
+} |