1 |
graaff 11/01/28 08:09:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: json-1.5.1.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.57 dev-ruby/json/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/ChangeLog?rev=1.57&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/ChangeLog?rev=1.57&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/ChangeLog?r1=1.56&r2=1.57 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/json/ChangeLog,v |
20 |
retrieving revision 1.56 |
21 |
retrieving revision 1.57 |
22 |
diff -u -r1.56 -r1.57 |
23 |
--- ChangeLog 23 Jan 2011 11:33:31 -0000 1.56 |
24 |
+++ ChangeLog 28 Jan 2011 08:09:15 -0000 1.57 |
25 |
@@ -1,6 +1,11 @@ |
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.56 2011/01/23 11:33:31 xarthisius Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/ChangeLog,v 1.57 2011/01/28 08:09:15 graaff Exp $ |
30 |
+ |
31 |
+*json-1.5.1 (28 Jan 2011) |
32 |
+ |
33 |
+ 28 Jan 2011; Hans de Graaff <graaff@g.o> +json-1.5.1.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
23 Jan 2011; Kacper Kowalik <xarthisius@g.o> json-1.4.6.ebuild: |
37 |
ppc64 stable wrt #343473 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/json/json-1.5.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/json-1.5.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/json-1.5.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: json-1.5.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/json-1.5.1.ebuild,v 1.1 2011/01/28 08:09:15 graaff Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
USE_RUBY="ruby18 ree18 ruby19 jruby" |
54 |
|
55 |
RUBY_FAKEGEM_TASK_DOC="doc" |
56 |
RUBY_FAKEGEM_EXTRADOC="CHANGES TODO README" |
57 |
RUBY_FAKEGEM_DOCDIR="doc" |
58 |
|
59 |
inherit multilib ruby-fakegem |
60 |
|
61 |
DESCRIPTION="A JSON implementation as a Ruby extension." |
62 |
HOMEPAGE="http://json.rubyforge.org/" |
63 |
LICENSE="|| ( Ruby GPL-2 )" |
64 |
SRC_URI="mirror://rubygems/${P}.gem" |
65 |
|
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
67 |
SLOT="0" |
68 |
IUSE="" |
69 |
|
70 |
RDEPEND="${RDEPEND}" |
71 |
DEPEND="${DEPEND} |
72 |
dev-util/ragel" |
73 |
|
74 |
ruby_add_bdepend "dev-ruby/rake |
75 |
test? ( virtual/ruby-test-unit )" |
76 |
|
77 |
all_ruby_prepare() { |
78 |
# Avoid building the extension twice! |
79 |
# And use rdoc instead of sdoc which we don't have packaged |
80 |
sed -i \ |
81 |
-e 's| => :compile_ext||' \ |
82 |
-e 's| => :clean||' \ |
83 |
-e 's|sdoc|rdoc|' \ |
84 |
Rakefile || die "rakefile fix failed" |
85 |
} |
86 |
|
87 |
each_ruby_compile() { |
88 |
# Since 1.5.0 a Java extension is provided but it does not compile. |
89 |
if [[ $(basename ${RUBY}) != "jruby" ]]; then |
90 |
${RUBY} -S rake compile_ext || die "extension compile failed" |
91 |
fi |
92 |
} |
93 |
|
94 |
each_ruby_test() { |
95 |
JSON=pure \ |
96 |
${RUBY} -Iext:lib -S testrb tests/*.rb || die "pure ruby tests failed" |
97 |
|
98 |
if [[ $(basename ${RUBY}) != "jruby" ]]; then |
99 |
JSON=ext \ |
100 |
${RUBY} -Iext:lib -S testrb tests/*.rb || die "ext ruby tests failed" |
101 |
fi |
102 |
} |
103 |
|
104 |
each_ruby_install() { |
105 |
each_fakegem_install |
106 |
if [[ $(basename ${RUBY}) != "jruby" ]]; then |
107 |
ruby_fakegem_newins ext/json/ext/generator$(get_modname) lib/json/ext/generator$(get_modname) |
108 |
ruby_fakegem_newins ext/json/ext/parser$(get_modname) lib/json/ext/parser$(get_modname) |
109 |
fi |
110 |
} |