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 3271B138334 for ; Thu, 26 Dec 2019 06:30:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B6DFE0AFA; Thu, 26 Dec 2019 06:30:51 +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 0C4B3E0AFA for ; Thu, 26 Dec 2019 06:30:51 +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 9C48634DB80 for ; Thu, 26 Dec 2019 06:30:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 259013C for ; Thu, 26 Dec 2019 06:30:47 +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: <1577341787.d6e6f256099f60dc59e6957bf114f615feebf501.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.7.0.ebuild X-VCS-Directories: dev-ruby/bson/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d6e6f256099f60dc59e6957bf114f615feebf501 X-VCS-Branch: master Date: Thu, 26 Dec 2019 06:30:47 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 925d9fee-dabb-4ac2-a357-8c643582f0fc X-Archives-Hash: 8d4f6202494759c6fcd484afd43e72b3 commit: d6e6f256099f60dc59e6957bf114f615feebf501 Author: Hans de Graaff gentoo org> AuthorDate: Thu Dec 26 06:29:47 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Dec 26 06:29:47 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6e6f256 dev-ruby/bson: add 4.7.0 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/bson/Manifest | 1 + dev-ruby/bson/bson-4.7.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest index f431e3b1cbb..07ad3314350 100644 --- a/dev-ruby/bson/Manifest +++ b/dev-ruby/bson/Manifest @@ -1,3 +1,4 @@ DIST bson-4.4.2.tar.gz 107429 BLAKE2B 94b3f694d79a3219a6e7b13f4dfa5935a1fec5ac99883918d61052786b2e033d8cd335013155b4b9069a730a3a87a0c0ec00b8b5ee5b89bb8c357909e8f67fe4 SHA512 a27a82fab17f596df986a3c81f1e73146a8d283bb16e8a7dba1921215e8f0e863b6996dbc107ede44546e750e4b19cc2dd934d290e25712472efd6cc075b9984 DIST bson-4.5.0.tar.gz 107547 BLAKE2B fddbb84ee74c3b6bb50a79141e583b300deeaa85b7b39b4e26985fa1cd0c741813eb4b3192fffe97d8bb238430087e4726004e8d3c50d39f17f8b270b8635dc4 SHA512 093a4906961d765bdd49febbe9c3123a34d3f80adc5e1309abb2b5fc1380bff37c9d8df475bfb29fc9359cf440813e716ff359e461f5e7f6d5e1e02009bc24bd DIST bson-4.6.0.tar.gz 115899 BLAKE2B cae63b799cba6a464988937b26bc47533e8ca5089c3a1f5e4bc8cf01e11eaa1f5bd82b79f144b2bafd7cae8478743c3ccedfe8c839ff45db907c77b5e1c6d1a4 SHA512 9661b394d6d45caef7d10df439ca5a65869fa4dcde49158f818e7c2764a31976c615bacf09a09a8bcf2bab2e2d78a64be1a7fdad68e796facd071f972b1f5635 +DIST bson-4.7.0.tar.gz 120354 BLAKE2B 8399eb5c3658ed23b6aaac93144c7b1047143b3bc0f1a4610a2ce168a350f04d814f1929a3fcc6efdfcb453abfc54199091c8fbb034a837aab065e7c9814ab70 SHA512 34289260f37e0c72de26219ada8843a44044f61316217c2a4157187bd2d5e871e1578415c09107c65d78496ad388985dfbdc8dec562d3e3aace2bf4bef7ab6fb diff --git a/dev-ruby/bson/bson-4.7.0.ebuild b/dev-ruby/bson/bson-4.7.0.ebuild new file mode 100644 index 00000000000..1a5d0fd00b1 --- /dev/null +++ b/dev-ruby/bson/bson-4.7.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +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="https://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 +}