1 |
flameeyes 10/01/02 00:09:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: activerecord-2.3.5-r1.ebuild |
5 |
Log: |
6 |
Bump to fakegem, replace ruby-postgres dependency with pg instead, drop sqlite USE flag (just for now, maybe). Tests are only executed with sqlite3 USE flag enabled. |
7 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.126 dev-ruby/activerecord/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.126&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.126&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/activerecord/ChangeLog?r1=1.125&r2=1.126 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v |
19 |
retrieving revision 1.125 |
20 |
retrieving revision 1.126 |
21 |
diff -u -r1.125 -r1.126 |
22 |
--- ChangeLog 20 Dec 2009 09:09:53 -0000 1.125 |
23 |
+++ ChangeLog 2 Jan 2010 00:09:23 -0000 1.126 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for dev-ruby/activerecord |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.125 2009/12/20 09:09:53 a3li Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.126 2010/01/02 00:09:23 flameeyes Exp $ |
30 |
+ |
31 |
+*activerecord-2.3.5-r1 (02 Jan 2010) |
32 |
+ |
33 |
+ 02 Jan 2010; Diego E. Pettenò <flameeyes@g.o> |
34 |
+ +activerecord-2.3.5-r1.ebuild: |
35 |
+ Bump to fakegem, replace ruby-postgres dependency with pg instead, drop |
36 |
+ sqlite USE flag (just for now, maybe). Tests are only executed with |
37 |
+ sqlite3 USE flag enabled. |
38 |
|
39 |
20 Dec 2009; Alex Legler <a3li@g.o> -activerecord-2.3.4.ebuild: |
40 |
Removing vulnerable version |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-ruby/activerecord/activerecord-2.3.5-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.5-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.5-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: activerecord-2.3.5-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.5-r1.ebuild,v 1.1 2010/01/02 00:09:23 flameeyes Exp $ |
54 |
|
55 |
EAPI=2 |
56 |
USE_RUBY="ruby18" |
57 |
|
58 |
# this is not null so that the dependencies will actually be filled |
59 |
RUBY_FAKEGEM_TASK_TEST="none" |
60 |
|
61 |
RUBY_FAKEGEM_DOCDIR="doc" |
62 |
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README" |
63 |
|
64 |
inherit ruby-fakegem |
65 |
|
66 |
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" |
67 |
HOMEPAGE="http://rubyforge.org/projects/activerecord/" |
68 |
|
69 |
LICENSE="MIT" |
70 |
SLOT="2.3" |
71 |
KEYWORDS="~amd64" |
72 |
IUSE="mysql postgres sqlite3" #sqlite |
73 |
|
74 |
ruby_add_rdepend "~dev-ruby/activesupport-${PV}" |
75 |
#ruby_add_rdepend sqlite ">=dev-ruby/sqlite-ruby-2.2.2" |
76 |
ruby_add_rdepend sqlite3 "dev-ruby/sqlite3-ruby" |
77 |
ruby_add_rdepend mysql ">=dev-ruby/mysql-ruby-2.7" |
78 |
ruby_add_rdepend postgres "dev-ruby/pg" |
79 |
ruby_add_bdepend test ">=dev-ruby/mocha-0.9.5 virtual/ruby-test-unit" |
80 |
|
81 |
all_ruby_prepare() { |
82 |
# Custom template not found in package |
83 |
sed -i -e '/horo/d' Rakefile || die |
84 |
} |
85 |
|
86 |
each_ruby_test() { |
87 |
if use sqlite3; then |
88 |
${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" |
89 |
fi |
90 |
# |
91 |
# if use sqlite; then |
92 |
# ${RUBY} -S rake test_sqlite || die "sqlite3 tests failed" |
93 |
# fi |
94 |
} |