diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-05 00:07:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-05 00:07:53 +0100 |
commit | 9d1e33edaf09cde926d589461f40e378d4124be9 (patch) | |
tree | b0a5a85acd92ce912a95245121dde9cebcf76b71 /dev-python/fsspec | |
parent | dafa6f367240d1f5329ca89fb6f78985dbdc025b (diff) |
gentoo auto-resync : 05:06:2024 - 00:07:52
Diffstat (limited to 'dev-python/fsspec')
-rw-r--r-- | dev-python/fsspec/Manifest | 2 | ||||
-rw-r--r-- | dev-python/fsspec/fsspec-2024.6.0.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 6045674c5262..e49a0b0e7bdd 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,3 +1,5 @@ +DIST filesystem_spec-2024.6.0.gh.tar.gz 409087 BLAKE2B 2ef06faec98173f0a13be365f1f9debca11e4587557b50a0b546b49c014782f4ab70c008a0a12158ce156dd5052b06fe67e9135f414f0c8a5829bf15b4b96f07 SHA512 97ecc5622787dc96d4cc05e7474da214405ae34d1eeee125752133258ea8c0ed9278d8d868544102a271431b01b797adea3834b3b2441e09c85dea01b56af066 DIST fsspec-2024.5.0.tar.gz 400066 BLAKE2B 4f497fa8efe4897958414e2739c06fed54ecd67babb7cbdfeb0c1b595547213aed1fb15f97dbd2f7f61a84fef7f3a96f36bb1ab5a2f4ca94251e7dccd64afe22 SHA512 b8430350c56ecaeca9496b6de7910d7f4423e17beb4250dcb440d9af6ab34ed83e2e9304b474d4b5611a9ee0941c34eba5c62d5a1f7d0cc1384d976ae3266e7f EBUILD fsspec-2024.5.0.ebuild 1188 BLAKE2B 5281eef2c22272a05ccc85e828cf4d529f39df44bd1d81be7bd367b2c1d9a87bcbb6a77c1b30db0e43fa3292ec978b0793696a3af86db48c11567dfb2a36bfd3 SHA512 dbc92bd8e7e7bac9fc7553de0f002d3d3e6c724f37d31083a4470a8faf5f8195041869b120d42b8ef1dfbc1af34777e13149fc4b317e655c0e3d95cf9247fc3f +EBUILD fsspec-2024.6.0.ebuild 1388 BLAKE2B 23ed4b5623f427aa9ac350368e963b78cb25591fa18731539113064114b0c68b57452d9f44eb9a20516ba00453e7d2f1172ccefb2d12382fe003c581dcf2dc96 SHA512 4700f58460b78b7787fde488780009de3031487e5b5d35ccd28946011a9a960a5c9c7d61249db2341450c70557919f4a23882a299e42216589f8683dfe00c2b7 MISC metadata.xml 374 BLAKE2B 6c0b18a0ad3b85713ae6f618ac0646ed63f08549bd7d1ed5bd94b80d89d79efaf2f97ce913a0a7d6e54e77cc602994416520a22deadcc71e484cf7ca22bc6dde SHA512 5bf051387d6bcffb3022d023f60ee8f76ca277bb8d626dda988a0baaf1d1e3a71e872d8316607ee7e269e579b5a17c23ab93c56fade533150171d3ce44e4bb71 diff --git a/dev-python/fsspec/fsspec-2024.6.0.ebuild b/dev-python/fsspec/fsspec-2024.6.0.ebuild new file mode 100644 index 000000000000..b95c492ab999 --- /dev/null +++ b/dev-python/fsspec/fsspec-2024.6.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +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/ +" +# upstream removed tests in 2024.6.0 +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=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + 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/pytest-rerunfailures[${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 + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_test() { + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + distutils-r1_src_test +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p pytest_mock -o tmp_path_retention_policy=all +} |