mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
44 lines
1.1 KiB
Text
44 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-fsspec
|
|
pkgver=2021.07.0
|
|
pkgrel=0
|
|
pkgdesc="A specification for pythonic filesystems"
|
|
url="https://github.com/intake/filesystem_spec"
|
|
# mips blocked by py3-numpy
|
|
# s390x blocked by py3-distributed
|
|
arch="noarch !mips !mips64 !s390x"
|
|
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-requests
|
|
"
|
|
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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
bea483734e6c9773d93ee93b526c8074a28f0671fbee17b39858dc7a75fd71553ca6d8d5c4e2204446bca3e7c23f6d4c8e94b62ff920e546a2b71786d0dcb388 filesystem_spec-2021.07.0.tar.gz
|
|
"
|