mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* Add unbuilt updated pip packages to updates-2025-01-23-00-18 * Add unbuilt updated ruby gem packages to updates-2025-01-23-00-18 * Add built packages for linux/386 to updates-2025-01-23-00-18 * Add built packages for linux/amd64 to updates-2025-01-23-00-18 * Add built packages for linux/arm/v7 to updates-2025-01-23-00-18 --------- Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
37 lines
1.2 KiB
Ruby
37 lines
1.2 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.37.4-#{CREW_PY_VER}"
|
|
license 'Apache-2.0'
|
|
compatibility 'all'
|
|
source_url 'SKIP'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'f97dc2d4b33058187bf96e2989e13eafbbc7fdb4810164bc8d0e26f1b6697e36',
|
|
armv7l: 'f97dc2d4b33058187bf96e2989e13eafbbc7fdb4810164bc8d0e26f1b6697e36',
|
|
i686: 'f387dfa9a3e2de82340b86a85e76e82ec39bf99719fff48b33d6563f8c3b6a44',
|
|
x86_64: '0efe4dc3799d1c592d7a9128750409c618731933deadd42aa8daa1ce3c2fcfcd'
|
|
})
|
|
|
|
depends_on 'groff'
|
|
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
|