# 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="Etcd client built with pure asyncio gRPC library"

HOMEPAGE="https://github.com/lablup/etcetra"
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="build lint test typecheck"
DEPENDENCIES="~dev-python/protobuf-4.25.3[${PYTHON_USEDEP}]
	~dev-python/grpcio-1.62.2[${PYTHON_USEDEP}]
	dev-python/grpcio-tools[${PYTHON_USEDEP}]
	build? ( >=dev-python/wheel-0.36.2[${PYTHON_USEDEP}] )
	build? ( >=dev-python/twine-3.4.1[${PYTHON_USEDEP}] )
	lint? ( >=dev-python/flake8-4.0.1[${PYTHON_USEDEP}] )
	lint? ( dev-python/flake8-commas[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-6.2.5[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-asyncio-0.16.0[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-cov-2.11[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-mock-3.5.0[${PYTHON_USEDEP}] )
	test? ( dev-python/codecov[${PYTHON_USEDEP}] )
	typecheck? ( >=dev-python/mypy-1.4.1[${PYTHON_USEDEP}] )
	typecheck? ( dev-python/types-protobuf[${PYTHON_USEDEP}] )
	typecheck? ( dev-python/types-setuptools[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"