From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/fsspec/Manifest | 2 + dev-python/fsspec/fsspec-2026.3.0.ebuild | 67 ++++++++++++++++++++++++++++++++ dev-python/fsspec/fsspec-2026.4.0.ebuild | 67 ++++++++++++++++++++++++++++++++ dev-python/fsspec/metadata.xml | 9 +++++ 4 files changed, 145 insertions(+) create mode 100644 dev-python/fsspec/Manifest create mode 100644 dev-python/fsspec/fsspec-2026.3.0.ebuild create mode 100644 dev-python/fsspec/fsspec-2026.4.0.ebuild create mode 100644 dev-python/fsspec/metadata.xml (limited to 'dev-python/fsspec') diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest new file mode 100644 index 000000000000..af07139ac84a --- /dev/null +++ b/dev-python/fsspec/Manifest @@ -0,0 +1,2 @@ +DIST filesystem_spec-2026.3.0.gh.tar.gz 452108 BLAKE2B cf4f4ef45908453934a1b63e1114d012f7c33bd4400b4c1193215e616243340dce642508c11e4b4f38f3e3db3b3ce6a5ad339669cf2e1a6ce8725ada7d9122b2 SHA512 861a9b1f88b80e41a3aa1e6d199a6c1a33db481fd9da17659c6a8e56857043103c6215a52550a403207ee296355e58acad8334ea6fe0af52a0a8cab8ac06dc7e +DIST filesystem_spec-2026.4.0.gh.tar.gz 455367 BLAKE2B b47f54816eb19caf256e1291be7395493db82fa10c90f81a3b06ed49a8bf90aff23350f904ae0aae4fa4b54b7c6d4d6a08279c3307036822bd7dc35888fa3440 SHA512 289669397c965af7e9242b9cc181bba5bbac8ead95e4288135ce2cd209e37a15c0361652f221f2e0c68161041b24848113ad104582bc27188357da5ca3e29701 diff --git a/dev-python/fsspec/fsspec-2026.3.0.ebuild b/dev-python/fsspec/fsspec-2026.3.0.ebuild new file mode 100644 index 000000000000..3b5a1ed4e0d2 --- /dev/null +++ b/dev-python/fsspec/fsspec-2026.3.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{13..14} ) + +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/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +# Note: this package is not xdist-friendly +EPYTEST_PLUGINS=( pytest-{asyncio,mock,rerunfailures} ) +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 + + # block importing pyarrow, it's causing Python to crash with + # the immutability assertion. + cat > pyarrow.py <<-EOF || die + raise ImportError("thou shalt not import pyarrow") + EOF + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + fsspec/implementations/tests/test_reference.py::test_async_cat_file_ranges + fsspec/implementations/tests/test_github.py + fsspec/implementations/tests/test_gist.py + ) + + epytest -o tmp_path_retention_policy=all +} diff --git a/dev-python/fsspec/fsspec-2026.4.0.ebuild b/dev-python/fsspec/fsspec-2026.4.0.ebuild new file mode 100644 index 000000000000..3b5a1ed4e0d2 --- /dev/null +++ b/dev-python/fsspec/fsspec-2026.4.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{13..14} ) + +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/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +# Note: this package is not xdist-friendly +EPYTEST_PLUGINS=( pytest-{asyncio,mock,rerunfailures} ) +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 + + # block importing pyarrow, it's causing Python to crash with + # the immutability assertion. + cat > pyarrow.py <<-EOF || die + raise ImportError("thou shalt not import pyarrow") + EOF + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + fsspec/implementations/tests/test_reference.py::test_async_cat_file_ranges + fsspec/implementations/tests/test_github.py + fsspec/implementations/tests/test_gist.py + ) + + epytest -o tmp_path_retention_policy=all +} diff --git a/dev-python/fsspec/metadata.xml b/dev-python/fsspec/metadata.xml new file mode 100644 index 000000000000..d34971a915e9 --- /dev/null +++ b/dev-python/fsspec/metadata.xml @@ -0,0 +1,9 @@ + + + + + python@gentoo.org + + + baldeagleos-repo + -- cgit v1.3.1