# 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 Spanner API client library"

HOMEPAGE="https://github.com/googleapis/python-spanner"
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="libcst"
DEPENDENCIES="<dev-python/google-api-core-3.0.0[${PYTHON_USEDEP}]
	dev-python/google-cloud-core[${PYTHON_USEDEP}]
	dev-python/grpc-google-iam-v1[${PYTHON_USEDEP}]
	<dev-python/proto-plus-2.0.0[${PYTHON_USEDEP}]
	>=dev-python/sqlparse-0.4.4[${PYTHON_USEDEP}]
	<dev-python/proto-plus-2.0.0[${PYTHON_USEDEP}]
	<dev-python/protobuf-7.0.0[${PYTHON_USEDEP}]
	dev-python/grpc-interceptor[${PYTHON_USEDEP}]
	>=dev-python/opentelemetry-api-1.22.0[${PYTHON_USEDEP}]
	>=dev-python/opentelemetry-sdk-1.22.0[${PYTHON_USEDEP}]
	>=dev-python/opentelemetry-semantic-conventions-0.43_beta0[${PYTHON_USEDEP}]
	dev-python/opentelemetry-resourcedetector-gcp[${PYTHON_USEDEP}]
	dev-python/google-cloud-monitoring[${PYTHON_USEDEP}]
	dev-python/mmh3[${PYTHON_USEDEP}]
	libcst? ( >=dev-python/libcst-0.2.5[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"