summaryrefslogtreecommitdiff
path: root/python-azure-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-core
parent33271ea04d8b2dd02000aefb477bd207475b441a (diff)
downloadarchlinuxewe-f42272aaa280956d77891d40039c9ba67bfb8882.tar.xz
try to fix azure-cli packages
Diffstat (limited to 'python-azure-core')
-rw-r--r--python-azure-core/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/python-azure-core/PKGBUILD b/python-azure-core/PKGBUILD
new file mode 100644
index 000000000..b16d4a702
--- /dev/null
+++ b/python-azure-core/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+
+_pkgname=azure-core
+pkgname=python-$_pkgname
+pkgver=1.26.1
+pkgrel=1
+pkgdesc='Microsoft Azure Core Library for Python'
+url='https://pypi.org/project/azure-core/'
+depends=(
+ 'python>=3.10'
+ 'python<3.11'
+ 'python-azure-common'
+)
+makedepends=(
+ 'python-pip'
+ 'python-setuptools')
+checkdepends=(
+ 'python-aiohttp'
+ 'python-trio')
+license=('MIT')
+arch=('i686' 'pentium4' 'x86_64')
+source=("https://files.pythonhosted.org/packages/4f/ec/3ba46ff4deebe738b7213997fc856553282e971a767b6291e05aca9d9566/${_pkgname}-${pkgver}.zip")
+sha512sums=('dcddf28bdbac913e66640adb7c511c74e4597756c444d2ef43fb82d5348eae391544715cbe95600d8caec9afcfe8ab5d20b9b33c49b8fd026b8f0f7657cae931')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py build_ext --inplace
+}
+
+check() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py test
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+}