summaryrefslogtreecommitdiff
path: root/python-azure-cli-core
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-01-02 12:47:06 +0100
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-01-02 16:40:56 +0100
commitf42272aaa280956d77891d40039c9ba67bfb8882 (patch)
treead828671dc0139f23800574fe7a2ba88539b3ea4 /python-azure-cli-core
parent33271ea04d8b2dd02000aefb477bd207475b441a (diff)
downloadarchlinuxewe-f42272aaa280956d77891d40039c9ba67bfb8882.tar.xz
try to fix azure-cli packages
Diffstat (limited to 'python-azure-cli-core')
-rw-r--r--python-azure-cli-core/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/python-azure-cli-core/PKGBUILD b/python-azure-cli-core/PKGBUILD
new file mode 100644
index 000000000..81247ce5b
--- /dev/null
+++ b/python-azure-cli-core/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+
+_pkgname=azure-cli-core
+pkgname=python-$_pkgname
+pkgver=2.43.0
+pkgrel=1
+pkgdesc='Microsoft Azure Command-Line Tools Core Module'
+url='https://pypi.org/project/azure-cli-core/'
+depends=(
+ 'python>=3.10'
+ 'python<3.11'
+ 'python-azure-common'
+ 'python-humanfriendly'
+ 'python-knack'
+ 'python-pkginfo')
+makedepends=(
+ 'python-pip'
+ 'python-setuptools')
+license=('BSD')
+arch=('i686' 'pentium4' 'x86_64')
+source=("https://files.pythonhosted.org/packages/83/b3/849ccb3938efa1f9167930ec282d9797601dffb7f1218779f325d4e76388/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('b033ece4f3a933e6fb8e3ebb2306cb6c6af584bc79595c6fc102912078786de8d4db678f9e78c73a3889e29e3f4970ad896cd11b8fd5f867940f3d41c6b83dcc')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py build_ext --inplace
+ python setup.py test
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}