1 |
commit: d88f972ad2687860884af19916884406a21a171c |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 17 04:29:08 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 17 06:20:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d88f972a |
7 |
|
8 |
dev-ruby/bson: add 4.2.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ruby/bson/Manifest | 1 + |
13 |
dev-ruby/bson/bson-4.2.2.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/bson/Manifest b/dev-ruby/bson/Manifest |
17 |
index eb7863f7447..5129cda0bd7 100644 |
18 |
--- a/dev-ruby/bson/Manifest |
19 |
+++ b/dev-ruby/bson/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST bson-3.2.6.tar.gz 51846 SHA256 b7d848b93de622c32cc65cf6debf21aaa0e66d554d65 |
21 |
DIST bson-4.1.1.tar.gz 55417 SHA256 965d0da14886e795230686168676784c74117c705b262ee468205c0066166f64 SHA512 b98b568fe0a94e6430433a9bb57930c0a95c9b268d928a6fabb1ce6bd4343406e700de11db531f6a49bc270e449637c70ce0ad0a8f7f6cae7857f0ad627f1956 WHIRLPOOL b7f0735cb0d3e49d257f805398368e397a70f87dd38460ce04064ca34fc0f9b60f6e776403955be0e2db9360b94bb0b09f48d5c3e7036a10d8393b715c455b41 |
22 |
DIST bson-4.2.0.tar.gz 91564 SHA256 dcd58eeb3e1ad9c88a8c899bd349a1da55e4295bc650d81b57d7da21962bd140 SHA512 890f6432545d807a678cf160068cf0ebb2287b78789d9bdb07b710b8baa056b2074c7d09c0e56612e40410ea217f63d3074cb28d9a4fada7916ff04f1900dc1d WHIRLPOOL d6f651da5703d06ea052524abe50fd6d4b5fb618a0685e796bf41903a8e9587ed1a3746fbe8d931385c8933ebcfed81804660765d1c3804964103159dd93e00f |
23 |
DIST bson-4.2.1.tar.gz 91862 SHA256 8e915fc558b846197322af6f6a8af4ef2f570fb0e158d7df5e7af75d971c9bef SHA512 19ae538674d97b548c7b46e5cf8f3a971ebce8e3cfe3f1b1866527ed05a7b9599eeb637d126fcae8384606881ba88b513e166d299c90d61d6796053fe66fd51f WHIRLPOOL bb76c76b15095167456a23133932f37f7c9659f672c0d3f5e625bc434803b6fd685de4a898fb3ef764c0f3bd91eea784bbd5b4cbd87e00a570a3e52c330308c0 |
24 |
+DIST bson-4.2.2.tar.gz 96725 SHA256 a6cf2d9bfef65195e0a73c5bf5bd05bb04fcf613ec2e8284b756bd3b0d78ec27 SHA512 4de8950271f5fdd5927eda290b6506248012cb8a932d65773ad53f1e3e4c67ea17575b559447d5eb6c9286f672439879dbc89aa0cded4ec2d0fa35c49da7a574 WHIRLPOOL b6fc593ce2c915bf533a0f2417fdf5bb89dc124c8855ebd0effe0b134f55d737699551510cdea8353328aba4b1fe1208261ce20a4941bbc70830b9e355e6624d |
25 |
|
26 |
diff --git a/dev-ruby/bson/bson-4.2.2.ebuild b/dev-ruby/bson/bson-4.2.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..115c776b44f |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/bson/bson-4.2.2.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
39 |
+ |
40 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
41 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
44 |
+ |
45 |
+GITHUB_USER="mongodb" |
46 |
+GITHUB_PROJECT="bson-ruby" |
47 |
+ |
48 |
+inherit multilib ruby-fakegem |
49 |
+ |
50 |
+DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)" |
51 |
+HOMEPAGE="http://www.mongodb.org/" |
52 |
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
53 |
+RUBY_S="bson-ruby-${PV}" |
54 |
+ |
55 |
+LICENSE="APSL-2" |
56 |
+SLOT="4" |
57 |
+KEYWORDS="~amd64" |
58 |
+IUSE="test doc" |
59 |
+ |
60 |
+all_ruby_prepare() { |
61 |
+ # Remove bundler support |
62 |
+ sed -i -e '/bundler/I s:^:#:' Rakefile || die |
63 |
+ |
64 |
+ # Remove project-specific rspec options |
65 |
+ rm .rspec || die |
66 |
+} |
67 |
+ |
68 |
+each_ruby_configure() { |
69 |
+ ${RUBY} -C ext/bson extconf.rb || die "extconf.rb failed" |
70 |
+} |
71 |
+ |
72 |
+each_ruby_compile() { |
73 |
+ emake -C ext/bson V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" |
74 |
+ cp ext/bson/*$(get_modname) lib/ || die |
75 |
+} |