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 |
Date: | Tue, 26 Apr 2011 18:05:40 |
Message-Id: | 20110426180530.69C3E20054@flycatcher.gentoo.org |
1 | graaff 11/04/26 18:05:30 |
2 | |
3 | Modified: ChangeLog |
4 | Added: activerecord-3.0.7.ebuild |
5 | Log: |
6 | Version bump for Rails 3.0.7. |
7 | |
8 | (Portage version: 2.1.9.42/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.152 dev-ruby/activerecord/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.152&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.152&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?r1=1.151&r2=1.152 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v |
20 | retrieving revision 1.151 |
21 | retrieving revision 1.152 |
22 | diff -u -r1.151 -r1.152 |
23 | --- ChangeLog 21 Feb 2011 20:11:53 -0000 1.151 |
24 | +++ ChangeLog 26 Apr 2011 18:05:30 -0000 1.152 |
25 | @@ -1,6 +1,12 @@ |
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.151 2011/02/21 20:11:53 graaff Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.152 2011/04/26 18:05:30 graaff Exp $ |
30 | + |
31 | +*activerecord-3.0.7 (26 Apr 2011) |
32 | + |
33 | + 26 Apr 2011; Hans de Graaff <graaff@g.o> |
34 | + +activerecord-3.0.7.ebuild: |
35 | + Version bump for Rails 3.0.7. |
36 | |
37 | *activerecord-2.3.11 (21 Feb 2011) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 dev-ruby/activerecord/activerecord-3.0.7.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.7.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.7.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: activerecord-3.0.7.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.7.ebuild,v 1.1 2011/04/26 18:05:30 graaff Exp $ |
52 | |
53 | EAPI=2 |
54 | USE_RUBY="ruby18 ree18" |
55 | |
56 | # this is not null so that the dependencies will actually be filled |
57 | RUBY_FAKEGEM_TASK_TEST="test" |
58 | |
59 | RUBY_FAKEGEM_TASK_DOC="" |
60 | RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc" |
61 | |
62 | RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec" |
63 | |
64 | inherit ruby-fakegem |
65 | |
66 | DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" |
67 | HOMEPAGE="http://rubyforge.org/projects/activerecord/" |
68 | SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz" |
69 | |
70 | LICENSE="MIT" |
71 | SLOT="3.0" |
72 | KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" |
73 | IUSE="mysql postgres sqlite3" |
74 | |
75 | S="${WORKDIR}/rails-rails-*/activerecord" |
76 | |
77 | ruby_add_rdepend "~dev-ruby/activesupport-${PV} |
78 | ~dev-ruby/activemodel-${PV} |
79 | >=dev-ruby/arel-2.0.2 |
80 | >=dev-ruby/tzinfo-0.3.23 |
81 | sqlite3? ( dev-ruby/sqlite3-ruby ) |
82 | mysql? ( dev-ruby/mysql2 ) |
83 | postgres? ( dev-ruby/pg )" |
84 | |
85 | ruby_add_bdepend " |
86 | test? ( |
87 | ~dev-ruby/actionpack-${PV} |
88 | dev-ruby/sqlite3-ruby |
89 | >=dev-ruby/mocha-0.9.5 |
90 | virtual/ruby-test-unit |
91 | )" |
92 | |
93 | all_ruby_prepare() { |
94 | # Set test environment to our hand. |
95 | rm "${S}/../Gemfile" || die "Unable to remove Gemfile" |
96 | sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths" |
97 | } |
98 | |
99 | each_ruby_test() { |
100 | case ${RUBY} in |
101 | *jruby) |
102 | ;; |
103 | *) |
104 | if use sqlite3; then |
105 | ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" |
106 | fi |
107 | ;; |
108 | esac |
109 | } |