blob: 8b56e8f01000422ca067122732c3f279eddbbf93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Konstantin Gizdov <arch at kge dot pw>
_name='azure-storage-blob'
pkgname=python-${_name}
pkgver=12.25.0
pkgrel=1
pkgdesc="Microsoft Azure Blob Storage Client Library for Python."
url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob"
depends=('python' 'python-azure-core' 'python-cryptography' 'python-typing_extensions' 'python-isodate')
makedepends=('python-installer' 'python-setuptools' 'python-build' 'python-wheel')
optdepends=('python-aiohttp')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/${_name//-/_}-$pkgver.tar.gz")
sha256sums=('42364ca8f9f49dbccd0acc10144ed47bb6770bf78719970b51915f048891abba')
build() {
cd "${srcdir}"/${_name//-/_}-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}"/${_name//-/_}-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|