1 |
graaff 11/01/23 09:00:22 |
2 |
|
3 |
Modified: ChangeLog json-1.4.6.ebuild |
4 |
Added: json-1.5.0.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.1.9.25/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.55 dev-ruby/json/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/ChangeLog?rev=1.55&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/ChangeLog?rev=1.55&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/ChangeLog?r1=1.54&r2=1.55 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/json/ChangeLog,v |
20 |
retrieving revision 1.54 |
21 |
retrieving revision 1.55 |
22 |
diff -u -r1.54 -r1.55 |
23 |
--- ChangeLog 7 Jan 2011 20:51:47 -0000 1.54 |
24 |
+++ ChangeLog 23 Jan 2011 09:00:22 -0000 1.55 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for dev-ruby/json |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/ChangeLog,v 1.54 2011/01/07 20:51:47 ranger Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/ChangeLog,v 1.55 2011/01/23 09:00:22 graaff Exp $ |
30 |
+ |
31 |
+*json-1.5.0 (23 Jan 2011) |
32 |
+ |
33 |
+ 23 Jan 2011; Hans de Graaff <graaff@g.o> json-1.4.6.ebuild, |
34 |
+ +json-1.5.0.ebuild: |
35 |
+ Version bump. |
36 |
+ |
37 |
+ 23 Jan 2011; Hans de Graaff <graaff@g.o> json-1.4.6.ebuild: |
38 |
+ Backport testing fix for bug 343473. |
39 |
|
40 |
07 Jan 2011; Brent Baude <ranger@g.o> json-1.4.6.ebuild: |
41 |
stable ppc, bug 343473 |
42 |
|
43 |
|
44 |
|
45 |
1.8 dev-ruby/json/json-1.4.6.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/json-1.4.6.ebuild?rev=1.8&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/json-1.4.6.ebuild?rev=1.8&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/json-1.4.6.ebuild?r1=1.7&r2=1.8 |
50 |
|
51 |
Index: json-1.4.6.ebuild |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/json/json-1.4.6.ebuild,v |
54 |
retrieving revision 1.7 |
55 |
retrieving revision 1.8 |
56 |
diff -u -r1.7 -r1.8 |
57 |
--- json-1.4.6.ebuild 7 Jan 2011 20:51:47 -0000 1.7 |
58 |
+++ json-1.4.6.ebuild 23 Jan 2011 09:00:22 -0000 1.8 |
59 |
@@ -1,6 +1,6 @@ |
60 |
# Copyright 1999-2011 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/json-1.4.6.ebuild,v 1.7 2011/01/07 20:51:47 ranger Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/json-1.4.6.ebuild,v 1.8 2011/01/23 09:00:22 graaff Exp $ |
64 |
|
65 |
EAPI=2 |
66 |
USE_RUBY="ruby18 ree18 jruby" |
67 |
@@ -44,17 +44,12 @@ |
68 |
} |
69 |
|
70 |
each_ruby_test() { |
71 |
- # We have to set RUBYLIB because otherwise the tests will run |
72 |
- # against the sytem-installed json; at the same time, we cannot |
73 |
- # use the -I parameter because rake won't let it pass to the |
74 |
- # testrb call that is executed down the road. |
75 |
- |
76 |
- RUBYLIB="${RUBYLIB}${RUBYLIB+:}lib:ext/json/ext" \ |
77 |
- ${RUBY} -S rake test_pure || die "pure ruby tests failed" |
78 |
+ JSON=pure \ |
79 |
+ ${RUBY} -Iext:lib -S testrb tests/*.rb || die "pure ruby tests failed" |
80 |
|
81 |
if [[ $(basename ${RUBY}) != "jruby" ]]; then |
82 |
- RUBYLIB="${RUBYLIB}${RUBYLIB+:}lib:ext" \ |
83 |
- ${RUBY} -Ilib:ext -S rake test_ext || die " ruby extension tests failed" |
84 |
+ JSON=ext \ |
85 |
+ ${RUBY} -Iext:lib -S testrb tests/*.rb || die "ext ruby tests failed" |
86 |
fi |
87 |
} |
88 |
|
89 |
|
90 |
|
91 |
|
92 |
1.1 dev-ruby/json/json-1.5.0.ebuild |
93 |
|
94 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/json-1.5.0.ebuild?rev=1.1&view=markup |
95 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/json-1.5.0.ebuild?rev=1.1&content-type=text/plain |
96 |
|
97 |
Index: json-1.5.0.ebuild |
98 |
=================================================================== |
99 |
# Copyright 1999-2011 Gentoo Foundation |
100 |
# Distributed under the terms of the GNU General Public License v2 |
101 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/json-1.5.0.ebuild,v 1.1 2011/01/23 09:00:22 graaff Exp $ |
102 |
|
103 |
EAPI=2 |
104 |
USE_RUBY="ruby18 ree18 ruby19 jruby" |
105 |
|
106 |
RUBY_FAKEGEM_TASK_DOC="doc" |
107 |
RUBY_FAKEGEM_EXTRADOC="CHANGES TODO README" |
108 |
RUBY_FAKEGEM_DOCDIR="doc" |
109 |
|
110 |
inherit multilib ruby-fakegem |
111 |
|
112 |
DESCRIPTION="A JSON implementation as a Ruby extension." |
113 |
HOMEPAGE="http://json.rubyforge.org/" |
114 |
LICENSE="|| ( Ruby GPL-2 )" |
115 |
SRC_URI="mirror://rubygems/${P}.gem" |
116 |
|
117 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
118 |
SLOT="0" |
119 |
IUSE="" |
120 |
|
121 |
RDEPEND="${RDEPEND}" |
122 |
DEPEND="${DEPEND} |
123 |
dev-util/ragel" |
124 |
|
125 |
ruby_add_bdepend "dev-ruby/rake |
126 |
test? ( virtual/ruby-test-unit )" |
127 |
|
128 |
all_ruby_prepare() { |
129 |
# Avoid building the extension twice! |
130 |
# And use rdoc instead of sdoc which we don't have packaged |
131 |
sed -i \ |
132 |
-e 's| => :compile_ext||' \ |
133 |
-e 's| => :clean||' \ |
134 |
-e 's|sdoc|rdoc|' \ |
135 |
Rakefile || die "rakefile fix failed" |
136 |
} |
137 |
|
138 |
each_ruby_compile() { |
139 |
# Since 1.5.0 a Java extension is provided but it does not compile. |
140 |
if [[ $(basename ${RUBY}) != "jruby" ]]; then |
141 |
${RUBY} -S rake compile_ext || die "extension compile failed" |
142 |
fi |
143 |
} |
144 |
|
145 |
each_ruby_test() { |
146 |
JSON=pure \ |
147 |
${RUBY} -Iext:lib -S testrb tests/*.rb || die "pure ruby tests failed" |
148 |
|
149 |
if [[ $(basename ${RUBY}) != "jruby" ]]; then |
150 |
JSON=ext \ |
151 |
${RUBY} -Iext:lib -S testrb tests/*.rb || die "ext ruby tests failed" |
152 |
fi |
153 |
} |
154 |
|
155 |
each_ruby_install() { |
156 |
each_fakegem_install |
157 |
if [[ $(basename ${RUBY}) != "jruby" ]]; then |
158 |
ruby_fakegem_newins ext/json/ext/generator$(get_modname) lib/json/ext/generator$(get_modname) |
159 |
ruby_fakegem_newins ext/json/ext/parser$(get_modname) lib/json/ext/parser$(get_modname) |
160 |
fi |
161 |
} |