mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
dev-python/blobfile: drop 3.2.0-r1
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
1 parent
2ad7e17057
commit
355e002097
2 files changed
-69
No files matched your search
@@ -1,2 +1 @@
|
||||
DIST blobfile-3.2.0.gh.tar.gz 81097 BLAKE2B 76caae4442002ba13f273f740c733ec91ddeb1a96625965cdb0e41b1aca9bbcacd9c0ae38dfd31ffabfac47036c17f5de87223c86fe9e59a1805bc6a75479059 SHA512 a74d522d94ec2a4c5cc0a6ea3a302b1b14668c74c33db353ff5f671ed580be89e655a0866c31815d71c9ed0f3598b2a79b8405f6bbf170f962c6a38ae2630ead
|
||||
DIST blobfile-3.3.0.gh.tar.gz 81166 BLAKE2B 6a6ed0ca6ae87224a5476fb92908682c08b9bc023908239dd29fc92c67125d294846cd073d637a5df155370f5e26a25795dc3a09cab1c70a4a5dd5a397bca215 SHA512 26847ae86c497b66350f6bf1a293c4edb6d5b48a89bf11ed011d551ca97d46f97dd4af203a64cb848dc3ecf814fb2418840bb073199ad08f82517e6b960918b1
|
||||
@@ -1,68 +0,0 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Read GCS, ABS and local paths with the same interface, tensorflow.io.gfile clone"
|
||||
HOMEPAGE="
|
||||
https://github.com/blobfile/blobfile
|
||||
https://pypi.org/project/blobfile/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/filelock-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-4.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodome-3.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-2[${PYTHON_USEDEP}]
|
||||
"
|
||||
# numpy is imported but not declared in pyproject.toml
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/xmltodict[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
sed -e 's/pycryptodomex/pycryptodome/' -i pyproject.toml || die
|
||||
sed -e 's/from Cryptodome/from Crypto/' -i blobfile/_gcp.py || die
|
||||
|
||||
# don't install tests
|
||||
# https://github.com/blobfile/blobfile/issues/226
|
||||
mkdir tests || die
|
||||
mv blobfile/*_test.py tests/ || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# network
|
||||
tests/_ops_test.py::test_az_path
|
||||
tests/_ops_test.py::test_azure_public_get_url
|
||||
tests/_ops_test.py::test_copy_azure_public
|
||||
tests/_ops_test.py::test_gcs_public
|
||||
tests/_ops_test.py::test_concurrent_write_as
|
||||
tests/_ops_test.py::test_more_exists
|
||||
tests/_ops_test.py::test_invalid_paths
|
||||
tests/_ops_test.py::test_azure_public_container
|
||||
tests/_ops_test.py::test_scandir_error
|
||||
)
|
||||
|
||||
epytest -k "not _get_temp_gcs_path and not _get_temp_as_path" tests
|
||||
}
|
||||
Reference in new issue
Block a user