1 |
commit: c695e2d9353944fc80ac05b938fe919e77552691 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 3 05:47:20 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 3 05:47:20 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c695e2d9 |
7 |
|
8 |
dev-ruby/rspec-expectations: add rspec 3.5 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-ruby/rspec-expectations/Manifest | 1 + |
13 |
.../rspec-expectations-3.5.0.ebuild | 48 ++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/rspec-expectations/Manifest b/dev-ruby/rspec-expectations/Manifest |
17 |
index c05fbf53..55d0fe3 100644 |
18 |
--- a/dev-ruby/rspec-expectations/Manifest |
19 |
+++ b/dev-ruby/rspec-expectations/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST rspec-expectations-2.14.5-git.tgz 93680 SHA256 ceba7a62ad87285f1ea01db4798e |
21 |
DIST rspec-expectations-2.99.2-git.tgz 106884 SHA256 4c1b38198d214ab2d4e297fdfbd89d3c3ae20c6b144882e53e935cfbc9878f68 SHA512 6042cafe225b2b16df458c7bf69e1694b637afcac6f6195e35a0be199432610457ccaa3e7e4bd114b27a7a6c3d530d94f4c0603c65f469cbadc55bd3f75b6f3a WHIRLPOOL 4a390f55bac3180a876bd59f58ce7c2ed87611b94c9610c950dc138ef14c8966e62d79aa4f63771c373760d0b9f4f51a9aaa6cbc4fc600573c6cb12ddc0e278d |
22 |
DIST rspec-expectations-3.3.1-git.tgz 171117 SHA256 a40feb73c5c54fd6464ca262af4be50ef9d5e4a785b5ae7862946da42837e112 SHA512 fe0e5fc4e00c8d51866bc9699bc25b1e702c765c5443abbebe2f016833c6f09f9f8f35d86520b59d51ad0a196551f68c39a5ec707658826af838ed274f4986ff WHIRLPOOL 5dc55d62ec1df5add711c07470d2d7020b875bf43a57788ceb84b05807ec9d3b2e395fde16f14c06d265e8c36b44e9a9c9da306c049a019289a1bc3d265e18e1 |
23 |
DIST rspec-expectations-3.4.0-git.tgz 181527 SHA256 4cfdedf39382d27335208fc1ce7efbf3babd3212e021ece5593e39feb3e51556 SHA512 688fcee04517e1354ce7d180c9e8c8e55614261af416b80dfc663293f9d66348fc2c17dc9b31aec7bc12fd9045d6507d9f11017bb5a757e41dbcaea18efa684f WHIRLPOOL 3d9a8f9b7515433b80dc70ba922813f0b2564bd0e1a0f1fe6dd370befef76a8453b1ce59b8fede435a99f8f604a24a56c158bd5c0be5bc3627c0b2181193ca16 |
24 |
+DIST rspec-expectations-3.5.0-git.tgz 187600 SHA256 edbd7dec2b1e685b12e3a14c3ea4d8bb3c5d82fe0f69afeea9c9f4d10da03c1d SHA512 e6077549a028de0e34cdd50d93552ca3ee0f30bb550e9df20d391f287beb57070dcb3a5104627e7adb55689e7b102c91b7d3a3b944b8c4ff1235761140f2dce0 WHIRLPOOL d173b832c43e723b0a46caa72f45fa27f8c611567eca544ad6e30e661ca32edca063ba4cd621fb411c527f64371b9e1c04b58192b330878704de2a47b31dc451 |
25 |
|
26 |
diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.5.0.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.5.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..58165ec |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/rspec-expectations/rspec-expectations-3.5.0.ebuild |
31 |
@@ -0,0 +1,48 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
38 |
+ |
39 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
40 |
+ |
41 |
+RUBY_FAKEGEM_TASK_DOC="" |
42 |
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" |
43 |
+ |
44 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
45 |
+ |
46 |
+inherit ruby-fakegem |
47 |
+ |
48 |
+DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" |
49 |
+HOMEPAGE="https://github.com/rspec/rspec-expectations" |
50 |
+SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="3" |
54 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
55 |
+IUSE="" |
56 |
+ |
57 |
+SUBVERSION="$(get_version_component_range 1-2)" |
58 |
+ |
59 |
+ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 <dev-ruby/diff-lcs-2 |
60 |
+ =dev-ruby/rspec-support-${SUBVERSION}*" |
61 |
+ |
62 |
+ruby_add_bdepend "test? ( |
63 |
+ >=dev-ruby/rspec-mocks-3.2.0:3 |
64 |
+ >=dev-ruby/rspec-support-3.5.0:3 |
65 |
+ )" |
66 |
+ |
67 |
+all_ruby_prepare() { |
68 |
+ # Don't set up bundler: it doesn't understand our setup. |
69 |
+ sed -i -e '/[Bb]undler/d' Rakefile || die |
70 |
+ |
71 |
+ # Remove the Gemfile to avoid running through 'bundle exec' |
72 |
+ rm -f Gemfile || die |
73 |
+ |
74 |
+ # fix up the gemspecs |
75 |
+ sed -i \ |
76 |
+ -e '/git ls/d' \ |
77 |
+ -e '/add_development_dependency/d' \ |
78 |
+ "${RUBY_FAKEGEM_GEMSPEC}" || die |
79 |
+} |