aports/community/py3-fsspec/APKBUILD
psykose ca62430536 community/py3-fsspec: remove optional dep
every dep is optional including this one
2023-05-08 14:55:39 +02:00

49 lines
1.1 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-fsspec
pkgver=2023.5.0
pkgrel=1
pkgdesc="A specification for pythonic filesystems"
url="https://github.com/intake/filesystem_spec"
arch="noarch"
license="BSD-3-Clause"
depends="
python3
"
makedepends="py3-setuptools"
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="https://github.com/intake/filesystem_spec/archive/$pkgver/filesystem_spec-$pkgver.tar.gz"
builddir="$srcdir/filesystem_spec-$pkgver"
build() {
python3 setup.py build
}
check() {
# test find and test_dbfs.py require network connections
pytest -k 'not test_find' \
--deselect fsspec/implementations/tests/test_dbfs.py
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
6f8e574ab234ea6184ab908d4bd475b4e734ce56e49d0efc4d0b2403e67e84448545e82fe33be408d51dffb56f100844e03c283760d921287d530176159ecf9d filesystem_spec-2023.5.0.tar.gz
"