blob: 56b4fc5564fd8bb0cfc34fba5b628b2c92f0b450 (
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
30
|
# Maintainer: J. Nathanael Philipp (jnphilipp) <nathanael@philipp.land>
pkgname=python-cloudpathlib
_pkg="${pkgname#python-}"
pkgver=0.22.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"
depends=('python-typing_extensions')
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=("1c1ad1bf5f6aa40b625f0be0433f624412213035d40189b52efd217589079467")
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"
}
|