From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B47CE139695 for ; Mon, 17 Jul 2017 06:21:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBB041FC00B; Mon, 17 Jul 2017 06:21:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AFC071FC009 for ; Mon, 17 Jul 2017 06:21:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E1A3341B13 for ; Mon, 17 Jul 2017 06:21:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6932D74B3 for ; Mon, 17 Jul 2017 06:21:14 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1500272447.d88f972ad2687860884af19916884406a21a171c.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/bson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/bson/Manifest dev-ruby/bson/bson-4.2.2.ebuild X-VCS-Directories: dev-ruby/bson/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d88f972ad2687860884af19916884406a21a171c X-VCS-Branch: master Date: Mon, 17 Jul 2017 06:21:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 97562aeb-f91c-4fdd-aa14-db352ceb0cde X-Archives-Hash: e93c9caaaa9c71ec1eea2f6b7e5d44e2 commit: d88f972ad2687860884af19916884406a21a171c Author: Hans de Graaff gentoo org> AuthorDate: Mon Jul 17 04:29:08 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Jul 17 06:20:47 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d88f972a dev-ruby/bson: add 4.2.2 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ruby/bson/Manifest | 1 + dev-ruby/bson/bson-4.2.2.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest index eb7863f7447..5129cda0bd7 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 00000000000..115c776b44f --- /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 +}