diff options
Diffstat (limited to 'dev-python/fsspec')
-rw-r--r-- | dev-python/fsspec/Manifest | 2 | ||||
-rw-r--r-- | dev-python/fsspec/fsspec-2023.4.0.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index cc57ccacfd91..0492ce99e76b 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,3 +1,5 @@ DIST filesystem_spec-2023.3.0.gh.tar.gz 352352 BLAKE2B e4a4edb882aa0aa15f654d3ae63d278b03a0b1fdc99fb1e7f48baefa750134aa2c9ddc89cc53aa829155b103107cbfb0c99d6c6fdeb5bf85068af5f1fc467ae4 SHA512 7c21eb60932267fe73dea3672d2e9b2d71fb3df26aedec9d109109168b91605602903518337563c00ae8b7d82212211ca569d3a91adb840eefd41eecab33c3ec +DIST filesystem_spec-2023.4.0.gh.tar.gz 356769 BLAKE2B 72425ae67b57e0e44589903b3858fcca73bd20894586782599e669eb56d48268677bdf6f6047b40317b2e5f10641bea77a4ffa4968666b4ee159536bdb82fd88 SHA512 3b8702de33519ea6e88b61c83b61399bfe1df1717aa1332488f427b0c875a74dfae9c81d8b1407a5c008fb26838e5c798ccddf7eff45bfca1476b5883cf3f0c0 EBUILD fsspec-2023.3.0.ebuild 1830 BLAKE2B c55981caf2ef78407afd92eca0b0be8137bbd1b26907329fb2eb9a608c9a2a83348f3ed80445db276424d40a14f08b51dac33db8070ebd0f2afdea8e8a5886d7 SHA512 ed043f8ae70819cb98f44885b68f8d9107b11b87d7a768ea55de0c2113960d6330b0618ab9146422d3546d3b4d61f33ca4e865209d54b32ece5ffd6812e3b3b4 +EBUILD fsspec-2023.4.0.ebuild 1664 BLAKE2B cc397972c2c060ac71aeadb2a988ad40985849f7521fc649c3ab39c0e8cfaab20f738063e2ae696946eea55908dbd8202880ecee922cd9f35ef1d91e0f0b78eb SHA512 a5a2da20a9b8095806d538ec65c8ea2cfb3ec954420f66a4006b2e1ed6fa89af3e44e08322d3e0378d5c7daae096e21789ad55889a1c5afb304e1479b92f4278 MISC metadata.xml 374 BLAKE2B 6c0b18a0ad3b85713ae6f618ac0646ed63f08549bd7d1ed5bd94b80d89d79efaf2f97ce913a0a7d6e54e77cc602994416520a22deadcc71e484cf7ca22bc6dde SHA512 5bf051387d6bcffb3022d023f60ee8f76ca277bb8d626dda988a0baaf1d1e3a71e872d8316607ee7e269e579b5a17c23ab93c56fade533150171d3ce44e4bb71 diff --git a/dev-python/fsspec/fsspec-2023.4.0.ebuild b/dev-python/fsspec/fsspec-2023.4.0.ebuild new file mode 100644 index 000000000000..d5afd3b814ef --- /dev/null +++ b/dev-python/fsspec/fsspec-2023.4.0.ebuild @@ -0,0 +1,64 @@ +# 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_{9..11} ) + +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 + ) +" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "you@example.com" || 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 +) |