Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/storable: ChangeLog storable-0.7.4.ebuild storable-0.8.0.ebuild
Date: Wed, 28 Jul 2010 23:22:38
Message-Id: 20100728232235.5A60A2CE15@corvid.gentoo.org
1 flameeyes 10/07/28 23:22:35
2
3 Modified: ChangeLog storable-0.7.4.ebuild
4 Added: storable-0.8.0.ebuild
5 Log:
6 Add new ebuild for version 0.8 (that does not work with JRuby, as it forces a dep over yajl-ruby), and fix the dependencies for tryouts slot.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.13 dev-ruby/storable/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/storable/ChangeLog?rev=1.13&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/storable/ChangeLog?rev=1.13&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/storable/ChangeLog?r1=1.12&r2=1.13
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/storable/ChangeLog,v
19 retrieving revision 1.12
20 retrieving revision 1.13
21 diff -u -r1.12 -r1.13
22 --- ChangeLog 23 May 2010 22:37:11 -0000 1.12
23 +++ ChangeLog 28 Jul 2010 23:22:35 -0000 1.13
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-ruby/storable
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/storable/ChangeLog,v 1.12 2010/05/23 22:37:11 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/storable/ChangeLog,v 1.13 2010/07/28 23:22:35 flameeyes Exp $
29 +
30 +*storable-0.8.0 (28 Jul 2010)
31 +
32 + 28 Jul 2010; Diego E. Pettenò <flameeyes@g.o>
33 + storable-0.7.4.ebuild, +storable-0.8.0.ebuild:
34 + Add new ebuild for version 0.8 (that does not work with JRuby, as it
35 + forces a dep over yajl-ruby), and fix the dependencies for tryouts slot.
36
37 23 May 2010; Diego E. Pettenò <flameeyes@g.o>
38 -storable-0.7.3.ebuild, storable-0.7.4.ebuild:
39
40
41
42 1.3 dev-ruby/storable/storable-0.7.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/storable/storable-0.7.4.ebuild?rev=1.3&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/storable/storable-0.7.4.ebuild?rev=1.3&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/storable/storable-0.7.4.ebuild?r1=1.2&r2=1.3
47
48 Index: storable-0.7.4.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/storable/storable-0.7.4.ebuild,v
51 retrieving revision 1.2
52 retrieving revision 1.3
53 diff -u -r1.2 -r1.3
54 --- storable-0.7.4.ebuild 23 May 2010 22:37:11 -0000 1.2
55 +++ storable-0.7.4.ebuild 28 Jul 2010 23:22:35 -0000 1.3
56 @@ -1,6 +1,6 @@
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/storable/storable-0.7.4.ebuild,v 1.2 2010/05/23 22:37:11 flameeyes Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/storable/storable-0.7.4.ebuild,v 1.3 2010/07/28 23:22:35 flameeyes Exp $
61
62 EAPI=2
63
64 @@ -29,7 +29,7 @@
65 # would break a bit of stuff.
66 ruby_add_rdepend "|| ( dev-ruby/json dev-ruby/yajl-ruby )"
67
68 -ruby_add_bdepend "test? ( dev-ruby/tryouts )"
69 +ruby_add_bdepend "test? ( dev-ruby/tryouts:0 )"
70
71 all_ruby_prepare() {
72 mv bin examples || die
73
74
75
76 1.1 dev-ruby/storable/storable-0.8.0.ebuild
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/storable/storable-0.8.0.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/storable/storable-0.8.0.ebuild?rev=1.1&content-type=text/plain
80
81 Index: storable-0.8.0.ebuild
82 ===================================================================
83 # Copyright 1999-2010 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/storable/storable-0.8.0.ebuild,v 1.1 2010/07/28 23:22:35 flameeyes Exp $
86
87 EAPI=2
88
89 # jruby → yajl-ruby won't work, as it's compiled extension
90 USE_RUBY="ruby18 ruby19"
91
92 RUBY_FAKEGEM_TASK_TEST=""
93
94 RUBY_FAKEGEM_TASK_DOC="rdoc"
95 RUBY_FAKEGEM_DOCDIR="doc"
96 RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc"
97
98 inherit ruby-fakegem
99
100 DESCRIPTION="Marshal Ruby classes into and out of multiple formats"
101 HOMEPAGE="http://solutious.com/"
102
103 LICENSE="MIT"
104 SLOT="0"
105 KEYWORDS="~amd64 ~x86"
106 IUSE=""
107
108 SRC_URI="http://github.com/delano/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
109 S="${WORKDIR}/delano-${PN}-*"
110
111 # technically, it could work without either; on the other hand, it
112 # would break a bit of stuff.
113 #ruby_add_rdepend "|| ( dev-ruby/json dev-ruby/yajl-ruby )"
114
115 # Somehow it infinite-recurse if JSON is used, see issue #1, so use
116 # yajl directly.
117 ruby_add_rdepend dev-ruby/yajl-ruby
118
119 ruby_add_bdepend "test? ( dev-ruby/tryouts:2 )"
120
121 all_ruby_prepare() {
122 mv bin examples || die
123 }
124
125 each_ruby_test() {
126 ${RUBY} -S try || die "tests failed"
127 }
128
129 all_ruby_install() {
130 all_fakegem_install
131
132 docinto examples
133 dodoc examples/* || die
134 }