diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-06-21 13:28:39 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-06-21 13:28:39 +0000 |
commit | cbc4104473e2ad4f8661e7fc01f3d67adef20f94 (patch) | |
tree | b52eaaf497ba4034577e72b47c3b58fc7b0b0aca /dev-ruby/origin | |
parent | eapi=4; vdr-plugin-2.eclass; gcc-4.7 compile fix on #421961 (diff) | |
download | gentoo-2-cbc4104473e2ad4f8661e7fc01f3d67adef20f94.tar.gz gentoo-2-cbc4104473e2ad4f8661e7fc01f3d67adef20f94.tar.bz2 gentoo-2-cbc4104473e2ad4f8661e7fc01f3d67adef20f94.zip |
Remove mongodb usage (not needed for this package).
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/origin')
-rw-r--r-- | dev-ruby/origin/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/origin/origin-1.0.1.ebuild | 25 |
2 files changed, 5 insertions, 25 deletions
diff --git a/dev-ruby/origin/ChangeLog b/dev-ruby/origin/ChangeLog index efe4440145ab..7e02cdd52349 100644 --- a/dev-ruby/origin/ChangeLog +++ b/dev-ruby/origin/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/origin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/origin/ChangeLog,v 1.1 2012/06/21 12:43:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/origin/ChangeLog,v 1.2 2012/06/21 13:28:39 flameeyes Exp $ + + 21 Jun 2012; Diego E. Pettenò <flameeyes@gentoo.org> origin-1.0.1.ebuild: + Remove mongodb usage (not needed for this package). *origin-1.0.1 (21 Jun 2012) diff --git a/dev-ruby/origin/origin-1.0.1.ebuild b/dev-ruby/origin/origin-1.0.1.ebuild index be4b5656a110..685c4c3b67d5 100644 --- a/dev-ruby/origin/origin-1.0.1.ebuild +++ b/dev-ruby/origin/origin-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/origin/origin-1.0.1.ebuild,v 1.1 2012/06/21 12:43:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/origin/origin-1.0.1.ebuild,v 1.2 2012/06/21 13:28:39 flameeyes Exp $ EAPI=4 @@ -39,33 +39,10 @@ ruby_add_bdepend " >=dev-ruby/tzinfo-0.3.22 )" -DEPEND+=" test? ( dev-db/mongodb )" - all_ruby_prepare() { # remove references to bundler, as the gemfile does not add anything # we need to care about. sed -i -e '/[bB]undler/d' Rakefile || die # remove the Gemfile as well or it'll try to load it during testing rm Gemfile || die - - #epatch "${FILESDIR}"/${PN}-2.4.5-gentoo.patch -} - -each_ruby_test() { - mkdir "${T}/mongodb_$(basename $RUBY)" - mongod --port 27017 --dbpath "${T}/mongodb_$(basename $RUBY)" \ - --noprealloc --noauth --nohttpinterface --nounixsocket --nojournal \ - --bind_ip 127.255.255.254 & - mongod_pid=$! - failed=0 - - sleep 2 - - export MONGOID_SPEC_HOST="127.255.255.254" - export MONGOID_SPEC_PORT="27017" - - ${RUBY} -S rake ${RUBY_FAKEGEM_TASK_TEST} || failed=1 - kill "${mongod_pid}" - - [[ "${failed}" == "1" ]] && die "tests failed" } |