1 |
commit: 34dfb5112258e16fe608787cbd7e80979dbda27e |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 6 05:08:16 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 6 05:09:57 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34dfb511 |
7 |
|
8 |
dev-ruby/rspec-support: add 3.6.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
11 |
|
12 |
dev-ruby/rspec-support/Manifest | 1 + |
13 |
dev-ruby/rspec-support/rspec-support-3.6.0.ebuild | 39 +++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/rspec-support/Manifest b/dev-ruby/rspec-support/Manifest |
17 |
index 8255e7236e1..75d37cc3e75 100644 |
18 |
--- a/dev-ruby/rspec-support/Manifest |
19 |
+++ b/dev-ruby/rspec-support/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST rspec-support-3.3.0-git.tgz 45380 SHA256 cea58331f616e407c4ee25bb0b74bad26d |
21 |
DIST rspec-support-3.4.0-git.tgz 55405 SHA256 07826d61234ab87ff935c74ce15b5b96a2cc5ad0c66e6aea2ebe906f986081c0 SHA512 a309e86b57c6c0e89c39f9bccf01479a1ef42b51017d4e012de4a223a3d6d7f348362c4b5da3bdaafaf53564761b1c8d4e3d19e1a058923116b40f086a6eb9b7 WHIRLPOOL 62a5c1be1b4fb1ca39965826c1a3ab10af74c6b10c89a37677dc737d10baf9d99c9f73742145ee42f6b06206aabe43710a83014feff8df3d27e70458ed660707 |
22 |
DIST rspec-support-3.4.1-git.tgz 55558 SHA256 e5e641ee3e42d8e7bd33927d8b5388f8a4a85f9c3204fbbe29675a8f6fa14116 SHA512 7318d8701d4e38dc9be5b2633c8acbe7d329f9b713da90b8307570b952ede435d2e0f0dcf42e6692491df8a54b81dc8908250739d3916cf11068d37d7b906b40 WHIRLPOOL 4ad29f8e1ff586cf3fe92b74813a17c62e3cc5556a1f66298c6d97f5f8803bddd762289b9fcf3f14efef6142dab010ed5208579a493d41d09d1a947c706659cb |
23 |
DIST rspec-support-3.5.0-git.tgz 59824 SHA256 856a052e7fd6d3a368c543580528495e660bb1ce403333001ba4be48e39a518f SHA512 246d86c131dae12d6ca9040dba800ea5e378cfce083b1840492cc2c968e4d17fe67617332aa77d46817356113f81d8d9584698e4fe9e4873291d18ebe04eacbc WHIRLPOOL ed288c0681b14670e6bbb43c5672d7240c408e98be2927b32d38eb330b5b941d2169c4d3c30b1a0c7f715554f4f67d5399451da466a4a15f4c90c9ce208313b1 |
24 |
+DIST rspec-support-3.6.0-git.tgz 64987 SHA256 cd02fc3b5fc5cf668ead3192a7bd8301b197c9344433b819c5e1c5fc6ffcd0fd SHA512 550e23ad2da53b445fa5e496eab243ad8c00db69949e50fe9e6c391b77166bbdc94261aae3a2b49c7f2f598abefe40ea4e93940cb493017fcdcc501675c8476e WHIRLPOOL 08ee95290280af2ac1bf811e8016888e9e8157210b7e330cece5e6f543200d14215925701e480684a0f2277687dfe8ceb6b5a4b432fe9f5051aa6272913a2001 |
25 |
|
26 |
diff --git a/dev-ruby/rspec-support/rspec-support-3.6.0.ebuild b/dev-ruby/rspec-support/rspec-support-3.6.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..d0d41d719a5 |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/rspec-support/rspec-support-3.6.0.ebuild |
31 |
@@ -0,0 +1,39 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
39 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
40 |
+ |
41 |
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
44 |
+ |
45 |
+inherit ruby-fakegem |
46 |
+ |
47 |
+DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" |
48 |
+HOMEPAGE="https://github.com/rspec/rspec-support" |
49 |
+SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="3" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
54 |
+IUSE="" |
55 |
+ |
56 |
+ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.5.0:3 dev-ruby/thread_order )" |
57 |
+ |
58 |
+all_ruby_prepare() { |
59 |
+ sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die |
60 |
+ |
61 |
+ # Remove spec that, by following symlinks, tries to scan pretty much |
62 |
+ # the whole filesystem. |
63 |
+ rm spec/rspec/support/caller_filter_spec.rb || die |
64 |
+ |
65 |
+ # Avoid spec that requires a dependency on git |
66 |
+ sed -i -e '/library wide checks/,/]/ s:^:#:' spec/rspec/support_spec.rb || die |
67 |
+ |
68 |
+ # Avoid a spec requiring a specific locale |
69 |
+ sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die |
70 |
+} |