dev-python/confluent-kafka: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-09-27 18:10:12 +02:00
parent d4f2d81d6d
commit c47d5626ec
3 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
# 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