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-2.3.11.ebuild |
Date: | Mon, 21 Feb 2011 20:12:03 |
Message-Id: | 20110221201153.8BCE220054@flycatcher.gentoo.org |
1 | graaff 11/02/21 20:11:53 |
2 | |
3 | Modified: ChangeLog |
4 | Added: activerecord-2.3.11.ebuild |
5 | Log: |
6 | Version bump for Rails 2.3.11. |
7 | |
8 | (Portage version: 2.1.9.25/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.151 dev-ruby/activerecord/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.151&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.151&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?r1=1.150&r2=1.151 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v |
20 | retrieving revision 1.150 |
21 | retrieving revision 1.151 |
22 | diff -u -r1.150 -r1.151 |
23 | --- ChangeLog 21 Feb 2011 19:55:35 -0000 1.150 |
24 | +++ ChangeLog 21 Feb 2011 20:11:53 -0000 1.151 |
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.150 2011/02/21 19:55:35 graaff Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.151 2011/02/21 20:11:53 graaff Exp $ |
30 | + |
31 | +*activerecord-2.3.11 (21 Feb 2011) |
32 | + |
33 | + 21 Feb 2011; Hans de Graaff <graaff@g.o> |
34 | + +activerecord-2.3.11.ebuild: |
35 | + Version bump for Rails 2.3.11. |
36 | |
37 | 21 Feb 2011; Hans de Graaff <graaff@g.o> |
38 | activerecord-2.3.10.ebuild, +files/activerecord-2.3.10-rails3.patch: |
39 | |
40 | |
41 | |
42 | 1.1 dev-ruby/activerecord/activerecord-2.3.11.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.11.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.11.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: activerecord-2.3.11.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-2.3.11.ebuild,v 1.1 2011/02/21 20:11:53 graaff Exp $ |
52 | |
53 | EAPI=2 |
54 | USE_RUBY="ruby18 ree18 jruby" |
55 | |
56 | # this is not null so that the dependencies will actually be filled |
57 | RUBY_FAKEGEM_TASK_TEST="none" |
58 | |
59 | RUBY_FAKEGEM_DOCDIR="doc" |
60 | RUBY_FAKEGEM_EXTRADOC="CHANGELOG README" |
61 | |
62 | inherit ruby-fakegem |
63 | |
64 | DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" |
65 | HOMEPAGE="http://rubyforge.org/projects/activerecord/" |
66 | |
67 | LICENSE="MIT" |
68 | SLOT="2.3" |
69 | KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" |
70 | IUSE="mysql postgres sqlite3" #sqlite |
71 | |
72 | ruby_add_rdepend "~dev-ruby/activesupport-${PV}" |
73 | |
74 | #ruby_add_rdepend sqlite ">=dev-ruby/sqlite-ruby-2.2.2" |
75 | USE_RUBY=ruby18 \ |
76 | ruby_add_rdepend " |
77 | sqlite3? ( dev-ruby/sqlite3-ruby ) |
78 | mysql? ( >=dev-ruby/mysql-ruby-2.7 ) |
79 | postgres? ( dev-ruby/pg )" |
80 | |
81 | ruby_add_bdepend " |
82 | test? ( |
83 | >=dev-ruby/mocha-0.9.5 |
84 | virtual/ruby-test-unit |
85 | !dev-ruby/test-unit:2 |
86 | )" |
87 | |
88 | all_ruby_prepare() { |
89 | epatch "${FILESDIR}/${PN}-2.3.10-rails3.patch" |
90 | |
91 | # Custom template not found in package |
92 | sed -i -e '/horo/d' Rakefile || die |
93 | } |
94 | |
95 | each_ruby_test() { |
96 | case ${RUBY} in |
97 | *jruby) |
98 | ;; |
99 | *) |
100 | if use sqlite3; then |
101 | ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" |
102 | fi |
103 | ;; |
104 | esac |
105 | } |