# 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="Message layer security/crypto for Kafka"

HOMEPAGE="https://github.com/tmcqueen-materials/kafkacrypto"
LICENSE="GNU GPLv2"
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="confluent-kafka kafka-python liboqs-python pyspx-slhdsa"
DEPENDENCIES="dev-python/certifi[${PYTHON_USEDEP}]
	dev-python/dirhash[${PYTHON_USEDEP}]
	>=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
	dev-python/pysodium[${PYTHON_USEDEP}]
	confluent-kafka? ( dev-python/confluent-kafka[${PYTHON_USEDEP}] )
	kafka-python? ( dev-python/kafka-python[${PYTHON_USEDEP}] )
	liboqs-python? ( dev-python/liboqs-python[${PYTHON_USEDEP}] )
	pyspx-slhdsa? ( dev-python/pyspx-slhdsa[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"