diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-05-23 08:08:25 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-05-23 08:08:25 +0000 |
commit | 0d2c963a315598a2ad5fe1b852c74d159b73f9f3 (patch) | |
tree | 2e24c3341f4661a941b491b010ee99815900e530 /dev-ruby/ruby-activeldap | |
parent | Convert to ruby-ng. (diff) | |
download | historical-0d2c963a315598a2ad5fe1b852c74d159b73f9f3.tar.gz historical-0d2c963a315598a2ad5fe1b852c74d159b73f9f3.tar.bz2 historical-0d2c963a315598a2ad5fe1b852c74d159b73f9f3.zip |
Convert to ruby-fakegem.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-activeldap')
-rw-r--r-- | dev-ruby/ruby-activeldap/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/ruby-activeldap/ruby-activeldap-1.2.1-r1.ebuild | 49 |
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-ruby/ruby-activeldap/ChangeLog b/dev-ruby/ruby-activeldap/ChangeLog index f64d7ee7110f..707811f42f5a 100644 --- a/dev-ruby/ruby-activeldap/ChangeLog +++ b/dev-ruby/ruby-activeldap/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/ruby-activeldap # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog,v 1.20 2010/05/23 07:00:10 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog,v 1.21 2010/05/23 08:08:25 graaff Exp $ + +*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: diff --git a/dev-ruby/ruby-activeldap/ruby-activeldap-1.2.1-r1.ebuild b/dev-ruby/ruby-activeldap/ruby-activeldap-1.2.1-r1.ebuild new file mode 100644 index 000000000000..119a47c861fe --- /dev/null +++ b/dev-ruby/ruby-activeldap/ruby-activeldap-1.2.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 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.1-r1.ebuild,v 1.1 2010/05/23 08:08:25 graaff 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" + +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 ~ia64 ~x86" +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.5 + ~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" + +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 +} |