1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/py3-fsspec/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

47 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-fsspec
pkgver=2022.11.0
pkgrel=0
pkgdesc="A specification for pythonic filesystems"
url="https://github.com/intake/filesystem_spec"
arch="noarch"
license="BSD-3-Clause"
depends="
py3-tqdm
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
"
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="
bc981990276f7fb52b4132f46f6e057ab641e0ac67917f4887234790b1c9a38d8cf586d60c7815966b70939ed5d534ecd274d8c1da1701d4760d5e5d1d7fabb9 filesystem_spec-2022.11.0.tar.gz
"