2023-03-05 04:12:37 +03:00
|
|
|
|
distributable:
|
|
|
|
|
url: https://github.com/Azure/azure-cli/archive/refs/tags/azure-cli-{{version}}.tar.gz
|
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
|
|
# if there’s a github then we can parse the versions
|
|
|
|
|
versions:
|
|
|
|
|
github: Azure/azure-cli/tags # reads github tags from github
|
|
|
|
|
strip: /^azure-cli-/
|
|
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
|
openssl.org: 1.1
|
2023-10-03 18:23:56 +03:00
|
|
|
|
python.org: '>=3.10<3.12'
|
2023-03-05 04:12:37 +03:00
|
|
|
|
sourceware.org/libffi: '*'
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
dependencies:
|
|
|
|
|
rust-lang.org: '*'
|
|
|
|
|
linux:
|
|
|
|
|
freedesktop.org/pkg-config: '*'
|
|
|
|
|
|
|
|
|
|
script: |
|
|
|
|
|
_SRCROOT="$SRCROOT"
|
|
|
|
|
for venv in azure-cli{-telemetry,-core,}; do
|
|
|
|
|
SRCROOT="$_SRCROOT"/src/"$venv" python-venv.sh "{{prefix}}"/bin/az
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
provides:
|
|
|
|
|
- bin/az
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
script: |
|
|
|
|
|
az cloud show --name AzureCloud
|