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.8.ebuild |
Date: | Mon, 31 May 2010 06:08:02 |
Message-Id: | 20100531060755.13BED2CF2B@corvid.gentoo.org |
1 | graaff 10/05/31 06:07:54 |
2 | |
3 | Modified: ChangeLog |
4 | Added: activerecord-2.3.8.ebuild |
5 | Log: |
6 | Bump for Rails 2.3.8. Drop ppc/ppc64 keywords due to new unkeyworded dependency. |
7 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.135 dev-ruby/activerecord/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.135&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.135&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?r1=1.134&r2=1.135 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v |
19 | retrieving revision 1.134 |
20 | retrieving revision 1.135 |
21 | diff -u -r1.134 -r1.135 |
22 | --- ChangeLog 23 May 2010 10:37:02 -0000 1.134 |
23 | +++ ChangeLog 31 May 2010 06:07:54 -0000 1.135 |
24 | @@ -1,6 +1,13 @@ |
25 | # ChangeLog for dev-ruby/activerecord |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.134 2010/05/23 10:37:02 a3li Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.135 2010/05/31 06:07:54 graaff Exp $ |
29 | + |
30 | +*activerecord-2.3.8 (31 May 2010) |
31 | + |
32 | + 31 May 2010; Hans de Graaff <graaff@g.o> |
33 | + +activerecord-2.3.8.ebuild: |
34 | + Bump for Rails 2.3.8. Drop ppc/ppc64 keywords due to new unkeyworded |
35 | + dependency. |
36 | |
37 | 23 May 2010; Alex Legler <a3li@g.o> activerecord-2.3.5-r1.ebuild: |
38 | Add REE18 support |
39 | |
40 | |
41 | |
42 | 1.1 dev-ruby/activerecord/activerecord-2.3.8.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.8.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.8.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: activerecord-2.3.8.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 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.8.ebuild,v 1.1 2010/05/31 06:07:54 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 ~ia64 ~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 ruby_add_rdepend "ruby_targets_ruby18 sqlite3" "dev-ruby/sqlite3-ruby" |
76 | USE_RUBY=ruby18 ruby_add_rdepend "ruby_targets_ruby18 mysql" ">=dev-ruby/mysql-ruby-2.7" |
77 | USE_RUBY=ruby18 ruby_add_rdepend "ruby_targets_ruby18 postgres" "dev-ruby/pg" |
78 | |
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 | case ${RUBY} in |
88 | *jruby) |
89 | ;; |
90 | *) |
91 | if use sqlite3; then |
92 | ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" |
93 | fi |
94 | ;; |
95 | esac |
96 | # |
97 | # if use sqlite; then |
98 | # ${RUBY} -S rake test_sqlite || die "sqlite3 tests failed" |
99 | # fi |
100 | } |