# 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="high-level Ledger API client for Daml ledgers"

HOMEPAGE="https://github.com/digital-asset/dazl-client"
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="pygments tls-testing"
DEPENDENCIES=">=dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
	<dev-python/googleapis-common-protos-2.0[${PYTHON_USEDEP}]
	<dev-python/grpcio-2.0.0[${PYTHON_USEDEP}]
	<dev-python/httpx-0.28.0[${PYTHON_USEDEP}]
	>=dev-python/protobuf-6.0[${PYTHON_USEDEP}]
	pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )
	tls-testing? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
	>=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
	dev-python/semver[${PYTHON_USEDEP}]
	dev-python/typing-extensions[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"