Files
guru/dev-python/confluent-kafka/confluent-kafka-1.8.2.ebuild
Alessandro Barbieri 73579f8881 dev-python/confluent-kafka: new version
Closes: https://bugs.gentoo.org/815652
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-03-15 02:35:26 +01:00

40 lines
932 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MYPN="${PN}-python"
PYTHON_COMPAT=( python3_{8,9} )
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="https://github.com/confluentinc/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
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}"
BDEPEND="
test? (
dev-python/pytest-timeout[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest