diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-07-06 09:48:47 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-07-06 09:48:47 +0000 |
commit | 1152bf205b3ea905a220e5fdb1d279e7d6a1d0a2 (patch) | |
tree | acb9f48d549a710122f749067ba1e482eec79ab7 /dev-ruby/mongoid | |
parent | Relax kramdown test dependency. (diff) | |
download | gentoo-2-1152bf205b3ea905a220e5fdb1d279e7d6a1d0a2.tar.gz gentoo-2-1152bf205b3ea905a220e5fdb1d279e7d6a1d0a2.tar.bz2 gentoo-2-1152bf205b3ea905a220e5fdb1d279e7d6a1d0a2.zip |
Remove old.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/mongoid')
-rw-r--r-- | dev-ruby/mongoid/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/mongoid/files/mongoid-2.4.5-gentoo.patch | 31 | ||||
-rw-r--r-- | dev-ruby/mongoid/mongoid-2.4.10.ebuild | 77 | ||||
-rw-r--r-- | dev-ruby/mongoid/mongoid-2.4.9.ebuild | 77 |
4 files changed, 6 insertions, 186 deletions
diff --git a/dev-ruby/mongoid/ChangeLog b/dev-ruby/mongoid/ChangeLog index 312a3c821880..dfd3206453d3 100644 --- a/dev-ruby/mongoid/ChangeLog +++ b/dev-ruby/mongoid/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/mongoid # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongoid/ChangeLog,v 1.15 2015/06/07 18:42:07 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongoid/ChangeLog,v 1.16 2015/07/06 09:48:47 mrueg Exp $ + + 06 Jul 2015; Manuel Rüger <mrueg@gentoo.org> + -files/mongoid-2.4.5-gentoo.patch, -mongoid-2.4.10.ebuild, + -mongoid-2.4.9.ebuild: + Remove old. 07 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml: Add github to remote-id in metadata.xml diff --git a/dev-ruby/mongoid/files/mongoid-2.4.5-gentoo.patch b/dev-ruby/mongoid/files/mongoid-2.4.5-gentoo.patch deleted file mode 100644 index 96b067815e3a..000000000000 --- a/dev-ruby/mongoid/files/mongoid-2.4.5-gentoo.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 78742c815c15a2fd839705e9cd832479a5729f3b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu> -Date: Mon, 23 Jan 2012 02:10:41 +0100 -Subject: [PATCH] Add one missing replacement of localhost vs envvar -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - - -Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> ---- - .../mongoid/config/replset_database_spec.rb | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/spec/functional/mongoid/config/replset_database_spec.rb b/spec/functional/mongoid/config/replset_database_spec.rb -index 6f24971..e295422 100644 ---- a/spec/functional/mongoid/config/replset_database_spec.rb -+++ b/spec/functional/mongoid/config/replset_database_spec.rb -@@ -32,7 +32,8 @@ describe Mongoid::Config::ReplsetDatabase do - - it "does not modify the options in place" do - options["test"]["hosts"].should eq( -- [["localhost", 27017], ["localhost", 27017]] -+ [[ENV["MONGOID_SPEC_HOST"], ENV["MONGOID_SPEC_PORT"].to_i], -+ [ENV["MONGOID_SPEC_HOST"], ENV["MONGOID_SPEC_PORT"].to_i]] - ) - end - end --- -1.7.8.4 - diff --git a/dev-ruby/mongoid/mongoid-2.4.10.ebuild b/dev-ruby/mongoid/mongoid-2.4.10.ebuild deleted file mode 100644 index 7eb6f69f7a07..000000000000 --- a/dev-ruby/mongoid/mongoid-2.4.10.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongoid/mongoid-2.4.10.ebuild,v 1.2 2014/05/26 05:30:14 mrueg Exp $ - -EAPI=4 -USE_RUBY="ruby19" - -#RUBY_FAKEGEM_TASK_DOC="" -# functional testing crashes Ruby from within Portage, but works -# outside of it, needs to be investigated thoroughly, but at least -# unit testing works. -RUBY_FAKEGEM_TASK_TEST="spec:unit spec:functional" - -RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -GITHUB_USER="${PN}" -GITHUB_PROJECT="${PN}" -RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*" - -inherit ruby-fakegem - -DESCRIPTION="ODM (Object Document Mapper) Framework for MongoDB" -HOMEPAGE="http://mongoid.org/" -SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/v${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz" -LICENSE="MIT" - -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -ruby_add_rdepend " - >=dev-ruby/activemodel-3.1 - >=dev-ruby/mongo-1.6 - >=dev-ruby/tzinfo-0.3.22 -" - -ruby_add_bdepend " - test? ( - dev-ruby/ammeter - dev-ruby/mocha - dev-ruby/rdoc - dev-ruby/rspec - dev-util/watchr - )" - -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" -} diff --git a/dev-ruby/mongoid/mongoid-2.4.9.ebuild b/dev-ruby/mongoid/mongoid-2.4.9.ebuild deleted file mode 100644 index 9f7b5173e764..000000000000 --- a/dev-ruby/mongoid/mongoid-2.4.9.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongoid/mongoid-2.4.9.ebuild,v 1.3 2014/05/26 05:30:14 mrueg Exp $ - -EAPI=4 -USE_RUBY="ruby19" - -#RUBY_FAKEGEM_TASK_DOC="" -# functional testing crashes Ruby from within Portage, but works -# outside of it, needs to be investigated thoroughly, but at least -# unit testing works. -RUBY_FAKEGEM_TASK_TEST="spec:unit spec:functional" - -RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -GITHUB_USER="${PN}" -GITHUB_PROJECT="${PN}" -RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*" - -inherit ruby-fakegem - -DESCRIPTION="ODM (Object Document Mapper) Framework for MongoDB" -HOMEPAGE="http://mongoid.org/" -SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/v${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz" -LICENSE="MIT" - -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -ruby_add_rdepend " - >=dev-ruby/activemodel-3.1 - >=dev-ruby/mongo-1.6 - >=dev-ruby/tzinfo-0.3.22 -" - -ruby_add_bdepend " - test? ( - dev-ruby/ammeter - dev-ruby/mocha - dev-ruby/rdoc - dev-ruby/rspec - dev-util/watchr - )" - -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" -} |