summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-16 03:43:18 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-16 03:43:18 +0000
commit3288612fbc59bc83013db2efdd49039cd8629595 (patch)
treebd40964ece69e5805ef9858cd1e8f6f8233d592a /dev-ruby/activeldap
parentPrepare for first set of Ruby pkgmoves. (diff)
downloadgentoo-2-3288612fbc59bc83013db2efdd49039cd8629595.tar.gz
gentoo-2-3288612fbc59bc83013db2efdd49039cd8629595.tar.bz2
gentoo-2-3288612fbc59bc83013db2efdd49039cd8629595.zip
Move to new location.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'dev-ruby/activeldap')
-rw-r--r--dev-ruby/activeldap/ChangeLog162
-rw-r--r--dev-ruby/activeldap/activeldap-1.2.2-r1.ebuild57
-rw-r--r--dev-ruby/activeldap/activeldap-3.1.1-r1.ebuild55
-rw-r--r--dev-ruby/activeldap/activeldap-3.1.1.ebuild51
-rw-r--r--dev-ruby/activeldap/metadata.xml5
5 files changed, 330 insertions, 0 deletions
diff --git a/dev-ruby/activeldap/ChangeLog b/dev-ruby/activeldap/ChangeLog
new file mode 100644
index 000000000000..91a8fc9b4ed7
--- /dev/null
+++ b/dev-ruby/activeldap/ChangeLog
@@ -0,0 +1,162 @@
+# ChangeLog for dev-ruby/ruby-activeldap
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeldap/ChangeLog,v 1.1 2012/08/16 03:43:18 flameeyes Exp $
+
+*ruby-activeldap-3.1.1-r1 (02 Jul 2012)
+
+ 02 Jul 2012; Hans de Graaff <graaff@gentoo.org>
+ +ruby-activeldap-3.1.1-r1.ebuild:
+ Extend versioning to activemodel 3.2 since it is mostly compatible:
+ https://github.com/activeldap/activeldap/pull/39
+
+*ruby-activeldap-3.1.1 (15 Apr 2012)
+
+ 15 Apr 2012; Hans de Graaff <graaff@gentoo.org>
+ +ruby-activeldap-3.1.1.ebuild:
+ Version bump.
+
+ 06 Dec 2011; Hans de Graaff <graaff@gentoo.org>
+ -ruby-activeldap-1.2.1.ebuild, -ruby-activeldap-1.2.2.ebuild:
+ Remove old versions.
+
+ 15 Oct 2011; Markus Meier <maekke@gentoo.org>
+ ruby-activeldap-1.2.2-r1.ebuild:
+ amd64/x86 stable, bug #384827
+
+ 08 Oct 2011; Raúl Porcel <armin76@gentoo.org> ruby-activeldap-1.2.1.ebuild,
+ ruby-activeldap-1.2.2.ebuild, ruby-activeldap-1.2.2-r1.ebuild:
+ Drop ia64 keywords
+
+*ruby-activeldap-1.2.2-r1 (13 Mar 2011)
+
+ 13 Mar 2011; Hans de Graaff <graaff@gentoo.org>
+ +ruby-activeldap-1.2.2-r1.ebuild:
+ Use our own metadata to avoid problems with versioning.
+
+ 10 Jan 2011; Hans de Graaff <graaff@gentoo.org>
+ ruby-activeldap-1.2.2.ebuild:
+ Keyword ~x86-macos.
+
+ 09 Jan 2011; Hans de Graaff <graaff@gentoo.org>
+ ruby-activeldap-1.2.2.ebuild:
+ Loosen ruby-gettext dependency a bit to include patched version.
+
+ 11 Dec 2010; Hans de Graaff <graaff@gentoo.org>
+ -ruby-activeldap-1.2.1-r1.ebuild, -ruby-activeldap-1.2.1-r2.ebuild:
+ Remove old versions.
+
+ 11 Dec 2010; Hans de Graaff <graaff@gentoo.org>
+ ruby-activeldap-1.2.2.ebuild:
+ Expand gettext_activerecord dependency to include most recent version.
+
+*ruby-activeldap-1.2.2 (06 Jul 2010)
+
+ 06 Jul 2010; Hans de Graaff <graaff@gentoo.org>
+ +ruby-activeldap-1.2.2.ebuild:
+ Version bump with bug fixes.
+
+*ruby-activeldap-1.2.1-r2 (23 May 2010)
+
+ 23 May 2010; Hans de Graaff <graaff@gentoo.org>
+ +ruby-activeldap-1.2.1-r2.ebuild:
+ Be more lenient towards newer Rails versions in the same slot.
+ Use correct name for gemspec file.
+
+*ruby-activeldap-1.2.1-r1 (23 May 2010)
+
+ 23 May 2010; Hans de Graaff <graaff@gentoo.org>
+ +ruby-activeldap-1.2.1-r1.ebuild:
+ Convert to ruby-fakegem.
+
+ 23 May 2010; Hans de Graaff <graaff@gentoo.org>
+ -ruby-activeldap-0.8.3.1.ebuild:
+ Remove old version.
+
+ 21 Feb 2010; Raúl Porcel <armin76@gentoo.org>
+ ruby-activeldap-1.2.1.ebuild:
+ ia64 stable wrt #302065
+
+ 17 Feb 2010; Markus Meier <maekke@gentoo.org>
+ ruby-activeldap-1.2.1.ebuild:
+ amd64/x86 stable, bug #302065
+
+ 16 Jan 2010; Hans de Graaff <graaff@gentoo.org>
+ ruby-activeldap-1.2.1.ebuild:
+ Relax dependency to include revisions.
+
+*ruby-activeldap-1.2.1 (17 Dec 2009)
+
+ 17 Dec 2009; Hans de Graaff <graaff@gentoo.org>
+ -ruby-activeldap-1.2.0.ebuild, +ruby-activeldap-1.2.1.ebuild:
+ Version bump. Remove old version which depends on rails and gettext
+ versions no longer in the tree.
+
+ 29 Nov 2009; Alex Legler <a3li@gentoo.org> ruby-activeldap-1.2.0.ebuild:
+ Fix SRC_URI due to gemcutter
+
+ 09 Nov 2009; Raúl Porcel <armin76@gentoo.org>
+ ruby-activeldap-1.2.0.ebuild:
+ Add ~ia64
+
+*ruby-activeldap-1.2.0 (23 Oct 2009)
+
+ 23 Oct 2009; Hans de Graaff <graaff@gentoo.org>
+ +ruby-activeldap-1.2.0.ebuild:
+ Version bump.
+
+ 02 Aug 2009; Hans de Graaff <graaff@gentoo.org>
+ -ruby-activeldap-0.6.0.ebuild:
+ Remove old version.
+
+ 02 Aug 2009; Raúl Porcel <armin76@gentoo.org>
+ ruby-activeldap-0.8.3.1.ebuild:
+ ia64/x86 stable wrt #278800
+
+ 18 Jun 2009; Hans de Graaff <graaff@gentoo.org>
+ ruby-activeldap-0.6.0.ebuild, ruby-activeldap-0.8.3.1.ebuild:
+ Add missing IUSE and USE_RUBY.
+
+ 13 Jun 2009; Hans de Graaff <graaff@gentoo.org>
+ -ruby-activeldap-0.7.4.ebuild:
+ Remove old version.
+
+*ruby-activeldap-0.8.3.1 (07 Nov 2007)
+
+ 07 Nov 2007; Hans de Graaff <graaff@gentoo.org>
+ +ruby-activeldap-0.8.3.1.ebuild:
+ Version bump with updated dependencies; fix QA issues in ebuild; update
+ license information according to Google Project page
+
+ 22 Feb 2007; Richard Brown <rbrown@gentoo.org>
+ -ruby-activeldap-0.5.7.ebuild:
+ Remove old version
+
+ 20 Oct 2006; Aron Griffis <agriffis@gentoo.org>
+ ruby-activeldap-0.6.0.ebuild:
+ Mark 0.6.0 stable on ia64
+
+*ruby-activeldap-0.7.4 (07 Aug 2006)
+
+ 07 Aug 2006; Caleb Tennis <caleb@gentoo.org>
+ +ruby-activeldap-0.7.4.ebuild:
+ version bump
+
+ 30 Mar 2006; Aron Griffis <agriffis@gentoo.org>
+ ruby-activeldap-0.6.0.ebuild:
+ Mark 0.6.0 ~ia64
+
+ 03 Mar 2006; Caleb Tennis <caleb@gentoo.org> ruby-activeldap-0.6.0.ebuild:
+ x86 stable
+
+*ruby-activeldap-0.6.0 (01 Feb 2006)
+
+ 01 Feb 2006; Caleb Tennis <caleb@gentoo.org>
+ +ruby-activeldap-0.6.0.ebuild:
+ version bump, mark ~x86
+
+*ruby-activeldap-0.5.7 (19 Aug 2005)
+
+ 19 Aug 2005; Rob Holland <tigger@gentoo.org> +metadata.xml,
+ +ruby-activeldap-0.5.7.ebuild:
+ Initial version.
+
diff --git a/dev-ruby/activeldap/activeldap-1.2.2-r1.ebuild b/dev-ruby/activeldap/activeldap-1.2.2-r1.ebuild
new file mode 100644
index 000000000000..a1f3881e363b
--- /dev/null
+++ b/dev-ruby/activeldap/activeldap-1.2.2-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeldap/activeldap-1.2.2-r1.ebuild,v 1.1 2012/08/16 03:43:18 flameeyes Exp $
+
+EAPI="2"
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES README TODO"
+RUBY_FAKEGEM_EXTRAINSTALL="data po rails rails_generators"
+RUBY_FAKEGEM_NAME="activeldap"
+
+inherit ruby-fakegem
+
+MY_P="${P/ruby-/}"
+DESCRIPTION="Ruby/ActiveLDAP provides an activerecord inspired object oriented interface to LDAP"
+HOMEPAGE="http://ruby-activeldap.rubyforge.org/doc/"
+SRC_URI="mirror://rubygems/${MY_P}.gem"
+
+LICENSE="GPL-2"
+SLOT="0"
+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 )"
+
+ruby_add_rdepend "
+ =dev-ruby/activerecord-2.3*
+ ~dev-ruby/locale-2.0.5
+ =dev-ruby/ruby-gettext-2.1.0*
+ =dev-ruby/gettext_activerecord-2.1.0*
+ >=dev-ruby/ruby-ldap-0.8.2"
+
+all_ruby_prepare() {
+ # Make activeldap more lenient towards newer Rails versions.
+ sed -i -e "s/= 2.3.8/~>2.3.5/" lib/active_ldap.rb || die
+ # And use our own stub metadata to avoid problems there as well.
+ rm ../metadata || 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
+
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+}
diff --git a/dev-ruby/activeldap/activeldap-3.1.1-r1.ebuild b/dev-ruby/activeldap/activeldap-3.1.1-r1.ebuild
new file mode 100644
index 000000000000..49787275a162
--- /dev/null
+++ b/dev-ruby/activeldap/activeldap-3.1.1-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeldap/activeldap-3.1.1-r1.ebuild,v 1.1 2012/08/16 03:43:18 flameeyes Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19"
+
+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"
+IUSE=""
+
+# Most tests require a live LDAP server to run.
+RESTRICT="test"
+
+ruby_add_bdepend "dev-ruby/hoe"
+
+ruby_add_rdepend "
+ >=dev-ruby/activemodel-3.1.0
+ 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() {
+ # 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
+
+ # Also allow Rails 3.2. Upstream has not released a version yet that is
+ # 100% compatible, but it works for the most part and it is better than no
+ # activeldap at all.
+ sed -i -e '31d' -e 's/version: 3.1.0/version: "3.1"/' ../metadata || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ dodoc doc/text/*
+
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+}
diff --git a/dev-ruby/activeldap/activeldap-3.1.1.ebuild b/dev-ruby/activeldap/activeldap-3.1.1.ebuild
new file mode 100644
index 000000000000..afef5fb65152
--- /dev/null
+++ b/dev-ruby/activeldap/activeldap-3.1.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeldap/activeldap-3.1.1.ebuild,v 1.1 2012/08/16 03:43:18 flameeyes Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19"
+
+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"
+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 )"
+
+ruby_add_rdepend "
+ >=dev-ruby/activemodel-3.1.0
+ 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() {
+ # 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
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ dodoc doc/text/*
+
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+}
diff --git a/dev-ruby/activeldap/metadata.xml b/dev-ruby/activeldap/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/activeldap/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>