public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/graaff:master commit in: dev-ruby/ruby-activeldap/
Date: Mon, 23 Jan 2012 14:21:59 +0000 (UTC)	[thread overview]
Message-ID: <05ccdb147445265ce9f1cfc5bffe54f311dfd58a.graaff@gentoo> (raw)

commit:     05ccdb147445265ce9f1cfc5bffe54f311dfd58a
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon Jan 23 14:21:43 2012 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jan 23 14:21:43 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=05ccdb14

Fix compatibility with fast_gettext at the expense of ruby_gettext.

(Portage version: 2.1.10.41/git/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

---
 dev-ruby/ruby-activeldap/ChangeLog                 |    8 ++-
 dev-ruby/ruby-activeldap/Manifest                  |    9 +--
 .../ruby-activeldap-3.1.0-r1.ebuild                |   61 ++++++++++++++++++++
 3 files changed, 71 insertions(+), 7 deletions(-)

diff --git a/dev-ruby/ruby-activeldap/ChangeLog b/dev-ruby/ruby-activeldap/ChangeLog
index ea9c488..a814dc6 100644
--- a/dev-ruby/ruby-activeldap/ChangeLog
+++ b/dev-ruby/ruby-activeldap/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for dev-ruby/ruby-activeldap
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*ruby-activeldap-3.1.0-r1 (23 Jan 2012)
+
+  23 Jan 2012; Hans de Graaff <graaff@gentoo.org>
+  +ruby-activeldap-3.1.0-r1.ebuild:
+  Fix compatibility with fast_gettext at the expense of ruby_gettext.
+
   03 Nov 2011; Hans de Graaff <graaff@gentoo.org> ruby-activeldap-3.1.0.ebuild:
   Fix version number.
 

diff --git a/dev-ruby/ruby-activeldap/Manifest b/dev-ruby/ruby-activeldap/Manifest
index 7a3795c..8fd4ec6 100644
--- a/dev-ruby/ruby-activeldap/Manifest
+++ b/dev-ruby/ruby-activeldap/Manifest
@@ -2,13 +2,10 @@
 Hash: SHA256
 
 DIST activeldap-3.1.0.gem 189440 RMD160 5fbc03fa9925f319184bd7a218db424bf7ce35a7 SHA1 7bc21ce44e2febc6c78b93a24ec2a2cfda1787b8 SHA256 f75cab6b7a2b369bf845c6e520948e1d88738644ed555ce7bef099c3cdd36a7e
-EBUILD ruby-activeldap-3.1.0.ebuild 1504 RMD160 00912ce7d07c458dc51cd6d3780482543dd5f60c SHA1 06918f0735c22f2e7afdbeb012dc053ad4c498c9 SHA256 de68f88d9de5ae32f955994e5beff13aa0064d86e5c1e682f3b09a9318abc85d
-MISC ChangeLog 519 RMD160 88697e110c134266659c3c274582d994a3f936ca SHA1 7460ffbd3d36f50403fee687188c36f5375b3d49 SHA256 cc12c5625a8ee9ee56db7cac3135d8661b50f9a2aba0dc1c52676105a5315918
-MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iF4EAREIAAYFAk6yiM8ACgkQiIP6VqMIqNfnTQEAl3BxhLF3weuhj16nhBQ745Ks
-KfjxMbK5CWQNa6A7gTUA+wQH+D09FPLiNCWI3bIMKtIxB7OYPnbIMfOvjqdyP6Mt
-=DIZU
+iF4EAREIAAYFAk8dbPcACgkQiIP6VqMIqNejhAD+IY4h5lxOnyU7rwQGXr5NgMtM
+12pkTw5wuiGfXbI7EkkA/jF04HMwXpVtXdJqnlfLykd/KIzkyWYrBJq6ECcKDYKD
+=Jlsl
 -----END PGP SIGNATURE-----

diff --git a/dev-ruby/ruby-activeldap/ruby-activeldap-3.1.0-r1.ebuild b/dev-ruby/ruby-activeldap/ruby-activeldap-3.1.0-r1.ebuild
new file mode 100644
index 0000000..37e0484
--- /dev/null
+++ b/dev-ruby/ruby-activeldap/ruby-activeldap-3.1.0-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ruby-activeldap-1.2.2-r1.ebuild,v 1.3 2011/10/15 23:05:58 maekke Exp $
+
+EAPI=4
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.textile TODO"
+RUBY_FAKEGEM_EXTRAINSTALL="po"
+RUBY_FAKEGEM_NAME="activeldap"
+
+inherit ruby-fakegem
+
+MY_P="${P/ruby-/}"
+DESCRIPTION="Ruby/ActiveLDAP provides an activerecord inspired object oriented interface to LDAP"
+HOMEPAGE="https://github.com/activeldap/activeldap"
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~x86 ~x86-macos"
+IUSE=""
+
+# Most tests require a live LDAP server to run.
+RESTRICT="test"
+
+ruby_add_bdepend "dev-ruby/hoe"
+ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
+
+# The activemodel dependency is 3.1.0.rc4 but we don't have that yet.
+ruby_add_rdepend "
+	>=dev-ruby/activemodel-3.0.10
+	dev-ruby/locale
+	dev-ruby/fast_gettext
+	dev-ruby/gettext_i18n_rails
+	|| ( >=dev-ruby/ruby-ldap-0.8.2 dev-ruby/ruby-net-ldap )"
+
+all_ruby_prepare() {
+	# "Fix" activemodel dependency to also work with Rails 3.0.
+	sed -i -e 's/3.1.0.rc4/3.0.10/' ../metadata || die
+
+	# Comment out Gettext setup because it does not work with fast_gettext. This
+	# patch probably breaks ruby_gettext usage. See
+	# https://github.com/activeldap/activeldap/issues/33
+	sed -i -e '/GetText\./ s:^:#:/' lib/active_ldap/get_text_support.rb || die
+}
+
+each_ruby_test() {
+	# Tests use test-unit-2 which is currently masked in tree.
+	# Version 2.0.6 is bundled so use that for now.
+	RUBYLIB=test-unit/lib ${RUBY} -S rake test || die "Tests failed."
+}
+
+all_ruby_install() {
+	all_fakegem_install
+
+	dodoc doc/text/*
+
+	insinto /usr/share/doc/${PF}
+	doins -r examples
+}



             reply	other threads:[~2012-01-23 14:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-23 14:21 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-08-16  9:07 [gentoo-commits] dev/graaff:master commit in: dev-ruby/ruby-activeldap/ Hans de Graaff
2012-02-14  8:40 Hans de Graaff
2012-02-14  8:34 Hans de Graaff
2012-01-23 20:14 Hans de Graaff
2011-11-03 12:28 Hans de Graaff
2011-11-03 12:23 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=05ccdb147445265ce9f1cfc5bffe54f311dfd58a.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox