blob: a42def47f56ac07717fcf5e74b82278be9fc62f6 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-fsspec
pkgver=2023.12.2
pkgrel=2
pkgdesc="A specification for pythonic filesystems"
url="https://github.com/intake/filesystem_spec"
arch="noarch"
license="BSD-3-Clause"
makedepends="
py3-gpep517
py3-setuptools
py3-wheel
"
checkdepends="
py3-aiohttp
py3-cloudpickle
py3-lz4
py3-numpy
py3-paramiko
py3-pyftpdlib
py3-pygit2
py3-pytest
py3-pytest-asyncio
py3-pytest-mock
py3-requests
py3-tqdm
"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/intake/filesystem_spec/archive/$pkgver.tar.gz"
builddir="$srcdir/filesystem_spec-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
check() {
python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/*.whl
# test find and test_dbfs.py require network connections
.testenv/bin/python3 -m pytest -k 'not test_find' \
--deselect fsspec/implementations/tests/test_dbfs.py
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
960fbee750f4158f98caa57e30cace376f2a59ff20e06badb527d53673ce41a9260e08181a63f02aed4038a86250ea27883481a23d845906ceae8c55ee5477d3 py3-fsspec-2023.12.2.tar.gz
"
|