Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/confluent-kafka/
Date: Mon, 27 Sep 2021 16:47:38
Message-Id: 1632761250.c47d5626ecaa7338edd584eddc21b10da8fad0e6.Alessandro-Barbieri@gentoo
1 commit: c47d5626ecaa7338edd584eddc21b10da8fad0e6
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Mon Sep 27 16:10:12 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Mon Sep 27 16:47:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c47d5626
7
8 dev-python/confluent-kafka: initial import
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-python/confluent-kafka/Manifest | 1 +
13 .../confluent-kafka/confluent-kafka-1.7.0.ebuild | 37 ++++++++++++++++++++++
14 dev-python/confluent-kafka/metadata.xml | 18 +++++++++++
15 3 files changed, 56 insertions(+)
16
17 diff --git a/dev-python/confluent-kafka/Manifest b/dev-python/confluent-kafka/Manifest
18 new file mode 100644
19 index 000000000..16969c2b5
20 --- /dev/null
21 +++ b/dev-python/confluent-kafka/Manifest
22 @@ -0,0 +1 @@
23 +DIST confluent-kafka-1.7.0.tar.gz 103220 BLAKE2B ac61fb3ce5307f07e6054406d287ef93dad9561e96cc26ba1f9200fcfc931321b157ac2f02a3e96086af2e93aafbbacae2cd77a0c35f53d866e16b17195dc82f SHA512 242736ba1538bef2b9627554e107ec0b435ff78dba321efd3b6feaafea786d6d35641753ea473962962dc0eefca204612483796b68e166f5016618f04c5fd705
24
25 diff --git a/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild b/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild
26 new file mode 100644
27 index 000000000..ddafad0ae
28 --- /dev/null
29 +++ b/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_8 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Confluent's Kafka Python Client"
41 +HOMEPAGE="
42 + https://pypi.org/project/confluent-kafka
43 + https://github.com/confluentinc/confluent-kafka-python
44 +"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64"
50 +
51 +RDEPEND="
52 + dev-libs/librdkafka
53 + >=dev-python/fastavro-1.0[${PYTHON_USEDEP}]
54 + >=dev-python/avro-1.10.0[${PYTHON_USEDEP}]
55 + dev-python/requests[${PYTHON_USEDEP}]
56 + dev-python/pyrsistent[${PYTHON_USEDEP}]
57 + dev-python/jsonschema[${PYTHON_USEDEP}]
58 + dev-python/protobuf-python[${PYTHON_USEDEP}]
59 +"
60 +DEPEND="
61 + ${RDEPEND}
62 + test? (
63 + dev-python/pytest-timeout[${PYTHON_USEDEP}]
64 + )
65 +"
66 +
67 +distutils_enable_tests pytest
68
69 diff --git a/dev-python/confluent-kafka/metadata.xml b/dev-python/confluent-kafka/metadata.xml
70 new file mode 100644
71 index 000000000..d4929d782
72 --- /dev/null
73 +++ b/dev-python/confluent-kafka/metadata.xml
74 @@ -0,0 +1,18 @@
75 +<?xml version="1.0" encoding="UTF-8"?>
76 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
77 +<pkgmetadata>
78 + <maintainer type="person">
79 + <email>lssndrbarbieri@×××××.com</email>
80 + <name>Alessandro Barbieri</name>
81 + </maintainer>
82 + <longdescription lang="en">
83 +confluent-kafka-python provides a high-level Producer, Consumer and AdminClient compatible with all Apache KafkaTM brokers >= v0.8, Confluent Cloud and the Confluent Platform. The client is:
84 +Reliable - It's a wrapper around librdkafka (provided automatically via binary wheels) which is widely deployed in a diverse set of production scenarios. It's tested using the same set of system tests as the Java client and more. It's supported by Confluent.
85 +Performant - Performance is a key design consideration. Maximum throughput is on par with the Java client for larger message sizes (where the overhead of the Python interpreter has less impact). Latency is on par with the Java client.
86 +Future proof - Confluent, founded by the creators of Kafka, is building a streaming platform with Apache Kafka at its core. It's high priority for us that client features keep pace with core Apache Kafka and components of the Confluent Platform.
87 + </longdescription>
88 + <upstream>
89 + <remote-id type="github">confluentinc/confluent-kafka-python</remote-id>
90 + <remote-id type="pypi">confluent-kafka</remote-id>
91 + </upstream>
92 +</pkgmetadata>