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