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-3.1.1-r1.ebuild ChangeLog
Date: Mon, 02 Jul 2012 08:25:13
Message-Id: 20120702082502.6AEEE2004B@flycatcher.gentoo.org
1 graaff 12/07/02 08:25:02
2
3 Modified: ChangeLog
4 Added: ruby-activeldap-3.1.1-r1.ebuild
5 Log:
6 Extend versioning to activemodel 3.2 since it is mostly compatible: https://github.com/activeldap/activeldap/pull/39
7
8 (Portage version: 2.1.10.65/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.33 dev-ruby/ruby-activeldap/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog?rev=1.33&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog?rev=1.33&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog?r1=1.32&r2=1.33
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog,v
20 retrieving revision 1.32
21 retrieving revision 1.33
22 diff -u -r1.32 -r1.33
23 --- ChangeLog 15 Apr 2012 08:45:25 -0000 1.32
24 +++ ChangeLog 2 Jul 2012 08:25:02 -0000 1.33
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-ruby/ruby-activeldap
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog,v 1.32 2012/04/15 08:45:25 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog,v 1.33 2012/07/02 08:25:02 graaff Exp $
30 +
31 +*ruby-activeldap-3.1.1-r1 (02 Jul 2012)
32 +
33 + 02 Jul 2012; Hans de Graaff <graaff@g.o>
34 + +ruby-activeldap-3.1.1-r1.ebuild:
35 + Extend versioning to activemodel 3.2 since it is mostly compatible:
36 + https://github.com/activeldap/activeldap/pull/39
37
38 *ruby-activeldap-3.1.1 (15 Apr 2012)
39
40
41
42
43 1.1 dev-ruby/ruby-activeldap/ruby-activeldap-3.1.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-activeldap/ruby-activeldap-3.1.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-activeldap/ruby-activeldap-3.1.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ruby-activeldap-3.1.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ruby-activeldap-3.1.1-r1.ebuild,v 1.1 2012/07/02 08:25:02 graaff Exp $
53
54 EAPI=4
55 USE_RUBY="ruby18 ruby19"
56
57 RUBY_FAKEGEM_TASK_DOC=""
58 RUBY_FAKEGEM_EXTRADOC="README.textile TODO"
59 RUBY_FAKEGEM_EXTRAINSTALL="po"
60 RUBY_FAKEGEM_NAME="activeldap"
61
62 inherit ruby-fakegem
63
64 MY_P="${P/ruby-/}"
65 DESCRIPTION="Ruby/ActiveLDAP provides an activerecord inspired object oriented interface to LDAP"
66 HOMEPAGE="https://github.com/activeldap/activeldap"
67
68 LICENSE="GPL-2"
69 SLOT="3"
70 KEYWORDS="~amd64"
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
78 ruby_add_rdepend "
79 >=dev-ruby/activemodel-3.1.0
80 dev-ruby/locale
81 dev-ruby/fast_gettext
82 dev-ruby/gettext_i18n_rails
83 || ( >=dev-ruby/ruby-ldap-0.8.2 dev-ruby/ruby-net-ldap )"
84
85 all_ruby_prepare() {
86 # Comment out Gettext setup because it does not work with fast_gettext. This
87 # patch probably breaks ruby_gettext usage. See
88 # https://github.com/activeldap/activeldap/issues/33
89 sed -i -e '/GetText\./ s:^:#:' lib/active_ldap/get_text_support.rb || die
90
91 # Also allow Rails 3.2. Upstream has not released a version yet that is
92 # 100% compatible, but it works for the most part and it is better than no
93 # activeldap at all.
94 sed -i -e '31d' -e 's/version: 3.1.0/version: "3.1"/' ../metadata || die
95 }
96
97 all_ruby_install() {
98 all_fakegem_install
99
100 dodoc doc/text/*
101
102 insinto /usr/share/doc/${PF}
103 doins -r examples
104 }