mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-python/fsspec: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST filesystem_spec-2026.6.0.gh.tar.gz 458381 BLAKE2B 730479548ddc6f7727e0ff1d303f037951b71c3eefd0635e82923c262bf3f613ab8351ba7363c0498b98ccc8cb9b4f5312e669a93412f49fb3b6bca77c291959 SHA512 d05023fe56a643bfcfe7cd02898734334d78c9d72ad37be19778263ec25aa3ce2a66c26f3fc4468090dec4e93e17acb79a583ff622fe77b5a3b9fdc095730f7d
|
||||
DIST filesystem_spec-2026.7.0.gh.tar.gz 465547 BLAKE2B 7eaded35934c25e495616cda55dd0c96b7d59b938c55768551667882bce7b62d3be453d0bc69643af17d800ad86d44f9c5511e6fad23853ed329748164354264 SHA512 31ece98f2c7f4213caffe4bcbe26ad2e861b6dd0ba0a719b1086695a3d6fd8d79069c734c472a1eb62ee89636b0c46f2d5801276f81b055aa7c420b69e5c9ab9
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
# 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_{12..15} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature_header "Install optional filesystem backends:"
|
||||
optfeature "http" dev-python/aiohttp
|
||||
optfeature "gist/github/jupyter" dev-python/requests
|
||||
optfeature "ssh/sftp" dev-python/paramiko
|
||||
optfeature "arrow/hdfs" dev-python/pyarrow
|
||||
optfeature "libarchive" dev-python/libarchive-c
|
||||
}
|
||||
Reference in New Issue
Block a user