Skip to content

Commit

Permalink
Merge pull request Homebrew#198758 from Homebrew/awscli@1-py313
Browse files Browse the repository at this point in the history
awscli@1: migrate to `[email protected]`
  • Loading branch information
BrewTestBot authored Nov 23, 2024
2 parents 50460e6 + 93301b3 commit a79bc2b
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions Formula/a/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ class AwscliAT1 < Formula
end

bottle do
sha256 cellar: :any, arm64_sequoia: "a5ccc9ee5cd04508f9488d2a99a6a6a144508e9c57d076d50e39f5f1d5216689"
sha256 cellar: :any, arm64_sonoma: "786febe5d58bfba2807053e6e6efe6de780c4bb530cf2e7417520ca21d1b1077"
sha256 cellar: :any, arm64_ventura: "2e32adec9bd52a7ad2f7495567c6f80259f5b0dcdef0495f2718c7e4f93d6860"
sha256 cellar: :any, sonoma: "32654b8283705a341ad1b1830f6001b104b56ad9da6afc7cfd6e5df7dd3fdf24"
sha256 cellar: :any, ventura: "621ea9b8487b1385f12e2f0af9ecfe30dfbaf8418170b244c27f112d54ac7430"
sha256 cellar: :any_skip_relocation, x86_64_linux: "56111ac4b59f2fc8619625445a1fe2a4cab21977e7f2926511156075d2a87086"
rebuild 1
sha256 cellar: :any, arm64_sequoia: "972df4e5f08b2d4eb24940c044fd7cb123b6f3980b71ee9fdd1c09a9a4a4732e"
sha256 cellar: :any, arm64_sonoma: "a3bce8b0327fc15787eff07fefced2b1f742df4a1995474eb19c75c57bb98862"
sha256 cellar: :any, arm64_ventura: "707fb86008e9471d749b2bdf2a68a8546d8820dcde9a63342617a626a90c70c6"
sha256 cellar: :any, sonoma: "b4e6edb789ce7f2bdc051a20c15e19d5b14246c8d068de9ad02b59d51a3d1669"
sha256 cellar: :any, ventura: "f069372de6f74f7a3da443023d169bd0844d77310205eb6715bbbc66c7b6aefe"
sha256 cellar: :any_skip_relocation, x86_64_linux: "24848f25b8cec74ccdca153b8f3fa60c6f94817999086ede91245f67b3a6072f"
end

keg_only :versioned_formula

depends_on "libyaml"
depends_on "python@3.12"
depends_on "python@3.13"

uses_from_macos "mandoc"

Expand Down Expand Up @@ -71,8 +72,8 @@ class AwscliAT1 < Formula
end

resource "s3transfer" do
url "https://files.pythonhosted.org/packages/a0/a8/e0a98fd7bd874914f0608ef7c90ffde17e116aefad765021de0f012690a2/s3transfer-0.10.3.tar.gz"
sha256 "4f50ed74ab84d474ce614475e0b8d5047ff080810aac5d01ea25231cfc944b0c"
url "https://files.pythonhosted.org/packages/c0/0a/1cdbabf9edd0ea7747efdf6c9ab4e7061b085aa7f9bfc36bb1601563b069/s3transfer-0.10.4.tar.gz"
sha256 "29edc09801743c21eb5ecbc617a152df41d3c287f67b615f73e5f750583666a7"
end

resource "six" do
Expand All @@ -89,17 +90,17 @@ def install
virtualenv_install_with_resources
pkgshare.install "awscli/examples"

rm Dir["#{bin}/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh}"]
%w[aws.cmd aws_bash_completer aws_zsh_completer.sh].each { |f| rm(bin/f) }
bash_completion.install "bin/aws_bash_completer"
zsh_completion.install "bin/aws_zsh_completer.sh"
(zsh_completion/"_aws").write <<~EOS
(zsh_completion/"_aws").write <<~ZSH
#compdef aws
_aws () {
local e
e=$(dirname ${funcsourcetrace[1]%:*})/aws_zsh_completer.sh
if [[ -f $e ]]; then source $e; fi
}
EOS
ZSH
end

def caveats
Expand Down

0 comments on commit a79bc2b

Please sign in to comment.