commit:     70e7f5c2cacc65467348244618972ea57655d0e2
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 09:28:17 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 09:30:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70e7f5c2

dev-python/fsspec: add 2023.10.0

required from sci-libs/datasets

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-python/fsspec/Manifest                |  1 +
 dev-python/fsspec/fsspec-2023.10.0.ebuild | 65 +++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest
index bdd4784859d8..185f35cd4a97 100644
--- a/dev-python/fsspec/Manifest
+++ b/dev-python/fsspec/Manifest
@@ -1,2 +1,3 @@
+DIST filesystem_spec-2023.10.0.gh.tar.gz 404845 BLAKE2B 
6c8cf801664c9fc848cb55660db1725c90facf534d58e49f604b2051d1b6a78d13d8f083282071beb7ab3dcb8d75f6d52fe24ce744c5cf1808b4ae3cb673998d
 SHA512 
cb449052208516930c73dbe1de7c495d252677a3d3d85267836224d79c1b8cf9449ebdba8287f6f6206d5a8e631a99cd81c2fb62b82288a626a202876a45139c
 DIST filesystem_spec-2023.12.1.gh.tar.gz 408506 BLAKE2B 
8f07efccd294049e27b44154c5f4680db968c9ba7c3a36bdb4aa6d140bc615061c10c53d2109f90e0b6af3338cb9284acdfed867fc57172a4bee07fcc95d450e
 SHA512 
aeaa3f8ba512ca99488fe43b1c63a04d8b2d1b70a537142f3fa4437f608a702a26c25eb60788eb69cc310123801beb510cc485eca0754e39f0e5daa76f059a24
 DIST filesystem_spec-2023.12.2.gh.tar.gz 409321 BLAKE2B 
f074d8d3277a954bebc29bca663d142763a6b9f13edb43286b1f59aff125c9eec0ae18cfa44b99a35daca7a9bf89a627c9abe57cbebe713ac494ca98f61899eb
 SHA512 
654ff72b9c5ca648d4a4b469b4f3706b3200f023e26b657e3200dee301469da6f67c93fcfaa82edae7c7b074fe77715d0093269a38ee68416cf8491203bde5cb

diff --git a/dev-python/fsspec/fsspec-2023.10.0.ebuild 
b/dev-python/fsspec/fsspec-2023.10.0.ebuild
new file mode 100644
index 000000000000..1cdf466d85da
--- /dev/null
+++ b/dev-python/fsspec/fsspec-2023.10.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+MY_P=filesystem_spec-${PV}
+DESCRIPTION="A specification that python filesystems should adhere to"
+HOMEPAGE="
+       https://github.com/fsspec/filesystem_spec/
+       https://pypi.org/project/fsspec/
+"
+SRC_URI="
+       https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+BDEPEND="
+       test? (
+               dev-python/aiohttp[${PYTHON_USEDEP}]
+               dev-python/numpy[${PYTHON_USEDEP}]
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+               dev-python/requests[${PYTHON_USEDEP}]
+               dev-python/tqdm[${PYTHON_USEDEP}]
+               dev-vcs/git
+       )
+"
+
+# Note: this package is not xdist-friendly
+distutils_enable_tests pytest
+
+src_test() {
+       git config --global user.email "[email protected]" || die
+       git config --global user.name "Your Name" || die
+       distutils-r1_src_test
+}
+
+EPYTEST_DESELECT=(
+       fsspec/tests/test_spec.py::test_find
+       # requires s3fs
+       
fsspec/implementations/tests/test_local.py::test_urlpath_inference_errors
+       fsspec/tests/test_core.py::test_mismatch
+       # requires pyarrow, fastparquet
+       fsspec/implementations/tests/test_reference.py::test_df_single
+       fsspec/implementations/tests/test_reference.py::test_df_multi
+)
+
+EPYTEST_IGNORE=(
+       # sftp and smb require server started via docker
+       fsspec/implementations/tests/test_dbfs.py
+       fsspec/implementations/tests/test_sftp.py
+       fsspec/implementations/tests/test_smb.py
+       # unhappy about dev-python/fuse-python (?)
+       fsspec/tests/test_fuse.py
+)

Reply via email to