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 494A2139085 for ; Mon, 19 Dec 2016 06:48:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D2B6E0D02; Mon, 19 Dec 2016 06:48:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 63038E0D02 for ; Mon, 19 Dec 2016 06:48:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C280340E7B for ; Mon, 19 Dec 2016 06:48:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26E8E1F2F for ; Mon, 19 Dec 2016 06:48:11 +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: <1482130083.d20ac3b48f295bcdf9870e373ce6edd850c0645b.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.0.ebuild X-VCS-Directories: dev-ruby/bson/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d20ac3b48f295bcdf9870e373ce6edd850c0645b X-VCS-Branch: master Date: Mon, 19 Dec 2016 06:48:11 +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: af5a43e5-006d-4729-9186-c6999955ec64 X-Archives-Hash: 9dbb958072a5258165422943e44fad94 commit: d20ac3b48f295bcdf9870e373ce6edd850c0645b Author: Hans de Graaff gentoo org> AuthorDate: Mon Dec 19 06:28:55 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Dec 19 06:48:03 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d20ac3b4 dev-ruby/bson: add 4.2.0 Package-Manager: portage-2.3.0 dev-ruby/bson/Manifest | 1 + dev-ruby/bson/bson-4.2.0.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest index 07ce404..13ab70d 100644 --- a/dev-ruby/bson/Manifest +++ b/dev-ruby/bson/Manifest @@ -1,2 +1,3 @@ DIST bson-3.2.6.tar.gz 51846 SHA256 b7d848b93de622c32cc65cf6debf21aaa0e66d554d65cc7805dc8f76e56c55fb SHA512 da8d7c4e50bd5387a50f0ef471f1d854e0a1bf3f109bb793b16c8e4d110f6b98cb37aee126176eccb097c5d7814360ef85e96be4aa4704226a8490984a5dd3f2 WHIRLPOOL ece0e17aca10f684cdbea703702b5f886340fe93ede11045430c7711f2d546c5e2558003261d8252a29a55fc999664be0315f0ac693d02181a9dcf006d44a3c6 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 diff --git a/dev-ruby/bson/bson-4.2.0.ebuild b/dev-ruby/bson/bson-4.2.0.ebuild new file mode 100644 index 00000000..d7874ba --- /dev/null +++ b/dev-ruby/bson/bson-4.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +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 +}