# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="Google Cloud Storage API client library"

HOMEPAGE="https://github.com/googleapis/python-storage"
LICENSE="Apache-2.0"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME//-/_}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME//-/_}-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="grpc protobuf tracing"
DEPENDENCIES="<dev-python/google-auth-3.0.0[${PYTHON_USEDEP}]
	<dev-python/google-api-core-3.0.0[${PYTHON_USEDEP}]
	dev-python/google-cloud-core[${PYTHON_USEDEP}]
	dev-python/google-resumable-media[${PYTHON_USEDEP}]
	<dev-python/requests-3.0.0[${PYTHON_USEDEP}]
	dev-python/google-crc32c[${PYTHON_USEDEP}]
	grpc? ( <dev-python/google-api-core-3.0.0[${PYTHON_USEDEP}] )
	grpc? ( <dev-python/grpcio-2.0.0[${PYTHON_USEDEP}] )
	grpc? ( <dev-python/grpcio-2.0.0[${PYTHON_USEDEP}] )
	grpc? ( <dev-python/grpcio-status-2.0.0[${PYTHON_USEDEP}] )
	grpc? ( <dev-python/proto-plus-2.0.0[${PYTHON_USEDEP}] )
	grpc? ( <dev-python/proto-plus-2.0.0[${PYTHON_USEDEP}] )
	grpc? ( <dev-python/protobuf-7.0.0[${PYTHON_USEDEP}] )
	grpc? ( dev-python/grpc-google-iam-v1[${PYTHON_USEDEP}] )
	protobuf? ( <dev-python/protobuf-7.0.0[${PYTHON_USEDEP}] )
	tracing? ( <dev-python/opentelemetry-api-2.0.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"