summaryrefslogtreecommitdiff
path: root/dev-ruby/bson
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-ruby/bson
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-ruby/bson')
-rw-r--r--dev-ruby/bson/Manifest2
-rw-r--r--dev-ruby/bson/bson-4.9.4.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest
index 42b7f27f6f29..f8378cc04f83 100644
--- a/dev-ruby/bson/Manifest
+++ b/dev-ruby/bson/Manifest
@@ -1,7 +1,9 @@
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
+DIST bson-4.9.4.tar.gz 157187 BLAKE2B 58bc8293b53f19fb1f02a33b42845c935046c745222ac2474b055945e3d15dfee2be17dffc00faec976419ab51d6597414884520cb8de5a91470ea485b805b9d SHA512 0e1c2c14782d321df5056439dd9f2b2cfd61daa572a4921acb3d8afcf6c50ab679f4c06c82b8d40c0997876b9599cf609ddd77bf80c005028ad711f57d0a502c
EBUILD bson-4.7.1.ebuild 1045 BLAKE2B d61e6a4fdcedf00e7c0cdf3d5b413b27554ce811e159ffce722246d1533b6102d1f6f5d71376c02a2df22e7dcc738bb5a25b9d4d7ac99836a24cc6cf0ada4d8e SHA512 306775eac26eb7ca81fa58056b1196afcedd946feef319fbd59873cedf47770e11608c51f442e3af4dfb96f01ad462ef8d2804acb2e0f0d3721185f75be25e00
EBUILD bson-4.8.2.ebuild 1045 BLAKE2B d61e6a4fdcedf00e7c0cdf3d5b413b27554ce811e159ffce722246d1533b6102d1f6f5d71376c02a2df22e7dcc738bb5a25b9d4d7ac99836a24cc6cf0ada4d8e SHA512 306775eac26eb7ca81fa58056b1196afcedd946feef319fbd59873cedf47770e11608c51f442e3af4dfb96f01ad462ef8d2804acb2e0f0d3721185f75be25e00
EBUILD bson-4.9.2.ebuild 1045 BLAKE2B d61e6a4fdcedf00e7c0cdf3d5b413b27554ce811e159ffce722246d1533b6102d1f6f5d71376c02a2df22e7dcc738bb5a25b9d4d7ac99836a24cc6cf0ada4d8e SHA512 306775eac26eb7ca81fa58056b1196afcedd946feef319fbd59873cedf47770e11608c51f442e3af4dfb96f01ad462ef8d2804acb2e0f0d3721185f75be25e00
+EBUILD bson-4.9.4.ebuild 1038 BLAKE2B accc5d6edea1904509b244195b903d37ff08669898527c9ac11590ac81fbf2d20be4cd26bdf7a279504c212a020a5fdeaa3bd184d2e3ed363fb5e519d769cecd SHA512 2957bb12ae0ea456c6cc74d6e3514b0577ffdfcc902115b7275af67c43c669f6d3cd6a86df1d6eb552b620f897446b216ca778b65a24cad403a5bfdb96a58bae
MISC metadata.xml 343 BLAKE2B 45b4f3d9d5e86b9fee94d0b51c420d48c51b914adb49585c12519a81de40c555bc5ed48b03b751c7ab524464e46836a25d51f824c56cb03837f61ae071e1517b SHA512 a5fdde2808fc5c77be1a62a593215b8b619f53ffd8606e76db34a2eb2006deea409c64e85d6ba8a5b4089133265b6911188a9026c3698b44270ef8ce1f12967f
diff --git a/dev-ruby/bson/bson-4.9.4.ebuild b/dev-ruby/bson/bson-4.9.4.ebuild
new file mode 100644
index 000000000000..197700a3e462
--- /dev/null
+++ b/dev-ruby/bson/bson-4.9.4.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
+}