public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/mongoid/, profiles/
@ 2016-08-07 18:34 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2016-08-07 18:34 UTC (permalink / raw
  To: gentoo-commits

commit:     7c5b1cb70f2fcf91df41858d84a74d59b46ec3bf
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  7 18:17:45 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug  7 18:34:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5b1cb7

dev-ruby/mongoid: Remove last-rited pkg

 dev-ruby/mongoid/Manifest             |  1 -
 dev-ruby/mongoid/metadata.xml         | 11 -----
 dev-ruby/mongoid/mongoid-2.8.1.ebuild | 81 -----------------------------------
 profiles/package.mask                 |  1 -
 4 files changed, 94 deletions(-)

diff --git a/dev-ruby/mongoid/Manifest b/dev-ruby/mongoid/Manifest
deleted file mode 100644
index 85dc7c5..0000000
--- a/dev-ruby/mongoid/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mongoid-2.8.1.tar.gz 367336 SHA256 76289084e680fe4ba476112eadda9dac0212a28e169023e84788db8a56494305 SHA512 cdd7e92722a5451c8d9ef0a21b7176446f9d6f41f42f62e0f91006feb6217a4a5c3bf2b193ee57d196aef2a61dc13b50cd76c35da295140abc4a7136d02eda81 WHIRLPOOL b4bc238ef853b1bc8dd42169f1075bd75f6f10fbe02c41aedf93901cb66d79527d6815c8934da2738f8f82ff24081995f6487fc4959888b25014f25509110dd6

diff --git a/dev-ruby/mongoid/metadata.xml b/dev-ruby/mongoid/metadata.xml
deleted file mode 100644
index aab09e3..0000000
--- a/dev-ruby/mongoid/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <maintainer type="project">
-    <email>ruby@gentoo.org</email>
-    <name>Gentoo Ruby Project</name>
-  </maintainer>
-  <upstream>
-    <remote-id type="github">mongoid/mongoid</remote-id>
-  </upstream>
-</pkgmetadata>

diff --git a/dev-ruby/mongoid/mongoid-2.8.1.ebuild b/dev-ruby/mongoid/mongoid-2.8.1.ebuild
deleted file mode 100644
index 32e9722..0000000
--- a/dev-ruby/mongoid/mongoid-2.8.1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby20 ruby21"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-# 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_RECIPE_TEST="rspec"
-
-RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
-
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
-
-GITHUB_USER="${PN}"
-GITHUB_PROJECT="${PN}"
-
-inherit ruby-fakegem
-
-DESCRIPTION="ODM (Object Document Mapper) Framework for MongoDB"
-HOMEPAGE="http://two.mongoid.org/"
-SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz"
-LICENSE="MIT"
-
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-
-ruby_add_rdepend "
-	>=dev-ruby/activemodel-3.1 =dev-ruby/activemodel-3*
-	>=dev-ruby/mongo-1.9:0
-	>=dev-ruby/tzinfo-0.3.22:0
-"
-
-ruby_add_bdepend "
-	test? (
-		dev-ruby/bundler
-		dev-ruby/ammeter
-		dev-ruby/mocha:0.11
-		dev-ruby/rdoc
-		dev-ruby/rspec
-		dev-util/watchr
-	)"
-
-DEPEND+=" test? ( dev-db/mongodb )"
-
-all_ruby_prepare() {
-	# Remove unsupported development dependencies and fix versions.
-	sed -i -e '/\(guard-rspec\|rb-fsevent\)/ s:^:#:' \
-		-e '/mocha/ s/= 0.11/~> 0.11.0/' mongoid.gemspec || die
-
-	# Avoid specs tied to localhost
-	rm spec/functional/mongoid/config/{database,replset_database}_spec.rb || die
-
-	# Avoid some failing specs that should be investigated later
-	sed -i -e '/sets the capped size/,/end/ s:^:#:' spec/functional/mongoid/collection_spec.rb || die
-	sed -i -e '/.from_hash/,/^  end/ s:^:#:' spec/functional/mongoid/config_spec.rb || die
-	rm spec/functional/mongoid/persistence_spec.rb || die
-}
-
-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 bundle exec rspec-2 --format progress spec || failed=1
-	kill "${mongod_pid}"
-
-	[[ "${failed}" == "1" ]] && die "tests failed"
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 3fe0cee..9be16cd 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -230,7 +230,6 @@ dev-ruby/activeresource:3.2
 dev-ruby/activemodel:3.2
 dev-ruby/activesupport:3.2
 dev-ruby/coffee-rails:3.2
-dev-ruby/mongoid
 
 # Aaron Bauman <bman@gentoo.org> (30 Jun 2016)
 # Unpatched security vulnerability per bug #509920


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-07 18:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-07 18:34 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/mongoid/, profiles/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox