From f70354028b76abbd561305c93536947f62283a97 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 6 Sep 2015 08:01:14 +0200 Subject: [PATCH] dev-ruby/bson: version bump Package-Manager: portage-2.2.20.1 --- dev-ruby/bson/Manifest | 1 + dev-ruby/bson/bson-3.2.4.ebuild | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-ruby/bson/bson-3.2.4.ebuild diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest index e4ad23c17f63..47cfccabb54f 100644 --- a/dev-ruby/bson/Manifest +++ b/dev-ruby/bson/Manifest @@ -1,4 +1,5 @@ DIST bson-3.0.4.tar.gz 49517 SHA256 10a34e681804abfde9a2c047d9fa4554e40aef28f0a7114b88f7324215041de4 SHA512 8a57ff6706af44ef22841fdd33cd8c9d2ea4fd94dfde9f4fe94fdb08d95d3249b96939866459294c8258d99f37ff3e0ab8ac16b53fad1db6ddb26506135a4008 WHIRLPOOL 07f81925049e23c5f8f75e08b3eb4594e0df4a890bc864674d19a3a291eca8a58f121b3d045d14c44f454753dc3d0be425ff140d3d0eb72bc2cd8a61734d08d8 DIST bson-3.2.0.tar.gz 50495 SHA256 a452bf4f77548697f36659413fa2c106e592d29b8259c285262a1db5c1ffae06 SHA512 258cd31e390cafb12b93d326686e2a08e55da44b458a68cbf5ce8ebc51a477844934a346a77914a9baf1004ca465b45d7399e7daab74b2b9e7389b7c23cbf777 WHIRLPOOL d8c192343dcabbf162d16dd4f19612ddeb43cdabe8e13559014db2ca2d7dda2c5df759631fba7f0f4ed7b5e2d76e7327dc4a46d695a792afbc84aaaf8f6b4489 DIST bson-3.2.1.tar.gz 50640 SHA256 8e81a04bd433bd82fd558b1ef58b35a53448eb6dc9c85a808238b0d21dfa71d4 SHA512 c5565965615036608b87895d40d62b42193eb7ba31f168051222595f9095627157606ba8ba7966ed349ec05005645320ce10cc510e1fa47368f907368734fb0a WHIRLPOOL 1e1007132aeb99655f1af49de0696ba104d1ac9d63c09b3136e5e523318acb36c568fe813ecbd663212a109bd94486fda1074f12fd18b3336e600b239252a4e4 +DIST bson-3.2.4.tar.gz 51208 SHA256 adcc339e4618fbd9bc8dc91677971118834adfd19bf6ae783d79308f2fb446b2 SHA512 d7817d5ec068895e4a883921dc8495aa9d44401b7a66c77f29b71434428efaf417f1219ebbb1bd7065a8beebba41c0c461e7b9f5376bc9259ada695f6eb97715 WHIRLPOOL 670239430ec0ccfe01a4a50d843fbc871faea06b0d5cf7db4cf53d32ec7a6dcca7ef06497589d1e0f4ee8e20e451bff33b7d0bcfea298b71dead22716f07eab2 DIST mongo-ruby-driver-1.12.0.tar.gz 360669 SHA256 84c87d26601c9bd91a6604bcb3630be50d239e471542f9b0a68379705dd03e11 SHA512 725110c527867379def85fde50b6825e94a320356f062e4403d9d55c223f2503676f83ae42916d6ab45afd90d30b2a4272519e070c4af2095c0965297fd72bb6 WHIRLPOOL c152aa579a0535707909560cc73fc878521aac95c034ec71bca6c2397754b5e057c1e7ca32f6b2b3393ce975f122e65926820cdde29aa5f5734fb9717bd980e0 diff --git a/dev-ruby/bson/bson-3.2.4.ebuild b/dev-ruby/bson/bson-3.2.4.ebuild new file mode 100644 index 000000000000..0627cb8ec76c --- /dev/null +++ b/dev-ruby/bson/bson-3.2.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +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="3" +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 +} -- 2.26.2