mirror of
https://github.com/ivabus/pantry
synced 2025-06-08 08:20:32 +03:00
+az (azure-cli) (#451)
* add azure-cli * simplify build script * fix srcroot
This commit is contained in:
parent
49ebc2ac8a
commit
7506d017eb
1 changed files with 35 additions and 0 deletions
35
projects/microsoft.com/azure-cli/package.yml
Normal file
35
projects/microsoft.com/azure-cli/package.yml
Normal file
|
@ -0,0 +1,35 @@
|
|||
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
|
||||
python.org: ^3.10
|
||||
sourceware.org/libffi: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
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
|
Loading…
Reference in a new issue