commit:     f40768f4ce9ec0b5f4bf06f5b02418f2accf4f27
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  5 03:31:39 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb  5 03:31:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f40768f4

dev-python/fsspec: Bump to 2024.2.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

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

diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest
index b94f9a2ba2cc..beb901808bef 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.2.gh.tar.gz 409321 BLAKE2B 
f074d8d3277a954bebc29bca663d142763a6b9f13edb43286b1f59aff125c9eec0ae18cfa44b99a35daca7a9bf89a627c9abe57cbebe713ac494ca98f61899eb
 SHA512 
654ff72b9c5ca648d4a4b469b4f3706b3200f023e26b657e3200dee301469da6f67c93fcfaa82edae7c7b074fe77715d0093269a38ee68416cf8491203bde5cb
+DIST filesystem_spec-2024.2.0.gh.tar.gz 424600 BLAKE2B 
548f77229dd936437cbafcd4e8df2a5c25e6244ba5c95553cb84eabbb6d8c2aa16313896b4aecbb6c921d01f84c6c5517b13a2cf1552cac0fa29da8034873143
 SHA512 
ca8c7c448984ecd9b128608f2c028cf32baf3cda3f22addde80c3bef5c1e5644e010b739fb5d28dc951151fdafb4006def080e8c2c769179b1d145ad6e2f9370

diff --git a/dev-python/fsspec/fsspec-2024.2.0.ebuild 
b/dev-python/fsspec/fsspec-2024.2.0.ebuild
new file mode 100644
index 000000000000..b698530b6789
--- /dev/null
+++ b/dev-python/fsspec/fsspec-2024.2.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2020-2024 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