mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* awscli -> 1.44.34-py3.14 in updater-awscli-1.44.34-py3.14 * updater-awscli-1.44.34-py3.14: Package File Update Run on linux/386 container. * updater-awscli-1.44.34-py3.14: Package File Update Run on linux/amd64 container. * updater-awscli-1.44.34-py3.14: Package File Update Run on linux/arm/v7 container. --------- Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
51 lines
1.8 KiB
Ruby
51 lines
1.8 KiB
Ruby
require 'buildsystems/pip'
|
|
|
|
class Awscli < Pip
|
|
description 'Universal Command Line Interface for Amazon Web Services'
|
|
homepage 'https://github.com/aws/aws-cli'
|
|
version "1.44.34-#{CREW_PY_VER}"
|
|
license 'Apache-2.0'
|
|
compatibility 'all'
|
|
source_url 'SKIP'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '8eafc358acebd2b1f162291ec30ebf4b5b17e3d8fdc8013501717adac4b633a2',
|
|
armv7l: '8eafc358acebd2b1f162291ec30ebf4b5b17e3d8fdc8013501717adac4b633a2',
|
|
i686: '8be23a5d5779e7862eee0fc3923ce3c61fcec05ab8676dcbb74888e945c120e5',
|
|
x86_64: '969dabda3cc03bd0982f83e3be60fbab2f847892b0481dd1952d9c3387413cb3'
|
|
})
|
|
|
|
binary_sha256({
|
|
aarch64: '2f8e6f8e27e396a44fc2de5958b66a0734d05b9f47a3f81d8ad402dc5942c6fc',
|
|
armv7l: '2f8e6f8e27e396a44fc2de5958b66a0734d05b9f47a3f81d8ad402dc5942c6fc',
|
|
i686: '68b9b37fc55b5b1fe1a5c8d762c7729deabcbe2dd7bf32c7c957984ff71cd2b2',
|
|
x86_64: 'c45f4a4b8354a8b0310dfc23ce41c9beb1b143fb0b00128e79a2878b0e8d06b0'
|
|
})
|
|
|
|
depends_on 'groff' # R
|
|
depends_on 'py3_botocore' # R
|
|
depends_on 'py3_docutils' # R
|
|
depends_on 'py3_jmespath' # R
|
|
depends_on 'py3_pyasn1' # R
|
|
depends_on 'py3_python_dateutil' # R
|
|
depends_on 'py3_rsa' # R
|
|
depends_on 'py3_s3transfer' # R
|
|
depends_on 'python3' => :build
|
|
|
|
no_source_build
|
|
|
|
pip_install_extras do
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/bash.d"
|
|
File.write "#{CREW_DEST_PREFIX}/etc/bash.d/aws", <<~AWSBASHRCEOF
|
|
# Amazon Web Services CLI bash completion
|
|
source #{CREW_PREFIX}/bin/aws_bash_completer
|
|
AWSBASHRCEOF
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/zsh.d"
|
|
File.write "#{CREW_DEST_PREFIX}/etc/zsh.d/aws", <<~AWSZSHRCEOF
|
|
# Amazon Web Services CLI zsh completion
|
|
source #{CREW_PREFIX}/bin/aws_zsh_completer.sh
|
|
AWSZSHRCEOF
|
|
end
|
|
end
|