summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/kafka-python/Manifest1
-rw-r--r--dev-python/kafka-python/files/kafka-python-2.0.2-py311-test-fixes.patch26
-rw-r--r--dev-python/kafka-python/kafka-python-2.0.2-r2.ebuild56
-rw-r--r--dev-python/kafka-python/metadata.xml9
-rw-r--r--profiles/package.mask6
-rw-r--r--sys-process/glances/glances-3.3.0-r1.ebuild1
-rw-r--r--sys-process/glances/glances-3.4.0.3.ebuild1
-rw-r--r--sys-process/glances/glances-3.4.0.5.ebuild1
8 files changed, 0 insertions, 101 deletions
diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest
deleted file mode 100644
index 036ad2744e38..000000000000
--- a/dev-python/kafka-python/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST kafka-python-2.0.2.gh.tar.gz 327238 BLAKE2B 9d8bdee1cedcc3c7c0bee9d900bb815552b29f50ec45b7db9d1052a26eb772c84d92648ccc0d498189fc44314f5c8c30529fa61cb983481f2e2480e009630f91 SHA512 e193a8fe5852d2134e854749115feba46a0b8ff748336989a27bf56acba1124dbb8a5d841670a67ee26eef030a686d931d03d329f978b2eef7904183e83d2594
diff --git a/dev-python/kafka-python/files/kafka-python-2.0.2-py311-test-fixes.patch b/dev-python/kafka-python/files/kafka-python-2.0.2-py311-test-fixes.patch
deleted file mode 100644
index 8b983952fd47..000000000000
--- a/dev-python/kafka-python/files/kafka-python-2.0.2-py311-test-fixes.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Fix tests for Py3.11
-
-Upstream-PR: https://github.com/dpkp/kafka-python/pull/2358
-
-diff --git a/test/test_assignors.py b/test/test_assignors.py
-index 67e91e131..a1214d8fa 100644
---- a/test/test_assignors.py
-+++ b/test/test_assignors.py
-@@ -661,7 +661,7 @@ def test_reassignment_with_random_subscriptions_and_changes(mocker, execution_nu
-
- subscriptions = defaultdict(set)
- for i in range(n_consumers):
-- topics_sample = sample(all_topics, randint(1, len(all_topics) - 1))
-+ topics_sample = sample(sorted(all_topics), randint(1, len(all_topics) - 1))
- subscriptions['C{}'.format(i)].update(topics_sample)
-
- member_metadata = make_member_metadata(subscriptions)
-@@ -671,7 +671,7 @@ def test_reassignment_with_random_subscriptions_and_changes(mocker, execution_nu
-
- subscriptions = defaultdict(set)
- for i in range(n_consumers):
-- topics_sample = sample(all_topics, randint(1, len(all_topics) - 1))
-+ topics_sample = sample(sorted(all_topics), randint(1, len(all_topics) - 1))
- subscriptions['C{}'.format(i)].update(topics_sample)
-
- member_metadata = {}
diff --git a/dev-python/kafka-python/kafka-python-2.0.2-r2.ebuild b/dev-python/kafka-python/kafka-python-2.0.2-r2.ebuild
deleted file mode 100644
index bd58114eed30..000000000000
--- a/dev-python/kafka-python/kafka-python-2.0.2-r2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit distutils-r1 optfeature
-
-DESCRIPTION="Kafka protocol support in Python"
-HOMEPAGE="
- https://github.com/dpkp/kafka-python/
- https://pypi.org/project/kafka-python/
-"
-SRC_URI="
- https://github.com/dpkp/kafka-python/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- dev-python/xxhash[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/crc32c[${PYTHON_USEDEP}]
- dev-python/lz4[${PYTHON_USEDEP}]
- dev-python/mock[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- dev-python/python-snappy[${PYTHON_USEDEP}]
- dev-python/zstandard[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-py311-test-fixes.patch"
-)
-
-distutils_enable_tests pytest
-
-EPYTEST_DESELECT=(
- # Needs kafka server running
- test/test_consumer_integration.py::test_kafka_consumer_offsets_for_time_old
- # Rounding problem
- 'test/record/test_records.py::test_memory_records_builder[1-2]'
-)
-
-pkg_postinst() {
- optfeature "LZ4 compression/decompression support" dev-python/lz4
- optfeature "Snappy compression support" dev-python/python-snappy
- optfeature "ZSTD compression/decompression support" dev-python/zstandard
-}
diff --git a/dev-python/kafka-python/metadata.xml b/dev-python/kafka-python/metadata.xml
deleted file mode 100644
index 2b4d2f740461..000000000000
--- a/dev-python/kafka-python/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">dpkp/kafka-python</remote-id>
- <remote-id type="pypi">kafka-python</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/profiles/package.mask b/profiles/package.mask
index d908a1465263..bdc6d5695f8d 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -275,12 +275,6 @@ dev-python/sphinxcontrib-newsfeed
dev-python/pyannotate
# Michał Górny <mgorny@gentoo.org> (2024-04-23)
-# No py3.12, broken. Upstream literally tells people to use a fork
-# "for the time being". No revdeps.
-# Removal on 2024-05-23. Bug #929461.
-dev-python/kafka-python
-
-# Michał Górny <mgorny@gentoo.org> (2024-04-23)
# Unmaintained. No py3.12, failing tests. Last upstream activity
# in 2020, triggered by our previous last rites. No revdeps.
# Removal on 2024-05-23. Bug #929445.
diff --git a/sys-process/glances/glances-3.3.0-r1.ebuild b/sys-process/glances/glances-3.3.0-r1.ebuild
index 7b155a7902b5..5a95082709b5 100644
--- a/sys-process/glances/glances-3.3.0-r1.ebuild
+++ b/sys-process/glances/glances-3.3.0-r1.ebuild
@@ -77,7 +77,6 @@ pkg_postinst() {
# dev-python/couchdb-python \
# dev-python/elasticsearch-py \
# dev-python/influxdb \
- # dev-python/kafka-python \
# dev-python/pika \
# dev-python/paho-mqtt \
# dev-python/prometheus-client \
diff --git a/sys-process/glances/glances-3.4.0.3.ebuild b/sys-process/glances/glances-3.4.0.3.ebuild
index 917da0b9f60e..454c939d0c47 100644
--- a/sys-process/glances/glances-3.4.0.3.ebuild
+++ b/sys-process/glances/glances-3.4.0.3.ebuild
@@ -78,7 +78,6 @@ pkg_postinst() {
# dev-python/couchdb-python \
# dev-python/elasticsearch-py \
# dev-python/influxdb \
- # dev-python/kafka-python \
# dev-python/pika \
# dev-python/paho-mqtt \
# dev-python/prometheus-client \
diff --git a/sys-process/glances/glances-3.4.0.5.ebuild b/sys-process/glances/glances-3.4.0.5.ebuild
index 001ce5a5ce63..532fd4e5dbc8 100644
--- a/sys-process/glances/glances-3.4.0.5.ebuild
+++ b/sys-process/glances/glances-3.4.0.5.ebuild
@@ -78,7 +78,6 @@ pkg_postinst() {
# dev-python/couchdb-python \
# dev-python/elasticsearch-py \
# dev-python/influxdb \
- # dev-python/kafka-python \
# dev-python/pika \
# dev-python/paho-mqtt \
# dev-python/prometheus-client \