Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mongosh-bin/
Date: Mon, 04 Oct 2021 12:33:30
Message-Id: 1633350744.1b4f56713b65a3e8119905405cb9eb31a97dd5ad.juippis@gentoo
1 commit: 1b4f56713b65a3e8119905405cb9eb31a97dd5ad
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri Sep 24 20:16:54 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 4 12:32:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b4f5671
7
8 app-admin/mongosh-bin: bump to 1.0.7
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/22390
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 app-admin/mongosh-bin/Manifest | 2 ++
15 app-admin/mongosh-bin/mongosh-bin-1.0.7.ebuild | 37 ++++++++++++++++++++++++++
16 2 files changed, 39 insertions(+)
17
18 diff --git a/app-admin/mongosh-bin/Manifest b/app-admin/mongosh-bin/Manifest
19 index b6d60af0376..14b8c3d9027 100644
20 --- a/app-admin/mongosh-bin/Manifest
21 +++ b/app-admin/mongosh-bin/Manifest
22 @@ -1,2 +1,4 @@
23 DIST mongosh-1.0.4_arm64.tgz 58296826 BLAKE2B 87304d259e731ac63b52f63e8277746042df90eeaa67771265d45fd9450950d878a20996a34285db4f8dbac9c4877c37391b54b6b9e57ff0409e0d72bec1c5a1 SHA512 ad9e9cf733915cfd6e9e2140b90cfbbc77f63160331683dee740e906c69b5993ac9704ac0bfbe8b5227eb474a0db75cddd8df310150f737de28fef00184d1280
24 DIST mongosh-1.0.4_x64.tgz 62341440 BLAKE2B af4394c1312825ca0718f1ec836cde64c212533ae2210dcb64363042d066304e558c5822e46362323aeedb5cbc402fae1999689b338102d8ba8de5c74379cf21 SHA512 07091f85b14b80fcfe334ced3a1773d206e9dd09faa3ac0ec6045503f222ccba0735a861bb4088d4c7687783de37e2134c8beeaa160cd838f197233e68aae796
25 +DIST mongosh-1.0.7_arm64.tgz 59235420 BLAKE2B c1993ca1b697eac8c5ed8d2b9ec7af0b28a46021c368d14585736f5fa0a8874db8c6bfb1d362eb62b97c3331c6902c925687f4d8548f6a209dabd698a378151a SHA512 885f86fa15c2ffb596d36bbdee5d3526e7ff0ea53d0530e8066bcfbd430dac678047914de9239a49d6cb6fb1e1d21b336de2a8dae3929af8f0504bebad9265f2
26 +DIST mongosh-1.0.7_x64.tgz 63269269 BLAKE2B 0403db9fd437a832bc37790ac38ae43b1aa0add711283d0f40631f9c7f8ba7f590d083a53e5ac5403b90d22b34e2a461304593702f876e75a6867e543ce0f152 SHA512 fd232c46dbde02bda22a36300c49748860902d51bd2b01f24464168d0e2b76083369f201900783b4a8c698a77f2a344b903f6c05f0914f9cd94be3fa01270b2f
27
28 diff --git a/app-admin/mongosh-bin/mongosh-bin-1.0.7.ebuild b/app-admin/mongosh-bin/mongosh-bin-1.0.7.ebuild
29 new file mode 100644
30 index 00000000000..efad4f58748
31 --- /dev/null
32 +++ b/app-admin/mongosh-bin/mongosh-bin-1.0.7.ebuild
33 @@ -0,0 +1,37 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +MY_PN="${PN%-bin}"
40 +MY_P=${MY_PN}-${PV}
41 +
42 +DESCRIPTION="The MongoDB Shell"
43 +HOMEPAGE="https://github.com/mongodb-js/mongosh https://www.mongodb.com/products/shell"
44 +
45 +SRC_URI_BASE="https://downloads.mongodb.com/compass/${MY_P}-linux"
46 +SRC_URI="amd64? ( ${SRC_URI_BASE}-x64.tgz -> ${MY_P}_x64.tgz )
47 + arm64? ( ${SRC_URI_BASE}-arm64.tgz -> ${MY_P}_arm64.tgz )"
48 +
49 +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-4.0 ISC MIT WTFPL-2"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm64"
52 +
53 +RDEPEND="dev-libs/cyrus-sasl[kerberos]"
54 +
55 +# Do not complain about CFLAGS etc since we don't use them
56 +QA_FLAGS_IGNORED='.*'
57 +
58 +src_unpack() {
59 + if use amd64; then
60 + S="${WORKDIR}/${MY_P}-linux-x64"
61 + elif use arm64; then
62 + S="${WORKDIR}/${MY_P}-linux-arm64"
63 + fi
64 +
65 + default
66 +}
67 +
68 +src_install() {
69 + dobin bin/mongosh
70 +}