blob: da1507418e684717a80c742dda42446593a0f3b0 (
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
26
27
28
29
|
# Maintainer: J. Nathanael Philipp (jnphilipp) <nathanael@philipp.land>
pkgname=python-cloudpathlib
_pkg="${pkgname#python-}"
pkgver=0.21.0
pkgrel=1
pkgdesc="Python pathlib-style classes for cloud storage services such as Amazon S3, Azure Blob Storage, and Google Cloud Storage."
url="https://github.com/drivendataorg/cloudpathlib"
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
'python-flit-core')
license=('MIT')
arch=(any)
source=("$pkgname-$pkgver.tar.gz::https://github.com/drivendataorg/$_pkg/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=("4ebe3b205d32cc3207e5495f6ef0435a939ee1cf99ccbb5b62a56f8b979e23a0")
build() {
cd ${_pkg}-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd ${_pkg}-${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|