Gcloud 402.0.0 => 463.0.0 (#9305)

This commit is contained in:
Ed Reel
2024-02-10 16:57:29 -06:00
committed by GitHub
parent 49152c9c07
commit 81ab9bbce8
4 changed files with 50431 additions and 4744 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -3,21 +3,27 @@ require 'package'
class Gcloud < Package
description 'Command-line interface for Google Cloud Platform products and services'
homepage 'https://cloud.google.com/sdk/gcloud/'
version '402.0.0'
version '463.0.0'
license 'Apache-2.0'
compatibility 'i686,x86_64'
compatibility 'all'
source_url({
x86_64: "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-#{version}-linux-x86_64.tar.gz",
i686: "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-#{version}-linux-x86.tar.gz"
aarch64: 'https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-463.0.0-linux-arm.tar.gz',
armv7l: 'https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-463.0.0-linux-arm.tar.gz',
i686: 'https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-463.0.0-linux-x86.tar.gz',
x86_64: 'https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-463.0.0-linux-x86_64.tar.gz'
})
source_sha256({
x86_64: 'cc1da7f6774621ffbbe10a0a4fa51e42c4cddef2868d78830fd4f7d43a9d2e7a',
i686: '21a7da6cad5885390a1a878451aabba3b1d3a2d72688e9052ecac69020922344'
aarch64: '41cde0aa0050e842eb19846f5ab89aae532c8080dbcd844e6a89e6a3865f4499',
armv7l: '41cde0aa0050e842eb19846f5ab89aae532c8080dbcd844e6a89e6a3865f4499',
i686: '780ca14ff9aa1c5258b5030238e2c471da88c5b1e08f80e4e201daaf1ab01111',
x86_64: 'aa9d83d0736422da011d1e22c2a453d40ea3e0594fa676380d59be10fc184ce6'
})
depends_on 'python3'
depends_on 'xdg_base'
no_shrink
no_compile_needed
def self.build
@gcloudenv = <<~EOF
@@ -64,7 +70,7 @@ class Gcloud < Package
case response
when 'y', 'yes'
FileUtils.rm_rf config_dir
puts "#{config_dir} removed.".lightred
puts "#{config_dir} removed.".lightgreen
else
puts "#{config_dir} saved.".lightgreen
end