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 2D85213835B for ; Sat, 13 Jun 2020 04:27:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 176DAE0DE8; Sat, 13 Jun 2020 04:27:49 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 E3C1FE0DE8 for ; Sat, 13 Jun 2020 04:27:48 +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 F0CCD34F123 for ; Sat, 13 Jun 2020 04:27:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BEFBB297 for ; Sat, 13 Jun 2020 04:27:43 +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: <1592022105.438566d28fff0072a266d32fd25f33065d748794.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.9.2.ebuild X-VCS-Directories: dev-ruby/bson/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 438566d28fff0072a266d32fd25f33065d748794 X-VCS-Branch: master Date: Sat, 13 Jun 2020 04:27:43 +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: b4d2613f-32d8-467d-9e77-e72343532c90 X-Archives-Hash: 70aa20fc8ad4337a501fb9a26b786b53 commit: 438566d28fff0072a266d32fd25f33065d748794 Author: Hans de Graaff gentoo org> AuthorDate: Sat Jun 13 04:21:45 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Jun 13 04:21:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438566d2 dev-ruby/bson: add 4.9.2 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/bson/Manifest | 1 + dev-ruby/bson/bson-4.9.2.ebuild | 43 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest index a2c3837722d..fce05131faa 100644 --- a/dev-ruby/bson/Manifest +++ b/dev-ruby/bson/Manifest @@ -1,2 +1,3 @@ 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.9.2.ebuild b/dev-ruby/bson/bson-4.9.2.ebuild new file mode 100644 index 00000000000..5e6f5007077 --- /dev/null +++ b/dev-ruby/bson/bson-4.9.2.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="ruby24 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 +}