commit:     a63a5210bec1cbfb8eb37e07ea4563245a1ab7ea
Author:     Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 15:30:39 2016 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Tue May 17 15:30:39 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a63a5210

app-admin/mongo-tools: version bump, drop old

Package-Manager: portage-2.2.27

 app-admin/mongo-tools/Manifest                     |  3 +-
 .../files/mongo-tools-3.0.12-build.patch           |  9 ++++
 ...ools-3.0.9.ebuild => mongo-tools-3.0.12.ebuild} |  2 +-
 app-admin/mongo-tools/mongo-tools-3.0.8.ebuild     | 53 ----------------------
 4 files changed, 11 insertions(+), 56 deletions(-)

diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
index 86b4d12..e9143f2 100644
--- a/app-admin/mongo-tools/Manifest
+++ b/app-admin/mongo-tools/Manifest
@@ -1,5 +1,4 @@
 DIST mongo-tools-3.0.10.tar.gz 2185555 SHA256 
2bd5c984ca8b745b33aeb1e1a8118acd675bc5a408845eb3bb0b70c4fa680d71 SHA512 
36d57150f4fb331149a2a7cbcde54253316cf3c5bc8ab195584c057c35b30d5acfabcafa25d314d378388254ac5a0ce75d0d8867e344fb7006593319ce9d028c
 WHIRLPOOL 
a6961a1fccb7ba353616fe4bfbe182c6a076f13c23492f4d06d274a0ff4d3f09a811413f77a2353b20801462b3a72f74073e38b8b1b4f4e3abf0026774dbcea2
-DIST mongo-tools-3.0.8.tar.gz 2185550 SHA256 
b9860339ed59ed57bb29b26c820578c690baa2aaec98fe743561cc95023815f1 SHA512 
95ea8377aef747f66ce827300cbc38bfa5b660ad25e4d66cf0dc9899cfe81ff2a67e9383a22c08158fed2d622a6f4d3b315e1234fb6118f246ef17f9cffa129a
 WHIRLPOOL 
00298e54c8fd17a51a3293101defee94219c46929862695e08b2c21a66e59290b341f07c89add38dacfa8295c3fe83ce61cd3911e7489ddd75c2a65721910cce
-DIST mongo-tools-3.0.9.tar.gz 2185557 SHA256 
41705fe815d189d6985ac6abad0b7467186488600cc3031732a25fea5c69a09f SHA512 
d4b8d89242a0ab5b678eec7f9a75ad8cf199769046a399741960c605c7d0dc34d5f5e30d956ff4d51b01bc93b1841e132dc2daf6dade9b32d035f2c2f261e520
 WHIRLPOOL 
ce8911d89d9874f1fbc18b63546b641866e94a7160edd705aece48f05b63a67dfc111cd44940a0956bc1d1e42431b33ea69d5f24eb216e99fcb080b55281ec89
+DIST mongo-tools-3.0.12.tar.gz 2196136 SHA256 
390d6842e83463943383ba7a6d6b8feb050fd170f8003aef46037722693734d0 SHA512 
2954972b999d8eb87ff7ce65697740fc5893d5caa24234309f1d182109f627a5cce9b22d9da1154af74606725269c48ded8361b9f3bf171a10aed9ad7b33dda8
 WHIRLPOOL 
13e1e433f242be3ec9cea259bb3ae70220d1b7feccaf722ce31d9c1a0b30a8aef0c945e1147662acab22b3d7c1c719055fda6dfc9c605d205ceb227d639f6598
 DIST mongo-tools-3.2.4.tar.gz 2229852 SHA256 
9d52028fb2be6a6e0a779aa73587c52ccd5fa59b258e26e5c2c3fce167599138 SHA512 
d34ad87bb2a53c9df0124c26a4c200236aa889c7a5bd09a3b535acd4b18c5757018e78813fa04b48b359004eb9097853b49fd359617e71f66e41ef71da01c222
 WHIRLPOOL 
