summaryrefslogtreecommitdiff
path: root/dev-python/blobfile
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-07-14 03:04:44 -0500
committerroot <root@alpha.trunkmasters.com>2026-07-14 03:04:44 -0500
commit22ab5437b999b26eb3960d336dd392ccab062827 (patch)
tree43a85d35f8768ca8bfe5dbff9b129ada4b8c7847 /dev-python/blobfile
parentd6c616f80bd44aa3323ca5211338d251e1215938 (diff)
downloadbaldeagleos-repo-22ab5437b999b26eb3960d336dd392ccab062827.tar.gz
baldeagleos-repo-22ab5437b999b26eb3960d336dd392ccab062827.tar.xz
baldeagleos-repo-22ab5437b999b26eb3960d336dd392ccab062827.zip
Adding metadata
Diffstat (limited to 'dev-python/blobfile')
-rw-r--r--dev-python/blobfile/Manifest2
-rw-r--r--dev-python/blobfile/blobfile-3.2.0.ebuild24
2 files changed, 22 insertions, 4 deletions
diff --git a/dev-python/blobfile/Manifest b/dev-python/blobfile/Manifest
index b13533a6eef3..5996b02087d8 100644
--- a/dev-python/blobfile/Manifest
+++ b/dev-python/blobfile/Manifest
@@ -1 +1 @@
-DIST blobfile-3.2.0.tar.gz 78442 BLAKE2B f89d39931a87ac2f6a98fc793771b1d3fd5b199553f18cefaabd49a21d2d2e61bf3c0a805c1b7c6f4c6dfdd2a3ce080349f4b2e9c0504e89627138754a0cab9e SHA512 aa254372e410d7cce5fc6cbe3af61c0e8a99f6adf38b38a024e45155b64552fdea4acb0aa41ec20208ab1abd0b8719718ba8abe29274639808299f7d5a0e7eca
+DIST blobfile-3.2.0.gh.tar.gz 81097 BLAKE2B 76caae4442002ba13f273f740c733ec91ddeb1a96625965cdb0e41b1aca9bbcacd9c0ae38dfd31ffabfac47036c17f5de87223c86fe9e59a1805bc6a75479059 SHA512 a74d522d94ec2a4c5cc0a6ea3a302b1b14668c74c33db353ff5f671ed580be89e655a0866c31815d71c9ed0f3598b2a79b8405f6bbf170f962c6a38ae2630ead
diff --git a/dev-python/blobfile/blobfile-3.2.0.ebuild b/dev-python/blobfile/blobfile-3.2.0.ebuild
index 94bb62f4da87..56dd2910805f 100644
--- a/dev-python/blobfile/blobfile-3.2.0.ebuild
+++ b/dev-python/blobfile/blobfile-3.2.0.ebuild
@@ -6,19 +6,20 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{13..14} )
-inherit distutils-r1 pypi
+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"
-PROPERTIES="test_network"
-RESTRICT="test"
RDEPEND="
>=dev-python/filelock-3.0[${PYTHON_USEDEP}]
@@ -39,3 +40,20 @@ python_prepare() {
sed -e 's/pycryptodomex/pycryptodome/' -i pyproject.toml || die
sed -e 's/from Cryptodome/from Crypto/' -i blobfile/_gcp.py || die
}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # network
+ blobfile/_ops_test.py::test_az_path
+ blobfile/_ops_test.py::test_azure_public_get_url
+ blobfile/_ops_test.py::test_copy_azure_public
+ blobfile/_ops_test.py::test_gcs_public
+ blobfile/_ops_test.py::test_concurrent_write_as
+ blobfile/_ops_test.py::test_more_exists
+ blobfile/_ops_test.py::test_invalid_paths
+ blobfile/_ops_test.py::test_azure_public_container
+ blobfile/_ops_test.py::test_scandir_error
+ )
+
+ epytest -k "not _get_temp_gcs_path and not _get_temp_as_path" blobfile/*_test.py
+}