Date: Thursday, April 6, 2023 @ 03:05:45
Author: felixonmars
Revision: 1438199
archrelease: copy trunk to community-staging-any
Added:
python-fsspec/repos/community-staging-any/
python-fsspec/repos/community-staging-any/PKGBUILD
(from rev 1438197, python-fsspec/trunk/PKGBUILD)
----------+
PKGBUILD | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
Copied: python-fsspec/repos/community-staging-any/PKGBUILD (from rev 1438197,
python-fsspec/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 03:05:45 UTC (rev 1438199)
@@ -0,0 +1,73 @@
+# Maintainer: Bruno Pagani <[email protected]>
+
+_pkg=filesystem_spec
+pkgname=python-fsspec
+pkgver=2022.11.0
+pkgrel=2
+pkgdesc="Specification that python filesystems should adhere to."
+arch=(any)
+url="https://github.com/intake/filesystem_spec"
+license=(BSD)
+depends=(python)
+makedepends=(python-setuptools)
+optdepends=(
+ 'python-aiohttp: HTTP support'
+ 'python-distributed: Dask support'
+ 'python-libarchive-c: archives support'
+ 'python-lz4: LZ4 compression support'
+ 'python-paramiko: SFTP support'
+ 'python-pyarrow: Arrow/Parquet support'
+ 'python-pygit2: git support'
+ 'python-requests: web protocols support'
+ 'python-smbprotocol: SMB support'
+ 'python-snappy: snappy compression support'
+ 'python-zstandard: zstandard (zstd) compression support'
+)
+checkdepends=(git
+ python-pytest
+ python-pytest-asyncio
+ python-pytest-mock
+ python-pytest-vcr
+ python-aiohttp
+ python-dask
+ python-distributed
+# python-fusepy
+ python-libarchive-c
+ python-paramiko
+ python-pyarrow
+ python-pygit2
+ python-requests
+ python-smbprotocol
+ python-cloudpickle
+ python-jinja
+ python-lz4
+ python-msgpack
+ python-numpy
+ python-pandas
+ python-pyftpdlib
+ python-snappy
+ python-tomli
+ python-tqdm
+ python-zstandard
+ jupyter-notebook
+)
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('0c0c8373aba084c192396796eb3445841627fa16c7e43fc984439ae5b1b87545')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ # These tests do not work on CI, neither on our build server
+ pytest -vv --color=yes -rs --deselect
fsspec/implementations/tests/test_http.py::test_processes
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
--skip-build
+ # Install license file
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}