Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/multi_json: multi_json-1.3.6.ebuild ChangeLog
Date: Thu, 05 Jul 2012 23:03:46
Message-Id: 20120705230334.7F5532004B@flycatcher.gentoo.org
1 flameeyes 12/07/05 23:03:34
2
3 Modified: ChangeLog
4 Added: multi_json-1.3.6.ebuild
5 Log:
6 Version bump, use the new rspec support.
7
8 (Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.21 dev-ruby/multi_json/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 17 May 2012 11:45:37 -0000 1.20
24 +++ ChangeLog 5 Jul 2012 23:03:34 -0000 1.21
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/multi_json
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v 1.20 2012/05/17 11:45:37 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v 1.21 2012/07/05 23:03:34 flameeyes Exp $
30 +
31 +*multi_json-1.3.6 (05 Jul 2012)
32 +
33 + 05 Jul 2012; Diego E. Pettenò <flameeyes@g.o> +multi_json-1.3.6.ebuild:
34 + Version bump, use the new rspec support.
35
36 *multi_json-1.3.5 (17 May 2012)
37
38 @@ -91,4 +96,3 @@
39 Initial import of multi_json needed for the new version of oauth2. The
40 tests are particularly patched (and not all of it is upstreamed yet) so
41 that they pass on Ruby 1.9 and JRuby properly.
42 -
43
44
45
46 1.1 dev-ruby/multi_json/multi_json-1.3.6.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/multi_json-1.3.6.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/multi_json-1.3.6.ebuild?rev=1.1&content-type=text/plain
50
51 Index: multi_json-1.3.6.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/multi_json-1.3.6.ebuild,v 1.1 2012/07/05 23:03:34 flameeyes Exp $
56
57 EAPI=4
58
59 USE_RUBY="ruby18 ruby19 ree18 jruby"
60
61 RUBY_FAKEGEM_RECIPE_TEST="rspec"
62 RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
63
64 RUBY_FAKEGEM_DOCDIR="rdoc"
65 RUBY_FAKEGEM_EXTRADOC="README.md"
66
67 RUBY_FAKEGEM_GEMSPEC="multi_json.gemspec"
68
69 inherit ruby-fakegem
70
71 DESCRIPTION="A gem to provide swappable JSON backends"
72 HOMEPAGE="http://github.com/intridea/multi_json"
73 LICENSE="MIT"
74
75 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
76 SLOT="0"
77 IUSE=""
78
79 ruby_add_rdepend "|| ( >=dev-ruby/json-1.4 >=dev-ruby/yajl-ruby-0.7 =dev-ruby/activesupport-3* )"
80
81 ruby_add_bdepend "doc? ( dev-ruby/rspec:2 )"
82
83 ruby_add_bdepend "test? ( dev-ruby/json )"
84
85 USE_RUBY="${USE_RUBY/jruby/}" ruby_add_bdepend "test? ( dev-ruby/yajl-ruby )"
86
87 all_ruby_prepare() {
88 sed -i -e '/[Bb]undler/d' Rakefile spec/helper.rb || die "Unable to remove bundler."
89 rm Gemfile || die "Unable to remove bundler Gemfile."
90
91 # Provide version otherwise provided by bundler.
92 sed -i -e "s/#{MultiJson::VERSION}/${PV}/" Rakefile || die
93
94 # Remove unimportant rspec options not supported by rspec 2.6.
95 rm .rspec || die
96
97 # Remove best default spec since we don't package oj yet.
98 sed -i -e '/defaults to the best available gem/,/^ end/ s:^:#:' spec/multi_json_spec.rb || die
99 }
100
101 each_ruby_test() {
102 CI=true each_fakegem_test
103 }