mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-python/fsspec: add optfeatures for fs backends
These are nondefault and highly runtime-switchable (honorable mention as usual to IUSE_RUNTIME). No revbump, it is informational only and deeply noncritical as such. Closes: https://bugs.gentoo.org/978837 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -6,7 +6,7 @@ EAPI=8
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
MY_P=filesystem_spec-${PV}
|
||||
DESCRIPTION="A specification that python filesystems should adhere to"
|
||||
@@ -65,3 +65,12 @@ python_test() {
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ EAPI=8
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
MY_P=filesystem_spec-${PV}
|
||||
DESCRIPTION="A specification that python filesystems should adhere to"
|
||||
@@ -59,3 +59,12 @@ python_test() {
|
||||
|
||||
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