diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-03-13 19:10:24 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-03-13 19:10:24 +0000 |
commit | 8bd633839082d02849694f2867fa3281ece2b567 (patch) | |
tree | 2bb0cf848061852e4d62a8dddec99c83333d9657 /dev-ruby | |
parent | Stable on alpha, bug #357417 (diff) | |
download | historical-8bd633839082d02849694f2867fa3281ece2b567.tar.gz historical-8bd633839082d02849694f2867fa3281ece2b567.tar.bz2 historical-8bd633839082d02849694f2867fa3281ece2b567.zip |
Use our own metadata to avoid problems with versioning.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ruby-activeldap/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/ruby-activeldap/Manifest | 13 | ||||
-rw-r--r-- | dev-ruby/ruby-activeldap/ruby-activeldap-1.2.2-r1.ebuild | 57 |
3 files changed, 76 insertions, 2 deletions
diff --git a/dev-ruby/ruby-activeldap/ChangeLog b/dev-ruby/ruby-activeldap/ChangeLog index 53fabb496d25..2eca00e672ff 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog,v 1.27 2011/01/10 17:55:12 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-activeldap/ChangeLog,v 1.28 2011/03/13 19:10:24 graaff Exp $ + +*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: diff --git a/dev-ruby/ruby-activeldap/Manifest b/dev-ruby/ruby-activeldap/Manifest index adf68d578707..539d139014b1 100644 --- a/dev-ruby/ruby-activeldap/Manifest +++ b/dev-ruby/ruby-activeldap/Manifest @@ -1,6 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST activeldap-1.2.1.gem 875520 RMD160 4268a06b2f5c8c9f24720b5874164566747dd25e SHA1 2d934833a29f56b2bf90f82fc1a17179242aff2a SHA256 4536768610b8fd7fbebc8435ae5455e52557aeb624d3ae64717b155856c480c3 DIST activeldap-1.2.2.gem 1084928 RMD160 b95034065de3a1ab29a6bf706c19d1e91abd55d4 SHA1 5cdf8aa8be952a45c3b68c5338447231dc2184e2 SHA256 85b7ebad03239d10dd4f0412eec9a2bfe830144e1b2625fefd33494ac7296954 EBUILD ruby-activeldap-1.2.1.ebuild 725 RMD160 d64951e31689e88b6abeb9d357be4fe23f41473c SHA1 b293af6408c305e3586fd2141c80a88ee4a1ea1a SHA256 94e2e44aed8311c9d93bf2aabac448a6b6704ee3eb52ecd79498700f000e0f3c +EBUILD ruby-activeldap-1.2.2-r1.ebuild 1611 RMD160 cc80bd39bd139ad0c467aa106346b033da92a891 SHA1 540f875a7fd866f7d2e71db1af0e2e372e9b210c SHA256 73e3529d696449a2a1db09fb363c0008ff7282675ecfc9ddba0481359ede9cd0 EBUILD ruby-activeldap-1.2.2.ebuild 1519 RMD160 08c0c321eb08f51f9a653678b346c01f95029e9b SHA1 bf15239c125ab618638df84782ac8449a70333ee SHA256 1a2993af6a4edfe4d1b775d84126b27ce49f756a5ba29c323d1878c4c4e294a2 -MISC ChangeLog 3933 RMD160 e49063388d193b84841fae58f50e9572db85931b SHA1 5c4199463299987cb00181244cf2116d5fc1b0c0 SHA256 a9c7aa904e4d51536e3d66440e498b71e3d006c6e1c3c415040add36494eee9b +MISC ChangeLog 4119 RMD160 59671a0d70ca5465a035424abd1933e5774db2cb SHA1 97b19e260b24cc89005faeb1e28a3ad268de0c82 SHA256 5f24278d6245ca39231440781d2bc3f09fdb8f44192a70eba3e67d620e197c3b MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk19Fq0ACgkQrnu0mw69JkrncAD9EXjVV+HOi2lck7k02HvSHsqR +6/KwE7dGyCtAeLKcv+QA+wXYeaW/OuRpRApB7HkkY+RKbgslHM1BlaOg/FamGH2/ +=Kqkf +-----END PGP SIGNATURE----- diff --git a/dev-ruby/ruby-activeldap/ruby-activeldap-1.2.2-r1.ebuild b/dev-ruby/ruby-activeldap/ruby-activeldap-1.2.2-r1.ebuild new file mode 100644 index 000000000000..89e0ec084741 --- /dev/null +++ b/dev-ruby/ruby-activeldap/ruby-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/ruby-activeldap/ruby-activeldap-1.2.2-r1.ebuild,v 1.1 2011/03/13 19:10:24 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" +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 ~ia64 ~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 +} |