mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* Add unbuilt updated pip packages to updates-2025-07-02-00-22 * Add built packages for linux/386 to updates-2025-07-02-00-22 * Add built packages for linux/amd64 to updates-2025-07-02-00-22 * Add built packages for linux/arm/v7 to updates-2025-07-02-00-22 * Update py3_pillow.rb --------- 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> Co-authored-by: Satadru Pramanik, DO, MPH, MEng <satadru@gmail.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.75.0-#{CREW_PY_VER}"
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'SKIP'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '5e874e62b905e39e0f08ab48c22c5cc46ef41355744f8b294338f33c694b5e94',
|
|
armv7l: '5e874e62b905e39e0f08ab48c22c5cc46ef41355744f8b294338f33c694b5e94',
|
|
i686: '0f116584de82dcbb15d0e3df1082a0e534960274281adca4dd0bf3b80d8c6921',
|
|
x86_64: '253c26ed3518568388b91333d524bc5b4f46de01d14c800ddac2d9f12ad5f479'
|
|
})
|
|
|
|
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
|