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/ruby-activeldap: ruby-activeldap-1.2.2.ebuild ChangeLog
Date: Tue, 06 Jul 2010 05:42:42
Message-Id: 20100706054239.D53CD2CE14@corvid.gentoo.org
1 graaff 10/07/06 05:42:39
2
3 Modified: ChangeLog
4 Added: ruby-activeldap-1.2.2.ebuild
5 Log:
6 Version bump with bug fixes.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.23 dev-ruby/ruby-activeldap/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog?rev=1.23&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog?rev=1.23&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog?r1=1.22&r2=1.23
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog,v
19 retrieving revision 1.22
20 retrieving revision 1.23
21 diff -u -r1.22 -r1.23
22 --- ChangeLog 23 May 2010 19:57:47 -0000 1.22
23 +++ ChangeLog 6 Jul 2010 05:42:39 -0000 1.23
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ruby/ruby-activeldap
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog,v 1.22 2010/05/23 19:57:47 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog,v 1.23 2010/07/06 05:42:39 graaff Exp $
29 +
30 +*ruby-activeldap-1.2.2 (06 Jul 2010)
31 +
32 + 06 Jul 2010; Hans de Graaff <graaff@g.o>
33 + +ruby-activeldap-1.2.2.ebuild:
34 + Version bump with bug fixes.
35
36 *ruby-activeldap-1.2.1-r2 (23 May 2010)
37
38
39
40
41 1.1 dev-ruby/ruby-activeldap/ruby-activeldap-1.2.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-activeldap/ruby-activeldap-1.2.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-activeldap/ruby-activeldap-1.2.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ruby-activeldap-1.2.2.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ruby-activeldap-1.2.2.ebuild,v 1.1 2010/07/06 05:42:39 graaff Exp $
51
52 EAPI="2"
53 USE_RUBY="ruby18"
54
55 RUBY_FAKEGEM_TASK_DOC="docs"
56 RUBY_FAKEGEM_DOCDIR="doc"
57 RUBY_FAKEGEM_EXTRADOC="CHANGES README TODO"
58 RUBY_FAKEGEM_EXTRAINSTALL="data po rails rails_generators"
59 RUBY_FAKEGEM_NAME="activeldap"
60
61 inherit ruby-fakegem
62
63 MY_P="${P/ruby-/}"
64 DESCRIPTION="Ruby/ActiveLDAP provides an activerecord inspired object oriented interface to LDAP"
65 HOMEPAGE="http://ruby-activeldap.rubyforge.org/doc/"
66 SRC_URI="mirror://rubygems/${MY_P}.gem"
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~amd64 ~ia64 ~x86"
71 IUSE=""
72
73 # Most tests require a live LDAP server to run.
74 RESTRICT="test"
75
76 ruby_add_bdepend "dev-ruby/hoe"
77 ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
78
79 ruby_add_rdepend "
80 =dev-ruby/activerecord-2.3*
81 ~dev-ruby/locale-2.0.5
82 ~dev-ruby/ruby-gettext-2.1.0
83 ~dev-ruby/gettext_activerecord-2.1.0
84 >=dev-ruby/ruby-ldap-0.8.2"
85
86 all_ruby_prepare() {
87 # Make activeldap more lenient towards newer Rails versions.
88 sed -i -e "s/= 2.3.8/~>2.3.5/" lib/active_ldap.rb || die
89 }
90
91 each_ruby_test() {
92 # Tests use test-unit-2 which is currently masked in tree.
93 # Version 2.0.6 is bundled so use that for now.
94 RUBYLIB=test-unit/lib ${RUBY} -S rake test || die "Tests failed."
95 }
96
97 all_ruby_install() {
98 all_fakegem_install
99
100 insinto /usr/share/doc/${PF}
101 doins -r examples
102 }