1 |
commit: e1bfd0ef4dbfafee77cc952109c46e137ef74439 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 2 05:01:23 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 2 05:01:23 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1bfd0ef |
7 |
|
8 |
dev-ruby/bson: add 4.6.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.16 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/bson/Manifest | 1 + |
14 |
dev-ruby/bson/bson-4.6.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest |
18 |
index 05507223c09..f431e3b1cbb 100644 |
19 |
--- a/dev-ruby/bson/Manifest |
20 |
+++ b/dev-ruby/bson/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST bson-4.4.2.tar.gz 107429 BLAKE2B 94b3f694d79a3219a6e7b13f4dfa5935a1fec5ac99883918d61052786b2e033d8cd335013155b4b9069a730a3a87a0c0ec00b8b5ee5b89bb8c357909e8f67fe4 SHA512 a27a82fab17f596df986a3c81f1e73146a8d283bb16e8a7dba1921215e8f0e863b6996dbc107ede44546e750e4b19cc2dd934d290e25712472efd6cc075b9984 |
23 |
DIST bson-4.5.0.tar.gz 107547 BLAKE2B fddbb84ee74c3b6bb50a79141e583b300deeaa85b7b39b4e26985fa1cd0c741813eb4b3192fffe97d8bb238430087e4726004e8d3c50d39f17f8b270b8635dc4 SHA512 093a4906961d765bdd49febbe9c3123a34d3f80adc5e1309abb2b5fc1380bff37c9d8df475bfb29fc9359cf440813e716ff359e461f5e7f6d5e1e02009bc24bd |
24 |
+DIST bson-4.6.0.tar.gz 115899 BLAKE2B cae63b799cba6a464988937b26bc47533e8ca5089c3a1f5e4bc8cf01e11eaa1f5bd82b79f144b2bafd7cae8478743c3ccedfe8c839ff45db907c77b5e1c6d1a4 SHA512 9661b394d6d45caef7d10df439ca5a65869fa4dcde49158f818e7c2764a31976c615bacf09a09a8bcf2bab2e2d78a64be1a7fdad68e796facd071f972b1f5635 |
25 |
|
26 |
diff --git a/dev-ruby/bson/bson-4.6.0.ebuild b/dev-ruby/bson/bson-4.6.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..1a5d0fd00b1 |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/bson/bson-4.6.0.ebuild |
31 |
@@ -0,0 +1,43 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+USE_RUBY="ruby24 ruby25 ruby26" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
39 |
+ |
40 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
41 |
+ |
42 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
43 |
+ |
44 |
+GITHUB_USER="mongodb" |
45 |
+GITHUB_PROJECT="bson-ruby" |
46 |
+ |
47 |
+inherit multilib ruby-fakegem |
48 |
+ |
49 |
+DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)" |
50 |
+HOMEPAGE="https://www.mongodb.org/" |
51 |
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
52 |
+RUBY_S="bson-ruby-${PV}" |
53 |
+ |
54 |
+LICENSE="APSL-2" |
55 |
+SLOT="4" |
56 |
+KEYWORDS="~amd64" |
57 |
+IUSE="test doc" |
58 |
+ |
59 |
+all_ruby_prepare() { |
60 |
+ # Remove bundler support |
61 |
+ sed -i -e '/bundler/I s:^:#:' Rakefile || die |
62 |
+ |
63 |
+ # Remove project-specific rspec options |
64 |
+ rm .rspec || die |
65 |
+} |
66 |
+ |
67 |
+each_ruby_configure() { |
68 |
+ ${RUBY} -C ext/bson extconf.rb || die "extconf.rb failed" |
69 |
+} |
70 |
+ |
71 |
+each_ruby_compile() { |
72 |
+ emake -C ext/bson V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" |
73 |
+ cp ext/bson/*$(get_modname) lib/ || die |
74 |
+} |