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/activerecord: ChangeLog activerecord-3.0.7.ebuild activerecord-3.0.9.ebuild
Date: Mon, 04 Jul 2011 09:36:42
Message-Id: 20110704093631.6F4AC2004B@flycatcher.gentoo.org
1 graaff 11/07/04 09:36:31
2
3 Modified: ChangeLog activerecord-3.0.7.ebuild
4 Added: activerecord-3.0.9.ebuild
5 Log:
6 Version bump for Rails 3.0.9.
7
8 (Portage version: 2.1.10.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.158 dev-ruby/activerecord/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.158&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.158&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?r1=1.157&r2=1.158
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v
20 retrieving revision 1.157
21 retrieving revision 1.158
22 diff -u -r1.157 -r1.158
23 --- ChangeLog 9 Jun 2011 17:09:20 -0000 1.157
24 +++ ChangeLog 4 Jul 2011 09:36:31 -0000 1.158
25 @@ -1,6 +1,15 @@
26 # ChangeLog for dev-ruby/activerecord
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.157 2011/06/09 17:09:20 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.158 2011/07/04 09:36:31 graaff Exp $
30 +
31 +*activerecord-3.0.9 (04 Jul 2011)
32 +
33 + 04 Jul 2011; Hans de Graaff <graaff@g.o> activerecord-3.0.7.ebuild,
34 + +activerecord-3.0.9.ebuild:
35 + Version bump for Rails 3.0.9.
36 +
37 + 18 Jun 2011; Hans de Graaff <graaff@g.o> activerecord-3.0.7.ebuild:
38 + Depend on the right slot for arel, fixes bug 372047.
39
40 *activerecord-2.3.12 (09 Jun 2011)
41
42
43
44
45 1.4 dev-ruby/activerecord/activerecord-3.0.7.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.7.ebuild?rev=1.4&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.7.ebuild?rev=1.4&content-type=text/plain
49 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.7.ebuild?r1=1.3&r2=1.4
50
51 Index: activerecord-3.0.7.ebuild
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.7.ebuild,v
54 retrieving revision 1.3
55 retrieving revision 1.4
56 diff -u -r1.3 -r1.4
57 --- activerecord-3.0.7.ebuild 8 Jun 2011 18:48:45 -0000 1.3
58 +++ activerecord-3.0.7.ebuild 4 Jul 2011 09:36:31 -0000 1.4
59 @@ -1,6 +1,6 @@
60 # Copyright 1999-2011 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.7.ebuild,v 1.3 2011/06/08 18:48:45 graaff Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.7.ebuild,v 1.4 2011/07/04 09:36:31 graaff Exp $
64
65 EAPI=2
66 USE_RUBY="ruby18 ree18"
67 @@ -28,7 +28,7 @@
68
69 ruby_add_rdepend "~dev-ruby/activesupport-${PV}
70 ~dev-ruby/activemodel-${PV}
71 - >=dev-ruby/arel-2.0.2
72 + >=dev-ruby/arel-2.0.2:2.0
73 >=dev-ruby/tzinfo-0.3.23
74 sqlite3? ( >=dev-ruby/sqlite3-ruby-1.3.3 )
75 mysql? ( dev-ruby/mysql2:0.2 )
76
77
78
79 1.1 dev-ruby/activerecord/activerecord-3.0.9.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.9.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.9.ebuild?rev=1.1&content-type=text/plain
83
84 Index: activerecord-3.0.9.ebuild
85 ===================================================================
86 # Copyright 1999-2011 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.9.ebuild,v 1.1 2011/07/04 09:36:31 graaff Exp $
89
90 EAPI=2
91 USE_RUBY="ruby18 ree18"
92
93 # this is not null so that the dependencies will actually be filled
94 RUBY_FAKEGEM_TASK_TEST="test"
95
96 RUBY_FAKEGEM_TASK_DOC=""
97 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
98
99 RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
100
101 inherit ruby-fakegem
102
103 DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
104 HOMEPAGE="http://rubyforge.org/projects/activerecord/"
105 SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
106
107 LICENSE="MIT"
108 SLOT="3.0"
109 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
110 IUSE="mysql postgres sqlite3"
111
112 S="${WORKDIR}/rails-rails-*/activerecord"
113
114 ruby_add_rdepend "~dev-ruby/activesupport-${PV}
115 ~dev-ruby/activemodel-${PV}
116 >=dev-ruby/arel-2.0.10-r1:2.0
117 >=dev-ruby/tzinfo-0.3.23
118 sqlite3? ( >=dev-ruby/sqlite3-ruby-1.3.3 )
119 mysql? ( dev-ruby/mysql2:0.2 )
120 postgres? ( dev-ruby/pg )"
121
122 ruby_add_bdepend "
123 test? (
124 ~dev-ruby/actionpack-${PV}
125 >=dev-ruby/sqlite3-ruby-1.3.3
126 >=dev-ruby/mocha-0.9.5
127 virtual/ruby-test-unit
128 )"
129
130 all_ruby_prepare() {
131 # Set test environment to our hand.
132 rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
133 sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
134 }
135
136 each_ruby_test() {
137 case ${RUBY} in
138 *jruby)
139 ;;
140 *)
141 if use sqlite3; then
142 ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
143 fi
144 ;;
145 esac
146 }