diff options
| author | kj-sh604 | 2025-05-15 13:47:54 -0400 |
|---|---|---|
| committer | kj-sh604 | 2025-05-15 13:47:54 -0400 |
| commit | 567784ee66df2b5d4ba1518ff1d286d30bc9d134 (patch) | |
| tree | 9d911b80d626614592cc66bbf224e7ac1298b552 /azure-cli-kj_sh604 | |
| parent | 82e3005947a036ff5af38697836d08d09521ed64 (diff) | |
refactor: use `python311` instead of `python310`
Diffstat (limited to 'azure-cli-kj_sh604')
| -rw-r--r-- | azure-cli-kj_sh604/.SRCINFO | 4 | ||||
| -rw-r--r-- | azure-cli-kj_sh604/PKGBUILD | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/azure-cli-kj_sh604/.SRCINFO b/azure-cli-kj_sh604/.SRCINFO index 024a110..f05000e 100644 --- a/azure-cli-kj_sh604/.SRCINFO +++ b/azure-cli-kj_sh604/.SRCINFO @@ -1,5 +1,5 @@ pkgbase = azure-cli-kj_sh604 - pkgdesc = Command-line tools for Microsoft Azure (uses python3.10) + pkgdesc = Command-line tools for Microsoft Azure (uses python3.11) pkgver = 2.72.0 pkgrel = 1 url = https://github.com/Azure/azure-cli @@ -9,7 +9,7 @@ pkgbase = azure-cli-kj_sh604 depends = gcc-libs depends = glibc depends = libsecret - depends = python310 + depends = python311 provides = azure-cli conflicts = azure-cli options = !debug diff --git a/azure-cli-kj_sh604/PKGBUILD b/azure-cli-kj_sh604/PKGBUILD index 7542e01..58f5cbc 100644 --- a/azure-cli-kj_sh604/PKGBUILD +++ b/azure-cli-kj_sh604/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=azure-cli pkgname=azure-cli-kj_sh604 pkgver=2.72.0 pkgrel=1 -pkgdesc="Command-line tools for Microsoft Azure (uses python3.10)" +pkgdesc="Command-line tools for Microsoft Azure (uses python3.11)" # Microsoft has not updated `az` to support python 3.12 or 3.13 yet: https://learn.microsoft.com/en-us/cli/azure/azure-cli-support-lifecycle?view=azure-cli-latest#python-dependency arch=('any') url="https://github.com/Azure/azure-cli" @@ -13,7 +13,7 @@ depends=( "gcc-libs" "glibc" "libsecret" - "python310" + "python311" ) makedepends=("git") options=('!debug' '!strip') @@ -29,12 +29,11 @@ prepare() { package() { cd azure-cli mkdir -v "$pkgdir/opt" - python3.10 -m venv "$pkgdir/opt/azure-cli" + python3.11 -m venv "$pkgdir/opt/azure-cli" # shellcheck disable=SC1091 source "$pkgdir/opt/azure-cli/bin/activate" export PYTHONDONTWRITEBYTECODE=1 export PYTHONUNBUFFERED=1 - pip install --upgrade --no-cache-dir --no-compile pip wheel scripts/install_full.sh install -vDm755 "$srcdir/az" "$pkgdir/usr/bin/az" install -vDm644 az.completion "$pkgdir/usr/share/bash-completion/completions/az" |
