google-cloud-cli-bin: 513.0.0
This commit is contained in:
parent
3a197732d8
commit
095b404ace
2 changed files with 61 additions and 0 deletions
|
@ -8,3 +8,5 @@ DIST google-cloud-cli-511.0.0-linux-arm.tar.gz 55245668 BLAKE2B 730c8a6d30f77896
|
||||||
DIST google-cloud-cli-511.0.0-linux-x86_64.tar.gz 148571304 BLAKE2B e6ef0cbc565ecb25aff2c884a53f7d8941801223ea7f890b30428e99fa9c0c2eee37a4c6da14cf95ec31fc9bac580348ea63f6b8c0040129dd28bfcbd69bb949 SHA512 9e4d584bec1e561d8405b8d057aae7b54519f4ce1643ec4d909e8366aeb4a428b17eb65cae7166b16395da3cd0e07e5ce31615295517c0659dad8d817218a37f
|
DIST google-cloud-cli-511.0.0-linux-x86_64.tar.gz 148571304 BLAKE2B e6ef0cbc565ecb25aff2c884a53f7d8941801223ea7f890b30428e99fa9c0c2eee37a4c6da14cf95ec31fc9bac580348ea63f6b8c0040129dd28bfcbd69bb949 SHA512 9e4d584bec1e561d8405b8d057aae7b54519f4ce1643ec4d909e8366aeb4a428b17eb65cae7166b16395da3cd0e07e5ce31615295517c0659dad8d817218a37f
|
||||||
DIST google-cloud-cli-512.0.0-linux-arm.tar.gz 55396468 BLAKE2B 0076d69c33f0e4cbfda49147a18a189afc934ecd349921b9e0e65d7da6dad5c2f85d5899e1f7764353c7ae17123df478f68509e10a7a53a90c4fa0be52eb2ef9 SHA512 26064af02fd0ce2c4ae3044c29aeef2df3854a36bec97b017f7de3a65fc01b725ffda9144891f2037b4fef84fa810d97b9cc407a595887fa855f3bb857d22f92
|
DIST google-cloud-cli-512.0.0-linux-arm.tar.gz 55396468 BLAKE2B 0076d69c33f0e4cbfda49147a18a189afc934ecd349921b9e0e65d7da6dad5c2f85d5899e1f7764353c7ae17123df478f68509e10a7a53a90c4fa0be52eb2ef9 SHA512 26064af02fd0ce2c4ae3044c29aeef2df3854a36bec97b017f7de3a65fc01b725ffda9144891f2037b4fef84fa810d97b9cc407a595887fa855f3bb857d22f92
|
||||||
DIST google-cloud-cli-512.0.0-linux-x86_64.tar.gz 148721037 BLAKE2B 84d56b07ce1978011a9390b5c91c8a3a69e6a276ee9f9fe34e7d3cd3048d96547a5aec67e73e9c67008b4160be2572a9dd14687cb4fa15a68de58c6eb2d33c6e SHA512 b62b16563b9b3c818e27478f21c20848cee2371e90f82b67f3d9e83872fc8a5ae84bd676c8620dc9ed9f81b243e6b0c886dd37b5094214923ab334505f06efff
|
DIST google-cloud-cli-512.0.0-linux-x86_64.tar.gz 148721037 BLAKE2B 84d56b07ce1978011a9390b5c91c8a3a69e6a276ee9f9fe34e7d3cd3048d96547a5aec67e73e9c67008b4160be2572a9dd14687cb4fa15a68de58c6eb2d33c6e SHA512 b62b16563b9b3c818e27478f21c20848cee2371e90f82b67f3d9e83872fc8a5ae84bd676c8620dc9ed9f81b243e6b0c886dd37b5094214923ab334505f06efff
|
||||||
|
DIST google-cloud-cli-513.0.0-linux-arm.tar.gz 55444214 BLAKE2B 08901e0b990d7e4b5c345558df3f35b41ca74ebe52df25469c7676c564df77b3a4a0e6aa07764e3c1a66117bb5ed28239bc0ed0457f2b19395786746e5d842f1 SHA512 078bc6c7ce2093aae48048651b3070f84dcf9ff9cf2aecca346d49152683271a7eeca1c1ffc92293b6e0ef95ccb84301ab8bb04189f6adcfbf9d171e43e5c8e0
|
||||||
|
DIST google-cloud-cli-513.0.0-linux-x86_64.tar.gz 148769907 BLAKE2B c791fac414e5910c0d3e2ddb41dd59963a3be96c252ae90491b4ee055488d949c39119952e8c4c93731c0dc4cbf865f01702303ca72be698b9b9c957141e4726 SHA512 bf1fcd7d0411b2d30db81cd5d7122c757690c353156fd971615b9eb8e44e37beab18c456041da12323aaa71d0611158a31a6aa79baa4998a85f45721ca65923d
|
||||||
|
|
|
@ -0,0 +1,59 @@
|
||||||
|
# Copyright 2020-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{10..13} python3_13t )
|
||||||
|
|
||||||
|
inherit python-single-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Interact with the Google Cloud Platform"
|
||||||
|
HOMEPAGE="https://cloud.google.com/cli"
|
||||||
|
SITE="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads"
|
||||||
|
SRC_URI="
|
||||||
|
amd64? ( ${SITE}/google-cloud-cli-${PV}-linux-x86_64.tar.gz )
|
||||||
|
arm64? ( ${SITE}/google-cloud-cli-${PV}-linux-arm.tar.gz )
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 arm64"
|
||||||
|
IUSE="anthoscli"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
DEPEND="
|
||||||
|
virtual/libcrypt:=
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
RESTRICT="bindist mirror strip"
|
||||||
|
S="${WORKDIR}/google-cloud-sdk"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
rm -rf deb rpm install.*
|
||||||
|
rm -rf "platform/gsutil/third_party/crcmod_osx"
|
||||||
|
rm -rf "platform/bundledpythonunix"
|
||||||
|
find -type d -name "python2" -prune -exec rm -rf "{}" \;
|
||||||
|
|
||||||
|
use anthoscli || rm bin/anthoscli
|
||||||
|
|
||||||
|
python_fix_shebang --force .
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodir /usr/share/google-cloud-sdk
|
||||||
|
cp -R "${S}/" "${ED}/usr/share/" || die "Install failed!"
|
||||||
|
|
||||||
|
dosym "../share/google-cloud-sdk/bin/gcloud" /usr/bin/gcloud
|
||||||
|
dosym "../share/google-cloud-sdk/bin/gcloud-crc32c" /usr/bin/gcloud-crc32c
|
||||||
|
dosym "../share/google-cloud-sdk/bin/gsutil" /usr/bin/gsutil
|
||||||
|
dosym "../share/google-cloud-sdk/bin/bq" /usr/bin/bq
|
||||||
|
dosym "../share/google-cloud-sdk/bin/docker-credential-gcloud" /usr/bin/docker-credential-gcloud
|
||||||
|
dosym "../share/google-cloud-sdk/bin/git-credential-gcloud.sh" /usr/bin/git-credential-gcloud.sh
|
||||||
|
|
||||||
|
use anthoscli && dosym "../share/google-cloud-sdk/bin/anthoscli" /usr/bin/anthoscli
|
||||||
|
|
||||||
|
python_optimize "${ED}/usr/share/google-cloud-sdk"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue