mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Add unbuilt updated pip packages to updates-2025-05-20-00-22 * Add unbuilt updated ruby gem packages to updates-2025-05-20-00-22 * Add built packages for linux/386 to updates-2025-05-20-00-22 * Add built packages for linux/amd64 to updates-2025-05-20-00-22 * Add built packages for linux/arm/v7 to updates-2025-05-20-00-22 --------- 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.1 KiB
Ruby
37 lines
1.1 KiB
Ruby
require 'buildsystems/pip'
|
|
|
|
class Py3_azure_cli < Pip
|
|
description 'Next generation multi-platform command line experience for Azure.'
|
|
homepage 'https://pypi.org/project/azure-cli/'
|
|
version "2.73.0-#{CREW_PY_VER}"
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'SKIP'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'a4a40910e330bc797451b5a7d42d54c5de9eebac5f5f18e2a86388c3109f4ceb',
|
|
armv7l: 'a4a40910e330bc797451b5a7d42d54c5de9eebac5f5f18e2a86388c3109f4ceb',
|
|
i686: '1899b369b5a3d267c815d2cc62f0a644ad8137370beffd57001a0a1861bfcb73',
|
|
x86_64: '2890116c568412b537d04951dc5d880dff225394b8944f4922314aee091a48b7'
|
|
})
|
|
|
|
depends_on 'python3'
|
|
depends_on 'py3_bcrypt'
|
|
depends_on 'py3_cryptography'
|
|
depends_on 'py3_pynacl'
|
|
depends_on 'rust' => :build
|
|
|
|
no_source_build
|
|
print_source_bashrc
|
|
|
|
pip_install_extras do
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/bash.d/"
|
|
@azureenv = <<~AZUREEOF
|
|
# Microsoft Azure CLI bash completion
|
|
source #{CREW_PREFIX}/bin/az.completion.sh
|
|
AZUREEOF
|
|
File.write("#{CREW_DEST_PREFIX}/etc/bash.d/az", @azureenv)
|
|
end
|
|
end
|