1 |
graaff 13/06/30 08:38:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: json-1.8.0.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.129 dev-ruby/json/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/ChangeLog?rev=1.129&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/ChangeLog?rev=1.129&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/ChangeLog?r1=1.128&r2=1.129 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/json/ChangeLog,v |
20 |
retrieving revision 1.128 |
21 |
retrieving revision 1.129 |
22 |
diff -u -r1.128 -r1.129 |
23 |
--- ChangeLog 30 Jun 2013 08:36:31 -0000 1.128 |
24 |
+++ ChangeLog 30 Jun 2013 08:38:54 -0000 1.129 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-ruby/json |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/ChangeLog,v 1.128 2013/06/30 08:36:31 graaff Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/ChangeLog,v 1.129 2013/06/30 08:38:54 graaff Exp $ |
30 |
+ |
31 |
+*json-1.8.0 (30 Jun 2013) |
32 |
+ |
33 |
+ 30 Jun 2013; Hans de Graaff <graaff@g.o> +json-1.8.0.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
30 Jun 2013; Hans de Graaff <graaff@g.o> -json-1.6.7.ebuild, |
37 |
-json-1.7.6.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/json/json-1.8.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/json-1.8.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/json/json-1.8.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: json-1.8.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 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.8.0.ebuild,v 1.1 2013/06/30 08:38:54 graaff Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
USE_RUBY="ruby18 ruby19 jruby" |
54 |
|
55 |
RUBY_FAKEGEM_TASK_DOC="doc" |
56 |
RUBY_FAKEGEM_EXTRADOC="CHANGES TODO README.rdoc README-json-jruby.markdown" |
57 |
RUBY_FAKEGEM_DOCDIR="doc" |
58 |
|
59 |
RUBY_FAKEGEM_GEMSPEC="json.gemspec" |
60 |
|
61 |
inherit multilib ruby-fakegem |
62 |
|
63 |
DESCRIPTION="A JSON implementation as a Ruby extension." |
64 |
HOMEPAGE="http://json.rubyforge.org/" |
65 |
LICENSE="|| ( Ruby GPL-2 )" |
66 |
|
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
68 |
SLOT="0" |
69 |
IUSE="" |
70 |
|
71 |
RDEPEND="${RDEPEND}" |
72 |
DEPEND="${DEPEND} |
73 |
dev-util/ragel" |
74 |
|
75 |
ruby_add_bdepend "dev-ruby/rake" |
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 |
# And don't call git to list files. We're using the pregenerated spec anyway. |
81 |
sed -i \ |
82 |
-e 's| => :compile||' \ |
83 |
-e 's| => :clean||' \ |
84 |
-e 's|sdoc|rdoc|' \ |
85 |
-e 's|`git ls-files`|""|' \ |
86 |
Rakefile || die "rakefile fix failed" |
87 |
|
88 |
# Remove hardcoded and broken -O setting. |
89 |
sed -i -e '/^unless/,/^end/ d' -e '/^ (if|unless)/,/^ end/ d' ext/json/ext/*/extconf.rb || die |
90 |
} |
91 |
|
92 |
each_ruby_compile() { |
93 |
# Since 1.5.0 a Java extension is provided but it does not compile. |
94 |
if [[ $(basename ${RUBY}) != "jruby" ]]; then |
95 |
${RUBY} -S rake compile || die "extension compile failed" |
96 |
fi |
97 |
} |
98 |
|
99 |
each_ruby_test() { |
100 |
JSON=pure \ |
101 |
${RUBY} -Iext:lib -S testrb tests/test_*.rb || die "pure ruby tests failed" |
102 |
|
103 |
if [[ $(basename ${RUBY}) != "jruby" ]]; then |
104 |
JSON=ext \ |
105 |
${RUBY} -Iext:lib -S testrb tests/test_*.rb || die "ext ruby tests failed" |
106 |
fi |
107 |
} |
108 |
|
109 |
each_ruby_install() { |
110 |
each_fakegem_install |
111 |
if [[ $(basename ${RUBY}) != "jruby" ]]; then |
112 |
ruby_fakegem_newins ext/json/ext/generator$(get_modname) lib/json/ext/generator$(get_modname) |
113 |
ruby_fakegem_newins ext/json/ext/parser$(get_modname) lib/json/ext/parser$(get_modname) |
114 |
fi |
115 |
} |