blob: 80122224b63ff7acdc16aa51f545b4cc3e84ddd4 (
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.20.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=("32ce0b101326f051e1389dfba7d52ee79024ff8b402c71455b03b66b82bbe65a")
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"
}
|