Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/activeldap/
Date: Sun, 29 Nov 2015 09:21:21
Message-Id: 1448788864.4d794d9bd5182aa5b20322b03017fed03108f97a.graaff@gentoo
1 commit: 4d794d9bd5182aa5b20322b03017fed03108f97a
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 09:20:42 2015 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 09:21:04 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d794d9b
7
8 dev-ruby/activeldap: fix activemodel dependency to match gem
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-ruby/activeldap/activeldap-4.0.4-r1.ebuild | 40 ++++++++++++++++++++++++++
13 1 file changed, 40 insertions(+)
14
15 diff --git a/dev-ruby/activeldap/activeldap-4.0.4-r1.ebuild b/dev-ruby/activeldap/activeldap-4.0.4-r1.ebuild
16 new file mode 100644
17 index 0000000..452f4c5
18 --- /dev/null
19 +++ b/dev-ruby/activeldap/activeldap-4.0.4-r1.ebuild
20 @@ -0,0 +1,40 @@
21 +# Copyright 1999-2015 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +USE_RUBY="ruby19 ruby20 ruby21"
27 +
28 +RUBY_FAKEGEM_TASK_DOC=""
29 +RUBY_FAKEGEM_EXTRADOC="README.textile TODO doc/text/*"
30 +RUBY_FAKEGEM_EXTRAINSTALL="po"
31 +
32 +inherit ruby-fakegem
33 +
34 +MY_P="${P/ruby-/}"
35 +DESCRIPTION="Ruby/ActiveLDAP provides an activerecord inspired object oriented interface to LDAP"
36 +HOMEPAGE="https://github.com/activeldap/activeldap"
37 +
38 +LICENSE="GPL-2"
39 +SLOT="4"
40 +KEYWORDS="~amd64"
41 +IUSE=""
42 +
43 +# Most tests require a live LDAP server to run.
44 +RESTRICT="test"
45 +
46 +ruby_add_rdepend "
47 + >dev-ruby/activemodel-4.0.0:*
48 + dev-ruby/locale
49 + dev-ruby/ruby-gettext
50 + dev-ruby/gettext_i18n_rails
51 + || ( >=dev-ruby/ruby-ldap-0.8.2 dev-ruby/ruby-net-ldap )"
52 +
53 +all_ruby_install() {
54 + all_fakegem_install
55 +
56 + dodoc doc/text/*
57 +
58 + insinto /usr/share/doc/${PF}
59 + doins -r examples
60 +}