blob: 94b9016bdfad8f5d2bb6ab14b222a74f4355833e (
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
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=python-universal_pathlib
_pkgname=${pkgname#python-}
pkgver=0.3.10
pkgrel=1
pkgdesc='pathlib api extended to use fsspec backends'
arch=(any)
license=(MIT)
url="https://github.com/fsspec/$_pkgname"
depends=(python
python-fsspec)
makedepends=(python-{build,installer,wheel}
python-setuptools-scm)
_archive=("$_pkgname-$pkgver")
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.tar.gz")
sha256sums=('4487cbc90730a48cfb64f811d99e14b6faed6d738420cd5f93f59f48e6930bfb')
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
}
|