Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/multi_json: ChangeLog multi_json-1.4.0.ebuild
Date: Sat, 01 Dec 2012 08:05:00
Message-Id: 20121201080443.D510B2165E@flycatcher.gentoo.org
1 graaff 12/12/01 08:04:43
2
3 Modified: ChangeLog
4 Added: multi_json-1.4.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.24 dev-ruby/multi_json/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/ChangeLog?rev=1.24&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/ChangeLog?rev=1.24&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/ChangeLog?r1=1.23&r2=1.24
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v
20 retrieving revision 1.23
21 retrieving revision 1.24
22 diff -u -r1.23 -r1.24
23 --- ChangeLog 11 Nov 2012 11:50:46 -0000 1.23
24 +++ ChangeLog 1 Dec 2012 08:04:43 -0000 1.24
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.23 2012/11/11 11:50:46 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v 1.24 2012/12/01 08:04:43 graaff Exp $
30 +
31 +*multi_json-1.4.0 (01 Dec 2012)
32 +
33 + 01 Dec 2012; Hans de Graaff <graaff@g.o> +multi_json-1.4.0.ebuild:
34 + Version bump.
35
36 *multi_json-1.3.7 (11 Nov 2012)
37
38
39
40
41 1.1 dev-ruby/multi_json/multi_json-1.4.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/multi_json-1.4.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/multi_json-1.4.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: multi_json-1.4.0.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/multi_json-1.4.0.ebuild,v 1.1 2012/12/01 08:04:43 graaff Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby18 ruby19 ree18 jruby"
55
56 RUBY_FAKEGEM_RECIPE_TEST="rspec"
57 RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
58
59 RUBY_FAKEGEM_DOCDIR="rdoc"
60 RUBY_FAKEGEM_EXTRADOC="README.md"
61
62 RUBY_FAKEGEM_GEMSPEC="multi_json.gemspec"
63
64 inherit ruby-fakegem
65
66 DESCRIPTION="A gem to provide swappable JSON backends"
67 HOMEPAGE="http://github.com/intridea/multi_json"
68 LICENSE="MIT"
69
70 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"
71 SLOT="0"
72 IUSE=""
73
74 ruby_add_rdepend "|| ( >=dev-ruby/json-1.4 >=dev-ruby/yajl-ruby-0.7 =dev-ruby/activesupport-3* )"
75
76 ruby_add_bdepend "doc? ( dev-ruby/rspec:2 )"
77
78 ruby_add_bdepend "test? ( dev-ruby/json )"
79
80 USE_RUBY="${USE_RUBY/jruby/}" ruby_add_bdepend "test? ( dev-ruby/yajl-ruby )"
81
82 all_ruby_prepare() {
83 sed -i -e '/[Bb]undler/d' Rakefile spec/helper.rb || die "Unable to remove bundler."
84 rm Gemfile || die "Unable to remove bundler Gemfile."
85
86 # Provide version otherwise provided by bundler.
87 sed -i -e "s/#{MultiJson::VERSION}/${PV}/" Rakefile || die
88
89 # Remove unimportant rspec options not supported by rspec 2.6.
90 rm .rspec || die
91
92 # Remove best default spec since we don't package oj yet.
93 sed -i -e '/defaults to the best available gem/,/^ end/ s:^:#:' spec/multi_json_spec.rb || die
94 }
95
96 each_ruby_test() {
97 CI=true each_fakegem_test
98 }