summaryrefslogtreecommitdiff
path: root/dev-ruby/mongo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/mongo
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/mongo')
-rw-r--r--dev-ruby/mongo/Manifest5
-rw-r--r--dev-ruby/mongo/metadata.xml11
-rw-r--r--dev-ruby/mongo/mongo-2.0.6.ebuild58
3 files changed, 74 insertions, 0 deletions
diff --git a/dev-ruby/mongo/Manifest b/dev-ruby/mongo/Manifest
new file mode 100644
index 000000000000..80f72523f87c
--- /dev/null
+++ b/dev-ruby/mongo/Manifest
@@ -0,0 +1,5 @@
+DIST mongo-ruby-driver-2.0.6.tar.gz 173405 SHA256 212b3d4a83398ac0299323e9380c5d804d0691d1f8dfc7259aaf5b669943abb9 SHA512 25e5e63538f498b42a44665d725b04e8b7ee0fae4d3331d43b883e427fccdcf0de5a1151819ba04fb6520b5d20da02adf59f1c144176bc2a458142efd5ca7b95 WHIRLPOOL 030072734393abc20fe87e2f0798010ee0c256b5d8fab236171a1942fb737239a3719b5c3488075330616c959cfcacf0f9da6cf02646e29e8c9b7a6a03c0b9af
+EBUILD mongo-2.0.6.ebuild 1245 SHA256 1b56f633acc1d93204c8762fc81c803e472962358bd52c95cb0850eca0725ce9 SHA512 66d724a2c7e76de24bf677b6a5e4bfe52513a30a007ca1208970d092c9e4b02e0069a6488cb3acaf46eb4a1b80a4be90abe5ae05d3c85c656324ffd4cdecd115 WHIRLPOOL 278cba90e1df1cf1f0f907aa12a88c8fddce086f22e6c93a1906f13efcab61fd2bf36707eb9993ce38959c572e37dcdcd9c11a1327491688133a0fe583df8068
+MISC ChangeLog 2811 SHA256 2fee7fbb6ec9ee7bb429319fc1b804772bbc0d3f40b97790a6072aec1796b432 SHA512 f5b93e9396ee9a9dfbf698b8afa2652d173b4d00d141586c16e2fb834cc35f54ae26038e6b34001bcd3e474c91dfb5c543e1a79426d5216d05a5d53b3d8b5db9 WHIRLPOOL 25c8aabb12cc4cb6c947c06222e4313ff781d0c04469d5318ddef39ba7cf06f99f8b673414e7458f420a7d4ed29ff96dff2cecd06c2146e50703800f0bd27561
+MISC ChangeLog-2015 1639 SHA256 526036fd9770efb6c42e921ce22cd85d77f2a0cf4356d566170b8aca21e5e38a SHA512 f1fdacf6ce9853822111e5bbf98e0d76ac644086120e52540c89e21d1b6aa276db669f6719ce724e9647f031104742153868685795d46c3b49f0cabebe140943 WHIRLPOOL 024fc99fcceac78bbc14fbece9221aec9320658729d6558b01808c692c92e192be5ca345f5a328875408d32d94e6b2fcb9aba84559cfd4c12b1a400f9cc4a40a
+MISC metadata.xml 351 SHA256 a56cdf06cd3df0559f1fe19869426ecd1a94430d94572af6b39fdcb7cd94efda SHA512 ea3f9835f69f1e2a5eb00f30d215e26b7659664a8fa72138538c4c4dac48c87bacc9aa5575b0fa193a2bd9b862bd70a5348c986ed73aef97e2c95b4cff5c6c45 WHIRLPOOL c0b498211616c24487b56ada31a9f479f72b70b2e70c92763d3a3372a04b46fa7631b514316c9823055618a76225e9de22c85000ec7b54b60aeb15dfafb41ea4
diff --git a/dev-ruby/mongo/metadata.xml b/dev-ruby/mongo/metadata.xml
new file mode 100644
index 000000000000..5e9c8a35c627
--- /dev/null
+++ b/dev-ruby/mongo/metadata.xml
@@ -0,0 +1,11 @@
+<?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">mongodb/mongo-ruby-driver</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/mongo/mongo-2.0.6.ebuild b/dev-ruby/mongo/mongo-2.0.6.ebuild
new file mode 100644
index 000000000000..32f4923247ec
--- /dev/null
+++ b/dev-ruby/mongo/mongo-2.0.6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC=""
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+GITHUB_USER="mongodb"
+GITHUB_PROJECT="mongo-ruby-driver"
+RUBY_S="${GITHUB_PROJECT}-${PV}"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby driver for MongoDB"
+HOMEPAGE="http://www.mongodb.org/"
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz"
+
+LICENSE="APSL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_rdepend "dev-ruby/bson:3"
+
+DEPEND+=" test? ( dev-db/mongodb )"
+
+# Requires a running mongod
+RESTRICT="test"
+
+all_ruby_prepare() {
+ # Avoid test dependency on pry
+ sed -i -e '/\(pry\|coverall\)/I s:^:#:' \
+ -e '/simplecov/,/^ end/ s:^:#:' \
+ -e '/config.formatter/ s:^:#:' spec/spec_helper.rb || die
+
+ sed -i -e 's/localhost/127.0.0.1/' spec/mongo/*_spec.rb || die
+
+ rm -f .rspec || die
+}
+
+each_ruby_test() {
+ CI=true ruby-ng_rspec
+}
+
+each_ruby_install() {
+ # Remove bson code used for testing. This is installed as part of
+ # dev-ruby/bson.
+# rm -rf lib/bson* || die
+
+ each_fakegem_install
+}