summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-07-17 06:29:08 +0200
committerHans de Graaff <graaff@gentoo.org>2017-07-17 08:20:47 +0200
commitd88f972ad2687860884af19916884406a21a171c (patch)
tree3406e65bb4fcc7b3af870e436dba703d57f179d2 /dev-ruby/bson
parentgames-engines/renpy: remove old (diff)
downloadgentoo-d88f972ad2687860884af19916884406a21a171c.tar.gz
gentoo-d88f972ad2687860884af19916884406a21a171c.tar.bz2
gentoo-d88f972ad2687860884af19916884406a21a171c.zip
dev-ruby/bson: add 4.2.2
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/bson')
-rw-r--r--dev-ruby/bson/Manifest1
-rw-r--r--dev-ruby/bson/bson-4.2.2.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest
index eb7863f74478..5129cda0bd79 100644
--- a/dev-ruby/bson/Manifest
+++ b/dev-ruby/bson/Manifest
@@ -2,3 +2,4 @@ DIST bson-3.2.6.tar.gz 51846 SHA256 b7d848b93de622c32cc65cf6debf21aaa0e66d554d65
DIST bson-4.1.1.tar.gz 55417 SHA256 965d0da14886e795230686168676784c74117c705b262ee468205c0066166f64 SHA512 b98b568fe0a94e6430433a9bb57930c0a95c9b268d928a6fabb1ce6bd4343406e700de11db531f6a49bc270e449637c70ce0ad0a8f7f6cae7857f0ad627f1956 WHIRLPOOL b7f0735cb0d3e49d257f805398368e397a70f87dd38460ce04064ca34fc0f9b60f6e776403955be0e2db9360b94bb0b09f48d5c3e7036a10d8393b715c455b41
DIST bson-4.2.0.tar.gz 91564 SHA256 dcd58eeb3e1ad9c88a8c899bd349a1da55e4295bc650d81b57d7da21962bd140 SHA512 890f6432545d807a678cf160068cf0ebb2287b78789d9bdb07b710b8baa056b2074c7d09c0e56612e40410ea217f63d3074cb28d9a4fada7916ff04f1900dc1d WHIRLPOOL d6f651da5703d06ea052524abe50fd6d4b5fb618a0685e796bf41903a8e9587ed1a3746fbe8d931385c8933ebcfed81804660765d1c3804964103159dd93e00f
DIST bson-4.2.1.tar.gz 91862 SHA256 8e915fc558b846197322af6f6a8af4ef2f570fb0e158d7df5e7af75d971c9bef SHA512 19ae538674d97b548c7b46e5cf8f3a971ebce8e3cfe3f1b1866527ed05a7b9599eeb637d126fcae8384606881ba88b513e166d299c90d61d6796053fe66fd51f WHIRLPOOL bb76c76b15095167456a23133932f37f7c9659f672c0d3f5e625bc434803b6fd685de4a898fb3ef764c0f3bd91eea784bbd5b4cbd87e00a570a3e52c330308c0
+DIST bson-4.2.2.tar.gz 96725 SHA256 a6cf2d9bfef65195e0a73c5bf5bd05bb04fcf613ec2e8284b756bd3b0d78ec27 SHA512 4de8950271f5fdd5927eda290b6506248012cb8a932d65773ad53f1e3e4c67ea17575b559447d5eb6c9286f672439879dbc89aa0cded4ec2d0fa35c49da7a574 WHIRLPOOL b6fc593ce2c915bf533a0f2417fdf5bb89dc124c8855ebd0effe0b134f55d737699551510cdea8353328aba4b1fe1208261ce20a4941bbc70830b9e355e6624d
diff --git a/dev-ruby/bson/bson-4.2.2.ebuild b/dev-ruby/bson/bson-4.2.2.ebuild
new file mode 100644
index 000000000000..115c776b44fb
--- /dev/null
+++ b/dev-ruby/bson/bson-4.2.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+GITHUB_USER="mongodb"
+GITHUB_PROJECT="bson-ruby"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)"
+HOMEPAGE="http://www.mongodb.org/"
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="bson-ruby-${PV}"
+
+LICENSE="APSL-2"
+SLOT="4"
+KEYWORDS="~amd64"
+IUSE="test doc"
+
+all_ruby_prepare() {
+ # Remove bundler support
+ sed -i -e '/bundler/I s:^:#:' Rakefile || die
+
+ # Remove project-specific rspec options
+ rm .rspec || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -C ext/bson extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake -C ext/bson V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
+ cp ext/bson/*$(get_modname) lib/ || die
+}