1 |
graaff 15/02/28 06:51:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rspec-mocks-3.2.1.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.94 dev-ruby/rspec-mocks/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-mocks/ChangeLog?rev=1.94&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-mocks/ChangeLog?rev=1.94&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-mocks/ChangeLog?r1=1.93&r2=1.94 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/ChangeLog,v |
20 |
retrieving revision 1.93 |
21 |
retrieving revision 1.94 |
22 |
diff -u -r1.93 -r1.94 |
23 |
--- ChangeLog 21 Feb 2015 09:38:20 -0000 1.93 |
24 |
+++ ChangeLog 28 Feb 2015 06:51:40 -0000 1.94 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-ruby/rspec-mocks |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/ChangeLog,v 1.93 2015/02/21 09:38:20 graaff Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/ChangeLog,v 1.94 2015/02/28 06:51:40 graaff Exp $ |
30 |
+ |
31 |
+*rspec-mocks-3.2.1 (28 Feb 2015) |
32 |
+ |
33 |
+ 28 Feb 2015; Hans de Graaff <graaff@g.o> +rspec-mocks-3.2.1.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
21 Feb 2015; Hans de Graaff <graaff@g.o> rspec-mocks-2.99.2.ebuild, |
37 |
rspec-mocks-3.2.0.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/rspec-mocks/rspec-mocks-3.2.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-3.2.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-3.2.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: rspec-mocks-3.2.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-3.2.1.ebuild,v 1.1 2015/02/28 06:51:40 graaff Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
USE_RUBY="ruby19 ruby20 ruby21 ruby22" |
54 |
|
55 |
RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
56 |
|
57 |
RUBY_FAKEGEM_RECIPE_DOC="none" |
58 |
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" |
59 |
|
60 |
inherit ruby-fakegem |
61 |
|
62 |
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" |
63 |
HOMEPAGE="https://github.com/rspec/rspec-mocks" |
64 |
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" |
65 |
|
66 |
LICENSE="MIT" |
67 |
SLOT="3" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
69 |
IUSE="" |
70 |
|
71 |
SUBVERSION="$(get_version_component_range 1-2)" |
72 |
|
73 |
ruby_add_rdepend "=dev-ruby/rspec-support-${SUBVERSION}*" |
74 |
|
75 |
ruby_add_bdepend " |
76 |
test? ( |
77 |
>=dev-ruby/rspec-core-3.2.0:3 |
78 |
>=dev-ruby/rspec-expectations-2.99.0:3 |
79 |
)" |
80 |
|
81 |
all_ruby_prepare() { |
82 |
# Don't set up bundler: it doesn't understand our setup. |
83 |
sed -i -e '/[Bb]undler/d' Rakefile || die |
84 |
|
85 |
# Remove the Gemfile to avoid running through 'bundle exec' |
86 |
rm Gemfile || die |
87 |
|
88 |
# Remove .rspec options to avoid dependency on newer rspec when |
89 |
# bootstrapping. |
90 |
rm .rspec || die |
91 |
|
92 |
sed -i -e '1irequire "spec_helper"' spec/rspec/mocks/any_instance_spec.rb || die |
93 |
|
94 |
# Avoid a weird, and failing, test testing already installed code. |
95 |
sed -e '/has an up-to-date caller_filter file/,/end/ s:^:#:' -i spec/rspec/mocks_spec.rb || die |
96 |
|
97 |
# Avoid failing specs in yield code. Not clear why verify would not |
98 |
# be defined. We can revisit this later so we can move on with |
99 |
# rspec-3 introduction for now. |
100 |
rm spec/rspec/mocks/and_yield_spec.rb || die |
101 |
} |
102 |
|
103 |
each_ruby_prepare() { |
104 |
case ${RUBY} in |
105 |
*ruby22) |
106 |
# The rubygems version bundled with ruby 2.2 causes warnings. |
107 |
sed -i -e '/a library that issues no warnings when loaded/,/^ end/ s:^:#:' spec/rspec/mocks_spec.rb || die |
108 |
;; |
109 |
esac |
110 |
} |