1711091062a89f14c0fbf9dedd15567c0018af7028fab053622f4bdcc87b23e1784275901c19605418989e4802ff011dd87ddc7c26723318aafe59df4c079d35
 DIST mongo-tools-3.2.5.tar.gz 2499471 SHA256 
d58ab20b0007f550060c5c57fff0661488d473151e6f7f10b9895e859a625797 SHA512 
b7bb5fe5425b269611cedd6f7d9253998d00fb3bd7b26bac5d614f4ee861bbeca806da12c41b475cf8e72954a0634503a9d1b625a0bdbd52b61149616014ab49
 WHIRLPOOL 
08c1080f843cecda815ab8b0140cce386287d988461647876e7f5b02b9ed3c62873b8aa67c0eebd6a377383235b1f919e95af6aaf6f8ed102a84ac74897ccd96

diff --git a/app-admin/mongo-tools/files/mongo-tools-3.0.12-build.patch 
b/app-admin/mongo-tools/files/mongo-tools-3.0.12-build.patch
new file mode 100644
index 0000000..f3d8819
--- /dev/null
+++ b/app-admin/mongo-tools/files/mongo-tools-3.0.12-build.patch
@@ -0,0 +1,9 @@
+--- a/build.sh 2016-04-29 20:14:54.000000000 +0200
++++ b/build.sh 2016-05-17 17:22:50.830113156 +0200
+@@ -19,5 +19,5 @@
+ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore 
mongodump mongotop mongooplog; do
+       echo "Building ${i}..."
+       # Build the tool, using -ldflags to link in the current gitspec
+-        go build -o "bin/$i" -ldflags "-X 
github.com/mongodb/mongo-tools/common/options.Gitspec=`git rev-parse HEAD` -X 
github.com/mongodb/mongo-tools/common/options.VersionStr=$(git describe)" -tags 
"$tags" "$i/main/$i.go"
++        go build -o "bin/$i" -tags "$tags" "$i/main/$i.go" || exit 1
+ done

diff --git a/app-admin/mongo-tools/mongo-tools-3.0.9.ebuild 
b/app-admin/mongo-tools/mongo-tools-3.0.12.ebuild
similarity index 95%
rename from app-admin/mongo-tools/mongo-tools-3.0.9.ebuild
rename to app-admin/mongo-tools/mongo-tools-3.0.12.ebuild
index 0a92d4b..9abcf52 100644
--- a/app-admin/mongo-tools/mongo-tools-3.0.9.ebuild
+++ b/app-admin/mongo-tools/mongo-tools-3.0.12.ebuild
@@ -31,7 +31,7 @@ DEPEND="${RDEPEND}
 S=${WORKDIR}/${MY_P}
 
 src_prepare() {
-       epatch "${FILESDIR}/${PN}-3.0.0-build.patch"
+       epatch "${FILESDIR}/${PN}-3.0.12-build.patch"
 }
 
 src_compile() {

diff --git a/app-admin/mongo-tools/mongo-tools-3.0.8.ebuild 
b/app-admin/mongo-tools/mongo-tools-3.0.8.ebuild
deleted file mode 100644
index 658782f..0000000
--- a/app-admin/mongo-tools/mongo-tools-3.0.8.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils
-
-MY_PV=${PV/_rc/-rc}
-MY_P=${PN}-r${MY_PV}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="http://www.mongodb.org";
-SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> 
mongo-tools-${MY_PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="sasl ssl"
-
-# Maintainer note:
-# openssl DEPEND constraint, see:
-# https://github.com/mongodb/mongo-tools/issues/11
-
-RDEPEND="!<dev-db/mongodb-3.0.0"
-DEPEND="${RDEPEND}
-       dev-lang/go:=
-       sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-       epatch "${FILESDIR}/${PN}-3.0.0-build.patch"
-}
-
-src_compile() {
-       local myconf
-
-       if use sasl; then
-         myconf="${myconf} sasl"
-       fi
-
-       if use ssl; then
-         myconf="${myconf} ssl"
-       fi
-
-       ./build.sh ${myconf}
-}
-
-src_install() {
-       dobin bin/*
-}

Reply via email to