Diff mongo-tools-4.2.17-r1 with a mongo-tools-100.4.1-r1
/usr/portage/app-admin/mongo-tools/mongo-tools-100.4.1-r1.ebuild 2023-10-09 14:52:28.160368317 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
MY_PV=${PV/_rc/-rc} |
|
7 |
MY_P=${PN}-r${MY_PV} |
|
8 | ||
9 | 6 |
DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
10 | 7 |
HOMEPAGE="https://www.mongodb.com" |
11 |
SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz" |
|
8 |
SRC_URI="https://github.com/mongodb/mongo-tools/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
12 | 9 | |
13 | 10 |
LICENSE="Apache-2.0" |
14 | 11 |
SLOT="0" |
15 |
KEYWORDS="~amd64 ~arm64" |
|
12 |
KEYWORDS="amd64 ~arm64 ~riscv" |
|
16 | 13 |
IUSE="sasl ssl" |
17 | 14 | |
18 | 15 |
DEPEND=" |
... | ... | |
31 | 28 |
src_unpack() { |
32 | 29 |
mkdir -p "${S%/*}" || die |
33 | 30 |
default |
34 |
mv ${MY_P} "${S}" || die |
|
31 |
mv ${P} "${S}" || die |
|
35 | 32 |
} |
36 | 33 | |
37 | 34 |
src_compile() { |
... | ... | |
54 | 51 |
fi |
55 | 52 | |
56 | 53 |
mkdir -p bin || die |
57 |
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do |
|
54 |
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop; do |
|
58 | 55 |
echo "Building $i" |
59 | 56 |
GO111MODULE='off' GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \ |
60 | 57 |
-ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die |