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-04-21-00-21 * Add unbuilt updated ruby gem packages to updates-2025-04-21-00-21 * Revert py3_ldapdomaindump Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/386 to updates-2025-04-21-00-21 * add arm builds for py3_pillow Signed-off-by: Satadru Pramanik <satadru@gmail.com> * add builds and rust rebuild Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update binaries Signed-off-by: Satadru Pramanik <satadru@gmail.com> * add more binaries Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@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.38.37-#{CREW_PY_VER}"
|
|
license 'Apache-2.0'
|
|
compatibility 'all'
|
|
source_url 'SKIP'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '0569963e739ae24381cd71b5d662b97866bc419e1fa902381b87826d74d57109',
|
|
armv7l: '0569963e739ae24381cd71b5d662b97866bc419e1fa902381b87826d74d57109',
|
|
i686: '2ec2869c2786380f6a611b9f682eafd171c35fcd25c4a318e2a1814ab5fa0fca',
|
|
x86_64: 'a7f8d5d55a72bd25813d2407c45eecdfe4e1c33d9ad7ac3d9347b220995c8d1d'
|
|
})
|
|
|
|
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
|