mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Aws_cli 1.32.114-py3.12 => Awscli 1.33.27-py3.12 (#10185)
This commit is contained in:
@@ -30,6 +30,7 @@ pkg_update_arr = [
|
||||
{ pkg_name: 'aprutil', pkg_rename: 'apr_util', pkg_deprecated: nil, comments: 'Renamed to better match upstream.' },
|
||||
{ pkg_name: 'arpscan', pkg_rename: 'arp_scan', pkg_deprecated: nil, comments: 'Renamed to better match upstream.' },
|
||||
{ pkg_name: 'aws', pkg_rename: 'aws_cli', pkg_deprecated: nil, comments: 'Renamed to better match upstream.' },
|
||||
{ pkg_name: 'aws_cli', pkg_rename: 'awscli', pkg_deprecated: nil, comments: 'Renamed to match pip package name.' },
|
||||
{ pkg_name: 'btrfsprogs', pkg_rename: 'btrfs_progs', pkg_deprecated: nil, comments: 'Renamed to better match upstream.' },
|
||||
{ pkg_name: 'bz2', pkg_rename: 'bzip2', pkg_deprecated: nil, comments: 'Renamed to better match upstream.' },
|
||||
{ pkg_name: 'bz3', pkg_rename: 'bzip3', pkg_deprecated: nil, comments: 'Renamed to better match upstream.' },
|
||||
|
||||
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
@@ -1,10 +1,9 @@
|
||||
require 'package'
|
||||
require 'buildsystems/pip'
|
||||
|
||||
class Aws_cli < Package
|
||||
class Awscli < Pip
|
||||
description 'Universal Command Line Interface for Amazon Web Services'
|
||||
homepage 'https://github.com/aws/aws-cli'
|
||||
@_ver = '1.32.114'
|
||||
version "#{@_ver}-py3.12"
|
||||
version '1.33.27-py3.12'
|
||||
license 'Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'SKIP'
|
||||
@@ -14,21 +13,16 @@ class Aws_cli < Package
|
||||
|
||||
no_compile_needed
|
||||
|
||||
def self.install
|
||||
system "pip install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} \
|
||||
-I awscli==#{@_ver} --no-warn-script-location"
|
||||
|
||||
pip_install_extras do
|
||||
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/bash.d"
|
||||
@awsbashrc = <<~AWSBASHRCEOF
|
||||
File.write "#{CREW_DEST_PREFIX}/etc/bash.d/aws", <<~AWSBASHRCEOF
|
||||
# Amazon Web Services CLI bash completion
|
||||
source #{CREW_PREFIX}/bin/aws_bash_completer
|
||||
AWSBASHRCEOF
|
||||
File.write("#{CREW_DEST_PREFIX}/etc/bash.d/aws", @awsbashrc)
|
||||
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/zsh.d"
|
||||
@awszshrc = <<~AWSZSHRCEOF
|
||||
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
|
||||
File.write("#{CREW_DEST_PREFIX}/etc/zsh.d/aws", @awszshrc)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user