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