From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RpKmj-0005mG-8b for garchives@archives.gentoo.org; Mon, 23 Jan 2012 14:22:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5889BE0ABD; Mon, 23 Jan 2012 14:22:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1625CE0AB5 for ; Mon, 23 Jan 2012 14:22:01 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D4451B402A for ; Mon, 23 Jan 2012 14:22:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id B96488005C for ; Mon, 23 Jan 2012 14:21:59 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <05ccdb147445265ce9f1cfc5bffe54f311dfd58a.graaff@gentoo> Subject: [gentoo-commits] dev/graaff:master commit in: dev-ruby/ruby-activeldap/ X-VCS-Repository: dev/graaff X-VCS-Files: dev-ruby/ruby-activeldap/ChangeLog dev-ruby/ruby-activeldap/Manifest dev-ruby/ruby-activeldap/ruby-activeldap-3.1.0-r1.ebuild X-VCS-Directories: dev-ruby/ruby-activeldap/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 05ccdb147445265ce9f1cfc5bffe54f311dfd58a Date: Mon, 23 Jan 2012 14:21:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 7fa201e3-342c-41fc-a903-a3a55e7fca4f X-Archives-Hash: 8af5a822aa7ff6eb4784c5e54065b34a commit: 05ccdb147445265ce9f1cfc5bffe54f311dfd58a Author: Hans de Graaff degraaff org> AuthorDate: Mon Jan 23 14:21:43 2012 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Jan 23 14:21:43 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/graaff.git;a=3D= commit;h=3D05ccdb14 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-activelda= p/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: $ =20 +*ruby-activeldap-3.1.0-r1 (23 Jan 2012) + + 23 Jan 2012; Hans de Graaff + +ruby-activeldap-3.1.0-r1.ebuild: + Fix compatibility with fast_gettext at the expense of ruby_gettext. + 03 Nov 2011; Hans de Graaff ruby-activeldap-3.1.0.= ebuild: Fix version number. =20 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 =20 DIST activeldap-3.1.0.gem 189440 RMD160 5fbc03fa9925f319184bd7a218db424b= f7ce35a7 SHA1 7bc21ce44e2febc6c78b93a24ec2a2cfda1787b8 SHA256 f75cab6b7a2= b369bf845c6e520948e1d88738644ed555ce7bef099c3cdd36a7e -EBUILD ruby-activeldap-3.1.0.ebuild 1504 RMD160 00912ce7d07c458dc51cd6d3= 780482543dd5f60c SHA1 06918f0735c22f2e7afdbeb012dc053ad4c498c9 SHA256 de6= 8f88d9de5ae32f955994e5beff13aa0064d86e5c1e682f3b09a9318abc85d -MISC ChangeLog 519 RMD160 88697e110c134266659c3c274582d994a3f936ca SHA1 = 7460ffbd3d36f50403fee687188c36f5375b3d49 SHA256 cc12c5625a8ee9ee56db7cac3= 135d8661b50f9a2aba0dc1c52676105a5315918 -MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SH= A1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8= 895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) =20 -iF4EAREIAAYFAk6yiM8ACgkQiIP6VqMIqNfnTQEAl3BxhLF3weuhj16nhBQ745Ks -KfjxMbK5CWQNa6A7gTUA+wQH+D09FPLiNCWI3bIMKtIxB7OYPnbIMfOvjqdyP6Mt -=3DDIZU +iF4EAREIAAYFAk8dbPcACgkQiIP6VqMIqNejhAD+IY4h5lxOnyU7rwQGXr5NgMtM +12pkTw5wuiGfXbI7EkkA/jF04HMwXpVtXdJqnlfLykd/KIzkyWYrBJq6ECcKDYKD +=3DJlsl -----END PGP SIGNATURE----- diff --git a/dev-ruby/ruby-activeldap/ruby-activeldap-3.1.0-r1.ebuild b/d= ev-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-activel= dap-1.2.2-r1.ebuild,v 1.3 2011/10/15 23:05:58 maekke Exp $ + +EAPI=3D4 +USE_RUBY=3D"ruby18" + +RUBY_FAKEGEM_TASK_DOC=3D"" +RUBY_FAKEGEM_EXTRADOC=3D"README.textile TODO" +RUBY_FAKEGEM_EXTRAINSTALL=3D"po" +RUBY_FAKEGEM_NAME=3D"activeldap" + +inherit ruby-fakegem + +MY_P=3D"${P/ruby-/}" +DESCRIPTION=3D"Ruby/ActiveLDAP provides an activerecord inspired object = oriented interface to LDAP" +HOMEPAGE=3D"https://github.com/activeldap/activeldap" + +LICENSE=3D"GPL-2" +SLOT=3D"3" +KEYWORDS=3D"~amd64 ~x86 ~x86-macos" +IUSE=3D"" + +# Most tests require a live LDAP server to run. +RESTRICT=3D"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 " + >=3Ddev-ruby/activemodel-3.0.10 + dev-ruby/locale + dev-ruby/fast_gettext + dev-ruby/gettext_i18n_rails + || ( >=3Ddev-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=3Dtest-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 +}