Files
guru/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild
Alessandro Barbieri c47d5626ec dev-python/confluent-kafka: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2021-09-27 18:47:30 +02:00

38 lines
824 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_8 )
inherit distutils-r1
DESCRIPTION="Confluent's Kafka Python Client"
HOMEPAGE="
https://pypi.org/project/confluent-kafka
https://github.com/confluentinc/confluent-kafka-python
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-libs/librdkafka
>=dev-python/fastavro-1.0[${PYTHON_USEDEP}]
>=dev-python/avro-1.10.0[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/pyrsistent[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/protobuf-python[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
test? (
dev-python/pytest-timeout[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest