1 |
graaff 14/05/03 07:52:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: multi_json-1.9.3.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.39 dev-ruby/multi_json/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/ChangeLog?rev=1.39&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/ChangeLog?rev=1.39&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/ChangeLog?r1=1.38&r2=1.39 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v |
20 |
retrieving revision 1.38 |
21 |
retrieving revision 1.39 |
22 |
diff -u -r1.38 -r1.39 |
23 |
--- ChangeLog 5 Apr 2014 23:39:34 -0000 1.38 |
24 |
+++ ChangeLog 3 May 2014 07:52:07 -0000 1.39 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-ruby/multi_json |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v 1.38 2014/04/05 23:39:34 mrueg Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v 1.39 2014/05/03 07:52:07 graaff Exp $ |
30 |
+ |
31 |
+*multi_json-1.9.3 (03 May 2014) |
32 |
+ |
33 |
+ 03 May 2014; Hans de Graaff <graaff@g.o> +multi_json-1.9.3.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
05 Apr 2014; Manuel RĂ¼ger <mrueg@g.o> multi_json-1.5.0.ebuild, |
37 |
multi_json-1.6.1-r1.ebuild, multi_json-1.6.1.ebuild, multi_json-1.8.4.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/multi_json/multi_json-1.9.3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/multi_json-1.9.3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/multi_json-1.9.3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: multi_json-1.9.3.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 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.9.3.ebuild,v 1.1 2014/05/03 07:52:07 graaff Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
USE_RUBY="ruby19 ruby20 ruby21 jruby" |
55 |
|
56 |
RUBY_FAKEGEM_RECIPE_TEST="rspec" |
57 |
RUBY_FAKEGEM_TASK_DOC="yard" |
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 ~arm ~hppa ~ia64 ~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 dev-ruby/yard )" |
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/spec_helper.rb || die "Unable to remove bundler." |
84 |
rm Gemfile || die "Unable to remove bundler Gemfile." |
85 |
|
86 |
# Remove unimportant rspec options not supported by rspec 2.6. |
87 |
rm .rspec || die |
88 |
|
89 |
# Remove specs specific to oj since we don't package oj yet. |
90 |
sed -i -e '/defaults to the best available gem/,/^ end/ s:^:#:' \ |
91 |
-e '/Oj does not create symbols on parse/,/^ end/ s:^:#:' \ |
92 |
-e '/with Oj.default_settings/,/^ end/ s:^:#:' \ |
93 |
-e '/using one-shot parser/,/^ end/ s:^:#:' \ |
94 |
spec/multi_json_spec.rb |
95 |
|
96 |
# Avoid simplecov which only works with ruby 1.9 |
97 |
sed -i -e '/simplecov/d' -e '/SimpleCov.formatter/,/SimpleCov.start/ d' spec/spec_helper.rb || die |
98 |
|
99 |
# Remove unpackaged and for our purposes unneeded coveralls |
100 |
sed -i -e '/coveralls/d' spec/spec_helper.rb || die |
101 |
|
102 |
# Avoid testing unpackaged adapters |
103 |
rm spec/{gson,jr_jackson,oj}_adapter_spec.rb || die |
104 |
} |
105 |
|
106 |
each_ruby_prepare() { |
107 |
case ${RUBY} in |
108 |
*jruby) |
109 |
# Compiled code is not supported for jruby 1.6 |
110 |
rm spec/json_gem_adapter_spec.rb || die |
111 |
# jr_jackson is not supported but needed for the common tests. |
112 |
rm spec/multi_json_spec.rb || die |
113 |
;; |
114 |
esac |
115 |
} |
116 |
|
117 |
each_ruby_test() { |
118 |
for t in spec/*_spec.rb; do |
119 |
${RUBY} -S rspec ${t} || die |
120 |
done |
121 |
} |