Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mongo-tools/
Date: Mon, 06 Feb 2017 16:10:12
Message-Id: 1486397393.868f3223ff0975e49086b260ae4d05359e00ad67.ultrabug@gentoo
1 commit: 868f3223ff0975e49086b260ae4d05359e00ad67
2 Author: Ultrabug <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 6 16:08:41 2017 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 6 16:09:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=868f3223
7
8 app-admin/mongo-tools: version bump
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 app-admin/mongo-tools/Manifest | 1 +
13 app-admin/mongo-tools/mongo-tools-3.2.12.ebuild | 58 +++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
17 index cd2ab94..79fcee6 100644
18 --- a/app-admin/mongo-tools/Manifest
19 +++ b/app-admin/mongo-tools/Manifest
20 @@ -1,4 +1,5 @@
21 DIST mongo-tools-3.0.10.tar.gz 2185555 SHA256 2bd5c984ca8b745b33aeb1e1a8118acd675bc5a408845eb3bb0b70c4fa680d71 SHA512 36d57150f4fb331149a2a7cbcde54253316cf3c5bc8ab195584c057c35b30d5acfabcafa25d314d378388254ac5a0ce75d0d8867e344fb7006593319ce9d028c WHIRLPOOL a6961a1fccb7ba353616fe4bfbe182c6a076f13c23492f4d06d274a0ff4d3f09a811413f77a2353b20801462b3a72f74073e38b8b1b4f4e3abf0026774dbcea2
22 DIST mongo-tools-3.0.14.tar.gz 2413148 SHA256 5a3f706827a9567fc98e2b64a33a2071c68c89090c6f135a508cb4e615051db1 SHA512 0e77417b2c36080515a2ff611427cb18f6d6c2432159c2a09af8d6ff14ae7f25ecbfe0a6631eeb7de084fdfe517a09364d731f5b63923404b6319fc1ca44b840 WHIRLPOOL 615153e87ea0b3cfd837066f850f92e7ea9c533e09bf6e3f4231ff489ac21a5a52a4afe06c827304e9340f9e8172714dae969c65cdd7215939a35c7026d60d98
23 DIST mongo-tools-3.2.11.tar.gz 2712014 SHA256 992e9fb94df6bed49e68684afee096f1193dc9cfca8ce8bcc4c912996bba365c SHA512 a6e2dd8dd567f04205e57be2983f5f0ddf2c4aca915f5ffaa777d17b94f62e0f106eb9bad93213d25f60c3949d47f4d91cdf767744e8094278e8ecf3546dfae5 WHIRLPOOL 6d75a9b0e6cd4271f8c6571dd280adafc7ff1bb60f973a037c78b39df0981d6c35f1a38309a8d96300f45053054c4454f22ce75aea2d62da6db06a2b1adcf90d
24 +DIST mongo-tools-3.2.12.tar.gz 2712079 SHA256 cda5e869b9233d591e91cac0b4c709a2e71dcabd9ac6bcc8b33d906ce3b13afd SHA512 66f7beb85a83ad6a217e65bba97ace6ad0bf84688f40e598e5fb1cf4bbe481b4069e1247d6829f8d06c8230d33c3e0c8bd8465a975576cad584065c361b6fb72 WHIRLPOOL 46123dc3c97fdf20ff94ac373e774932bd30aca677047fe3366653aaab269bf6d7e59cb420cf1e5716558fa959cb3649ee359cc27932bac276e6d24d2eea43b1
25 DIST mongo-tools-3.4.1.tar.gz 4700560 SHA256 283d729442fca7a331ca475e234b0880ec7c4339597e0a8e271ca7e153b45439 SHA512 bd5862b220bc9d77d938b87b1e2c974d0088239c51cd091b5e4d578d774e28aa6b25ab18936c9f388fd1ed3caeca264225c14cd5a85e749c3c3e148ca073a990 WHIRLPOOL 2b5ba4e2c91372e5cec355d0e6d651d4fd3de7b3d72839e855e099c75a9ffec172b43caff82d2cf7371fd3c7ac1ca1e71fc303eff75cd2e5afc352fbbf4dba42
26
27 diff --git a/app-admin/mongo-tools/mongo-tools-3.2.12.ebuild b/app-admin/mongo-tools/mongo-tools-3.2.12.ebuild
28 new file mode 100644
29 index 00000000..f43e57c
30 --- /dev/null
31 +++ b/app-admin/mongo-tools/mongo-tools-3.2.12.ebuild
32 @@ -0,0 +1,58 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +
39 +inherit eutils
40 +
41 +MY_PV=${PV/_rc/-rc}
42 +MY_P=${PN}-r${MY_PV}
43 +
44 +DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
45 +HOMEPAGE="http://www.mongodb.org"
46 +SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE="sasl ssl"
52 +
53 +# Maintainer note:
54 +# openssl DEPEND constraint, see:
55 +# https://github.com/mongodb/mongo-tools/issues/11
56 +
57 +RDEPEND="!<dev-db/mongodb-3.0.0"
58 +DEPEND="${RDEPEND}
59 + dev-lang/go:=
60 + sasl? ( dev-libs/cyrus-sasl )
61 + ssl? ( dev-libs/openssl )"
62 +
63 +S=${WORKDIR}/${MY_P}
64 +
65 +src_prepare() {
66 + sed -e 's|go build .*|go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"|g' -i build.sh || die
67 +
68 + # ensure we use bash wrt #582906
69 + sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die
70 +
71 + epatch "${FILESDIR}/${PN}-3.2.10-pie.patch"
72 +}
73 +
74 +src_compile() {
75 + local myconf
76 +
77 + if use sasl; then
78 + myconf="${myconf} sasl"
79 + fi
80 +
81 + if use ssl; then
82 + myconf="${myconf} ssl"
83 + fi
84 +
85 + ./build.sh ${myconf} || die "build failed"
86 +}
87 +
88 +src_install() {
89 + dobin bin/*
90 +}