Initial import of ebuild for mongo driver.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Wed, 28 Dec 2011 23:56:06 +0000 (23:56 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Wed, 28 Dec 2011 23:56:06 +0000 (23:56 +0000)
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64

dev-ruby/mongo/ChangeLog [new file with mode: 0644]
dev-ruby/mongo/Manifest [new file with mode: 0644]
dev-ruby/mongo/metadata.xml [new file with mode: 0644]
dev-ruby/mongo/mongo-1.5.2.ebuild [new file with mode: 0644]

diff --git a/dev-ruby/mongo/ChangeLog b/dev-ruby/mongo/ChangeLog
new file mode 100644 (file)
index 0000000..a8d1daa
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/mongo
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongo/ChangeLog,v 1.1 2011/12/28 23:56:06 flameeyes Exp $
+
+*mongo-1.5.2 (28 Dec 2011)
+
+  28 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org> +metadata.xml,
+  +mongo-1.5.2.ebuild:
+  Initial import of ebuild for mongo driver.
+
diff --git a/dev-ruby/mongo/Manifest b/dev-ruby/mongo/Manifest
new file mode 100644 (file)
index 0000000..b827078
--- /dev/null
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST mongo-ruby-driver-1.5.2.tar.gz 13678997 RMD160 be3180912612db60166afc14ecbb98a13b822d76 SHA1 2c482b4af547b0a5ed307442fc07bfc8e50db324 SHA256 1dd103bf29d56471482ee02e88bf908996e6b27e6fe0fbdd6c0a9fbfa57efbc3
+EBUILD mongo-1.5.2.ebuild 1113 RMD160 39a74bcd4c26b735e1f8220ee84b5953800cdbb7 SHA1 3a3749e72f205c0724fbb7cead035e57d3295c08 SHA256 ddafffe220b5d0df896ff5d479add903351f11e376ab97fbb1fc4d3cb314fe30
+MISC ChangeLog 372 RMD160 baddf12f303561f69c47ea7ea3de5f32ea88f617 SHA1 4050b0ecf610318f866265ec05c13b6cfc347796 SHA256 524bfd04b88974e5565a8ab017d6da0587a0281caae067507f2e1ac01cf96071
+MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEARECAAYFAk77rF0ACgkQAiZjviIA2XhepQCg1hC5q32dIEvg0pcRbXG6FZdB
+FHwAoKClnCMgPwY8pCyBMTLHTvhniFzY
+=5gQJ
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/mongo/metadata.xml b/dev-ruby/mongo/metadata.xml
new file mode 100644 (file)
index 0000000..8521361
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/mongo/mongo-1.5.2.ebuild b/dev-ruby/mongo/mongo-1.5.2.ebuild
new file mode 100644 (file)
index 0000000..309654c
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongo/mongo-1.5.2.ebuild,v 1.1 2011/12/28 23:56:06 flameeyes Exp $
+
+EAPI=4
+
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_TASK_TEST="test:unit"
+
+RUBY_FAKEGEM_TASK_DOC="rdoc"
+RUBY_FAKEGEM_DOCDIR="html"
+RUBY_FAKEGEM_EXTRADOC=""
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+GITHUB_USER="mongodb"
+GITHUB_PROJECT="mongo-ruby-driver"
+RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby driver for MongoDB."
+HOMEPAGE="http://www.mongodb.org/"
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz"
+
+LICENSE="APSL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+# This is the same source package as bson, so keep them the same
+# version, but not revision
+ruby_add_rdepend "~dev-ruby/bson-${PV}"
+
+ruby_add_bdepend \
+       "test? (
+               dev-ruby/rake
+               dev-ruby/shoulda
+               dev-ruby/mocha
+       )"
+
+all_ruby_prepare() {
+       # remove the stuff that is actually part of dev-ruby/bson
+       rm -rf lib/bson* bin/{b2j,j2b}son
+}