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 4F619138359 for ; Sun, 6 Sep 2020 06:48:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51C64E0992; Sun, 6 Sep 2020 06:48:47 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 366CFE0992 for ; Sun, 6 Sep 2020 06:48:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 08B57340D74 for ; Sun, 6 Sep 2020 06:48:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 85EB9339 for ; Sun, 6 Sep 2020 06:48:44 +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: <1599374909.610ec333ea3946e179b886bc6ac372f1f213ed22.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.10.0.ebuild X-VCS-Directories: dev-ruby/bson/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 610ec333ea3946e179b886bc6ac372f1f213ed22 X-VCS-Branch: master Date: Sun, 6 Sep 2020 06:48:44 +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: 3ae14605-3b03-45f0-8d53-4fcfb1c4fd1b X-Archives-Hash: 892e1f54b79e8d7f3006adba0d42afcd commit: 610ec333ea3946e179b886bc6ac372f1f213ed22 Author: Hans de Graaff gentoo org> AuthorDate: Sun Sep 6 05:58:57 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Sep 6 06:48:29 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=610ec333 dev-ruby/bson: add 4.10.0 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/bson/Manifest | 1 + dev-ruby/bson/bson-4.10.0.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest index 2ad092c8d4c..fc8ad82cb81 100644 --- a/dev-ruby/bson/Manifest +++ b/dev-ruby/bson/Manifest @@ -1,3 +1,4 @@ +DIST bson-4.10.0.tar.gz 158673 BLAKE2B 64a2d608a7b5c048a646e15839be9a77b1203067b018b4cd25174a38c71aa9c7ccc8f95525d1656c76f725ca5b4162e2ce408603a97bbeb51798d4ac0f316bf7 SHA512 8ba561f602e81260ec929271d1275a8393c212948b737b3662ba36e1af0ca9f48904e5497d359ed49b323875b54fac4edf6ed2afdde2505aff7e702192d78f5d DIST bson-4.7.1.tar.gz 120690 BLAKE2B fbb6eeca2b339eaa80503294cefd1c97abb9f992ce1068bbf64a6ffa9239fabb6df4c982c90ab3522362c5bbe55bbaf479023a2f5f2e24ffb86a1dd8fae80db3 SHA512 75026ab81abf5f629200b008a3a8da38a594751c43335eb0c8e29bc94848d2dfce9479419de136b8176dde5d2cc9e66ceb5a7d2b52cfacdb1813a1c63871fa95 DIST bson-4.8.2.tar.gz 153029 BLAKE2B bc058d06afecdfcaa029e525f8122bd4e647a432934cd2b7594721920e9f0b1d727a48fcf44ec14d2206a699ea6c24c872b46e821548a99ea66f9c7ce0600d98 SHA512 48b4fc7278cb8e0623acf42241ca3169a98f3a7f754c8af8f94b9046540843d22acafe18db4ba804636f3356dfe79d6c6843004ee980c327726851c28315776d DIST bson-4.9.2.tar.gz 155910 BLAKE2B 6c2b8356803f2b6975d5ea84ebf59815cb101eb0394c9fedc34d9e9405f20bc4d4691eb9e5167dfdc7cebad95121e752473d6f244ba4ead8d0c454e4f4f694e1 SHA512 d2619eb18e19b3686ad1c14ebbaebd6a08c8b87295c16091472d7a90e680530c146e95df77efb07a2d8248ebf8eefc0f3afdde38bbd8a814ca26fce2ab470baf diff --git a/dev-ruby/bson/bson-4.10.0.ebuild b/dev-ruby/bson/bson-4.10.0.ebuild new file mode 100644 index 00000000000..197700a3e46 --- /dev/null +++ b/dev-ruby/bson/bson-4.10.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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 +}