[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: 28be5267f46b7b6cc320b5faaf565eb41f08d280 Author: Michał Górny gentoo org> AuthorDate: Sun Apr 14 15:50:54 2024 + Commit: Michał Górny gentoo org> CommitDate: Sun Apr 14 15:57:05 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28be5267 dev-python/kafka-python: Remove old Signed-off-by: Michał Górny gentoo.org> .../kafka-python/kafka-python-2.0.2-r1.ebuild | 55 -- 1 file changed, 55 deletions(-) diff --git a/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild b/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild deleted file mode 100644 index d0963154542f.. --- a/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..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/lz4[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/zstandard[${PYTHON_USEDEP}] - dev-python/python-snappy[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${P}-py311-test-fixes.patch" -) - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Needs the unpackaged crc32c module - "test/record/test_util.py::test_crc32c[None]" - # Needs kafka server running - test/test_consumer_integration.py::test_kafka_consumer_offsets_for_time_old -) - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: a23c62017dff39d0020ba8e1e0a15eab2bf4cfaf Author: Jakov Smolić gentoo org> AuthorDate: Wed Feb 28 20:50:21 2024 + Commit: Jakov Smolić gentoo org> CommitDate: Wed Feb 28 20:50:21 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a23c6201 dev-python/kafka-python: Keyword 2.0.2-r2 x86, #925721 Signed-off-by: Jakov Smolić gentoo.org> dev-python/kafka-python/kafka-python-2.0.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 index 5160f55b74f9..bd58114eed30 100644 --- a/dev-python/kafka-python/kafka-python-2.0.2-r2.ebuild +++ b/dev-python/kafka-python/kafka-python-2.0.2-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" RDEPEND=" dev-python/xxhash[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: 140b52990dbf3d95249185b9bac1ab23ba99904a Author: Michał Górny gentoo org> AuthorDate: Wed Feb 28 15:03:43 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed Feb 28 16:48:46 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=140b5299 dev-python/kafka-python: Add dev-python/crc32c Signed-off-by: Michał Górny gentoo.org> .../kafka-python/kafka-python-2.0.2-r2.ebuild | 56 ++ 1 file changed, 56 insertions(+) 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 new file mode 100644 index ..5160f55b74f9 --- /dev/null +++ b/dev-python/kafka-python/kafka-python-2.0.2-r2.ebuild @@ -0,0 +1,56 @@ +# 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" + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/files/, dev-python/kafka-python/
commit: f96aaa62cb7b6fff5dba9602c37ee8b1553ad3ca Author: Petr Vaněk atlas cz> AuthorDate: Fri Mar 10 12:55:48 2023 + Commit: Sam James gentoo org> CommitDate: Fri Mar 10 13:55:13 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f96aaa62 dev-python/kafka-python: enable py3.11 It was necessary to apply patch to fix tests with py3.11. The patch was sent to upstream [1]. [1] https://github.com/dpkp/kafka-python/pull/2358 Closes: https://bugs.gentoo.org/896790 Signed-off-by: Petr Vaněk atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/30043 Signed-off-by: Sam James gentoo.org> .../kafka-python-2.0.2-py311-test-fixes.patch | 26 ++ .../kafka-python/kafka-python-2.0.2-r1.ebuild | 6 - 2 files changed, 31 insertions(+), 1 deletion(-) 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 new file mode 100644 index ..8b983952fd47 --- /dev/null +++ b/dev-python/kafka-python/files/kafka-python-2.0.2-py311-test-fixes.patch @@ -0,0 +1,26 @@ +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-r1.ebuild b/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild index 911f0ecfa1e6..d0963154542f 100644 --- a/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild +++ b/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 optfeature @@ -35,6 +35,10 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}/${P}-py311-test-fixes.patch" +) + distutils_enable_tests pytest EPYTEST_DESELECT=(
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: 11625ecd2ffb3d2c582b7b88c0e7f6fe4eec3874 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 21 07:36:44 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Feb 21 07:37:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11625ecd dev-python/kafka-python: EAPI 8, modernize Signed-off-by: Michał Górny gentoo.org> dev-python/kafka-python/Manifest | 1 + .../kafka-python/kafka-python-2.0.2-r1.ebuild | 51 ++ 2 files changed, 52 insertions(+) diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest index f60037d646cb..3ce259cfeaab 100644 --- a/dev-python/kafka-python/Manifest +++ b/dev-python/kafka-python/Manifest @@ -1 +1,2 @@ +DIST kafka-python-2.0.2.gh.tar.gz 327238 BLAKE2B 9d8bdee1cedcc3c7c0bee9d900bb815552b29f50ec45b7db9d1052a26eb772c84d92648ccc0d498189fc44314f5c8c30529fa61cb983481f2e2480e009630f91 SHA512 e193a8fe5852d2134e854749115feba46a0b8ff748336989a27bf56acba1124dbb8a5d841670a67ee26eef030a686d931d03d329f978b2eef7904183e83d2594 DIST kafka-python-2.0.2.tar.gz 327238 BLAKE2B 9d8bdee1cedcc3c7c0bee9d900bb815552b29f50ec45b7db9d1052a26eb772c84d92648ccc0d498189fc44314f5c8c30529fa61cb983481f2e2480e009630f91 SHA512 e193a8fe5852d2134e854749115feba46a0b8ff748336989a27bf56acba1124dbb8a5d841670a67ee26eef030a686d931d03d329f978b2eef7904183e83d2594 diff --git a/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild b/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild new file mode 100644 index ..911f0ecfa1e6 --- /dev/null +++ b/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..10} ) + +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/lz4[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] + dev-python/python-snappy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Needs the unpackaged crc32c module + "test/record/test_util.py::test_crc32c[None]" + # Needs kafka server running + test/test_consumer_integration.py::test_kafka_consumer_offsets_for_time_old +) + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: 1512516025e2e85d281945fea8b48825beb6e66b Author: Michał Górny gentoo org> AuthorDate: Sun Oct 17 08:58:54 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Oct 17 08:58:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15125160 dev-python/kafka-python: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/kafka-python/Manifest | 1 - dev-python/kafka-python/kafka-python-1.4.7.ebuild | 24 --- 2 files changed, 25 deletions(-) diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest index 85b0e67e363..f60037d646c 100644 --- a/dev-python/kafka-python/Manifest +++ b/dev-python/kafka-python/Manifest @@ -1,2 +1 @@ -DIST kafka-python-1.4.7.tar.gz 352844 BLAKE2B 812c185bf19f3398c358722a44feb572693556ec671d07f2d74d63e45473f5b6d35390cc0fa2c95b8c42a15b635237ffa3c3829adde1f60a7611ce4fdf06f587 SHA512 5bbf9f998fba12e8e7c67a48e82b04e745f1ac528684e91b7454e825656e4a68b8c369984308cff575241b7f808f52f16ab02b7effd6d6b4319215f44ae4748e DIST kafka-python-2.0.2.tar.gz 327238 BLAKE2B 9d8bdee1cedcc3c7c0bee9d900bb815552b29f50ec45b7db9d1052a26eb772c84d92648ccc0d498189fc44314f5c8c30529fa61cb983481f2e2480e009630f91 SHA512 e193a8fe5852d2134e854749115feba46a0b8ff748336989a27bf56acba1124dbb8a5d841670a67ee26eef030a686d931d03d329f978b2eef7904183e83d2594 diff --git a/dev-python/kafka-python/kafka-python-1.4.7.ebuild b/dev-python/kafka-python/kafka-python-1.4.7.ebuild deleted file mode 100644 index 0a7e9046e9d..000 --- a/dev-python/kafka-python/kafka-python-1.4.7.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..9} ) -inherit distutils-r1 - -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}.tar.gz" - -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="snappy" - -RDEPEND="snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: c19f95d0cefb1147e920c00fb58a749c7b56b8f0 Author: Arthur Zamarin gmail com> AuthorDate: Mon Aug 2 05:54:12 2021 + Commit: Michał Górny gentoo org> CommitDate: Mon Aug 2 06:38:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c19f95d0 dev-python/kafka-python: add test dependency on dev-python/mock Closes: https://bugs.gentoo.org/806136 Signed-off-by: Arthur Zamarin gmail.com> Closes: https://github.com/gentoo/gentoo/pull/21858 Signed-off-by: Michał Górny gentoo.org> dev-python/kafka-python/kafka-python-2.0.2.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/kafka-python/kafka-python-2.0.2.ebuild b/dev-python/kafka-python/kafka-python-2.0.2.ebuild index fd96a67c40f..d492752a202 100644 --- a/dev-python/kafka-python/kafka-python-2.0.2.ebuild +++ b/dev-python/kafka-python/kafka-python-2.0.2.ebuild @@ -19,6 +19,7 @@ RDEPEND="dev-python/xxhash[${PYTHON_USEDEP}]" BDEPEND=" test? ( dev-python/lz4[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/snappy[${PYTHON_USEDEP}] dev-python/zstandard[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: 40443c9cac3990e938cecbe37492ba580fb0763b Author: Zamarin Arthur gmail com> AuthorDate: Sun Jun 6 05:19:18 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 1 21:23:47 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40443c9c dev-python/kafka-python: add 2.0.2, bump py3.10, fix test - bump to python 3.10 - use optfeatures for all extra dependencies - remove dependency on dev-python/unittest2 Closes: https://bugs.gentoo.org/723602 Signed-off-by: Zamarin Arthur gmail.com> Signed-off-by: Michał Górny gentoo.org> dev-python/kafka-python/Manifest | 1 + dev-python/kafka-python/kafka-python-2.0.2.ebuild | 43 +++ 2 files changed, 44 insertions(+) diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest index 1db6ff139ac..85b0e67e363 100644 --- a/dev-python/kafka-python/Manifest +++ b/dev-python/kafka-python/Manifest @@ -1 +1,2 @@ DIST kafka-python-1.4.7.tar.gz 352844 BLAKE2B 812c185bf19f3398c358722a44feb572693556ec671d07f2d74d63e45473f5b6d35390cc0fa2c95b8c42a15b635237ffa3c3829adde1f60a7611ce4fdf06f587 SHA512 5bbf9f998fba12e8e7c67a48e82b04e745f1ac528684e91b7454e825656e4a68b8c369984308cff575241b7f808f52f16ab02b7effd6d6b4319215f44ae4748e +DIST kafka-python-2.0.2.tar.gz 327238 BLAKE2B 9d8bdee1cedcc3c7c0bee9d900bb815552b29f50ec45b7db9d1052a26eb772c84d92648ccc0d498189fc44314f5c8c30529fa61cb983481f2e2480e009630f91 SHA512 e193a8fe5852d2134e854749115feba46a0b8ff748336989a27bf56acba1124dbb8a5d841670a67ee26eef030a686d931d03d329f978b2eef7904183e83d2594 diff --git a/dev-python/kafka-python/kafka-python-2.0.2.ebuild b/dev-python/kafka-python/kafka-python-2.0.2.ebuild new file mode 100644 index 000..fd96a67c40f --- /dev/null +++ b/dev-python/kafka-python/kafka-python-2.0.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +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}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/xxhash[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/lz4[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/snappy[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # Needs the unpackaged crc32c module + test/record/test_util.py::test_crc32c[None] + # Needs kafka server running + test/test_consumer_integration.py::test_kafka_consumer_offsets_for_time_old + ) + epytest ${deselect[@]/#/--deselect } +} + +pkg_postinst() { + optfeature "LZ4 compression/decompression support" dev-python/lz4 + optfeature "Snappy compression support" dev-python/snappy + optfeature "ZSTD compression/decompression support" dev-python/zstandard +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: d228931d62ee2cd5fc3bcf2c4148277bb50981e9 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 5 11:14:22 2021 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 5 11:14:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d228931d dev-python/kafka-python: Correct test dependencies Signed-off-by: Michał Górny gentoo.org> dev-python/kafka-python/kafka-python-1.4.7.ebuild | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/dev-python/kafka-python/kafka-python-1.4.7.ebuild b/dev-python/kafka-python/kafka-python-1.4.7.ebuild index 36adc8405d2..0a7e9046e9d 100644 --- a/dev-python/kafka-python/kafka-python-1.4.7.ebuild +++ b/dev-python/kafka-python/kafka-python-1.4.7.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +EAPI=8 +PYTHON_COMPAT=( python3_{8..9} ) inherit distutils-r1 DESCRIPTION="Kafka protocol support in Python" @@ -13,17 +13,12 @@ SRC_URI="https://github.com/dpkp/kafka-python/archive/${PV}.tar.gz -> ${P}.tar.g LICENSE="Apache-2.0" KEYWORDS="~amd64 ~x86" SLOT="0" -IUSE="snappy test" -RESTRICT="!test? ( test )" +IUSE="snappy" RDEPEND="snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )" BDEPEND=" test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/unittest2[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] )" -python_test() { - unit2 -v || die "tests failed with ${EPYTHON}" -} +distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: acafc56974395ed442f8a4394c836f434763b667 Author: Michał Górny gentoo org> AuthorDate: Sun May 23 10:45:39 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun May 23 10:48:07 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acafc569 dev-python/kafka-python: Enable py3.9 Signed-off-by: Michał Górny gentoo.org> dev-python/kafka-python/kafka-python-1.4.7.ebuild | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-python/kafka-python/kafka-python-1.4.7.ebuild b/dev-python/kafka-python/kafka-python-1.4.7.ebuild index d821f6d6524..36adc8405d2 100644 --- a/dev-python/kafka-python/kafka-python-1.4.7.ebuild +++ b/dev-python/kafka-python/kafka-python-1.4.7.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit distutils-r1 @@ -17,9 +17,9 @@ IUSE="snappy test" RESTRICT="!test? ( test )" RDEPEND="snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] +BDEPEND=" test? ( + ${RDEPEND} dev-python/mock[${PYTHON_USEDEP}] dev-python/unittest2[${PYTHON_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: ba3937cd759c97f599049ff8601941e523a1 Author: Michał Górny gentoo org> AuthorDate: Sat Aug 22 09:06:20 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Aug 22 09:15:36 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba3937cd dev-python/kafka-python: Remove py2 Signed-off-by: Michał Górny gentoo.org> dev-python/kafka-python/kafka-python-1.4.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/kafka-python/kafka-python-1.4.7.ebuild b/dev-python/kafka-python/kafka-python-1.4.7.ebuild index 6a83fc9b950..1a898aaef78 100644 --- a/dev-python/kafka-python/kafka-python-1.4.7.ebuild +++ b/dev-python/kafka-python/kafka-python-1.4.7.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: 4a8d39ea79097d80234791c4a3e61e25e1e6b8ef Author: Michał Górny gentoo org> AuthorDate: Fri Mar 27 20:50:15 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 27 20:50:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a8d39ea dev-python/kafka-python: Remove redundant versions Signed-off-by: Michał Górny gentoo.org> dev-python/kafka-python/Manifest | 1 - dev-python/kafka-python/kafka-python-1.3.3.ebuild | 29 --- 2 files changed, 30 deletions(-) diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest index d71dc6b04f5..1db6ff139ac 100644 --- a/dev-python/kafka-python/Manifest +++ b/dev-python/kafka-python/Manifest @@ -1,2 +1 @@ -DIST kafka-python-1.3.3.tar.gz 255686 BLAKE2B 01ce6d3faf55988f291a0aeb26f6e5e01407c02d440f21622e565a124595e2df46e253c539ef1ffe44405960249ba49f426f25a6a6ef3b67d3f3f1bf6fe37aee SHA512 19b43ddc7a1ad3fcf58c55198de60c4434bfa3747d5bbc40f1acf0aa28225eae87effbae69087919b111cb739010bd4087e2497fdc78987f4cdaf33e81e516b3 DIST kafka-python-1.4.7.tar.gz 352844 BLAKE2B 812c185bf19f3398c358722a44feb572693556ec671d07f2d74d63e45473f5b6d35390cc0fa2c95b8c42a15b635237ffa3c3829adde1f60a7611ce4fdf06f587 SHA512 5bbf9f998fba12e8e7c67a48e82b04e745f1ac528684e91b7454e825656e4a68b8c369984308cff575241b7f808f52f16ab02b7effd6d6b4319215f44ae4748e diff --git a/dev-python/kafka-python/kafka-python-1.3.3.ebuild b/dev-python/kafka-python/kafka-python-1.3.3.ebuild deleted file mode 100644 index 4163d163c47..000 --- a/dev-python/kafka-python/kafka-python-1.3.3.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6 ) - -inherit distutils-r1 - -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}.tar.gz" - -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="snappy test" -RESTRICT="!test? ( test )" - -RDEPEND="snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/unittest2[${PYTHON_USEDEP}] - )" - -python_test() { - unit2 -v || die "tests failed with ${EPYTHON}" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: 5fa43ffee58a59efeec89967e8960d0639acbf1c Author: Michał Górny gentoo org> AuthorDate: Fri Mar 27 21:04:33 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 27 21:05:37 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa43ffe dev-python/kafka-python: Remove useless longdesc Signed-off-by: Michał Górny gentoo.org> dev-python/kafka-python/metadata.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/dev-python/kafka-python/metadata.xml b/dev-python/kafka-python/metadata.xml index 943670ce903..f29c6f77117 100644 --- a/dev-python/kafka-python/metadata.xml +++ b/dev-python/kafka-python/metadata.xml @@ -2,9 +2,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - Python client for Apache Kafka - dpkp/kafka-python kafka-python
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: a365cf96b051acf5468fd8ac5819aa89cb88a37c Author: Zac Medico gentoo org> AuthorDate: Mon Feb 24 20:41:40 2020 + Commit: Zac Medico gentoo org> CommitDate: Mon Feb 24 20:42:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a365cf96 dev-python/kafka-python: PYTHON_COMPAT+=(pythonh3_8) Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Zac Medico gentoo.org> dev-python/kafka-python/kafka-python-1.4.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/kafka-python/kafka-python-1.4.7.ebuild b/dev-python/kafka-python/kafka-python-1.4.7.ebuild index 5a21f667e95..6a83fc9b950 100644 --- a/dev-python/kafka-python/kafka-python-1.4.7.ebuild +++ b/dev-python/kafka-python/kafka-python-1.4.7.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7} ) +PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: b09f5c01a5bc54889ce8b050b6a6f15c27c060c3 Author: Zac Medico gentoo org> AuthorDate: Thu Dec 19 01:16:09 2019 + Commit: Zac Medico gentoo org> CommitDate: Thu Dec 19 01:17:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b09f5c01 dev-python/kafka-python: Bump to version 1.4.7 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Zac Medico gentoo.org> dev-python/kafka-python/Manifest | 1 + dev-python/kafka-python/kafka-python-1.4.7.ebuild | 29 +++ 2 files changed, 30 insertions(+) diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest index 5bbfa617b6a..d71dc6b04f5 100644 --- a/dev-python/kafka-python/Manifest +++ b/dev-python/kafka-python/Manifest @@ -1 +1,2 @@ DIST kafka-python-1.3.3.tar.gz 255686 BLAKE2B 01ce6d3faf55988f291a0aeb26f6e5e01407c02d440f21622e565a124595e2df46e253c539ef1ffe44405960249ba49f426f25a6a6ef3b67d3f3f1bf6fe37aee SHA512 19b43ddc7a1ad3fcf58c55198de60c4434bfa3747d5bbc40f1acf0aa28225eae87effbae69087919b111cb739010bd4087e2497fdc78987f4cdaf33e81e516b3 +DIST kafka-python-1.4.7.tar.gz 352844 BLAKE2B 812c185bf19f3398c358722a44feb572693556ec671d07f2d74d63e45473f5b6d35390cc0fa2c95b8c42a15b635237ffa3c3829adde1f60a7611ce4fdf06f587 SHA512 5bbf9f998fba12e8e7c67a48e82b04e745f1ac528684e91b7454e825656e4a68b8c369984308cff575241b7f808f52f16ab02b7effd6d6b4319215f44ae4748e diff --git a/dev-python/kafka-python/kafka-python-1.4.7.ebuild b/dev-python/kafka-python/kafka-python-1.4.7.ebuild new file mode 100644 index 000..4892b5e6139 --- /dev/null +++ b/dev-python/kafka-python/kafka-python-1.4.7.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 + +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}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="snappy test" +RESTRICT="!test? ( test )" + +RDEPEND="snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + )" + +python_test() { + unit2 -v || die "tests failed with ${EPYTHON}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: 635c138ce0854f09ce32b56df3dde3bff3f9a4d9 Author: Virgil Dupras gentoo org> AuthorDate: Mon May 6 22:03:17 2019 + Commit: Virgil Dupras gentoo org> CommitDate: Mon May 6 22:03:17 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=635c138c dev-python/kafka-python: remove old Signed-off-by: Virgil Dupras gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-python/kafka-python/Manifest | 3 --- dev-python/kafka-python/kafka-python-1.1.1.ebuild | 29 --- dev-python/kafka-python/kafka-python-1.2.0.ebuild | 29 --- dev-python/kafka-python/kafka-python-1.2.1.ebuild | 29 --- 4 files changed, 90 deletions(-) diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest index 3e593fac198..5bbfa617b6a 100644 --- a/dev-python/kafka-python/Manifest +++ b/dev-python/kafka-python/Manifest @@ -1,4 +1 @@ -DIST kafka-python-1.1.1.tar.gz 213892 BLAKE2B d02e129376e8f0a65ac9aa269e9e42caeb7719a6621ec8e4acd7802fe9058538460406c0650a887fc7d7a962965eae1b5da33013719c60aa6e69846f067d3f4e SHA512 aa95c5e5ae7790b898cfa40e763eb9c64f17c74ce1322b9a31edfd61fe693ff7cf7048d3f90cac5911c7c4dc8aa7c34ec9d33224bdad5ae5e9591e7fbcc01967 -DIST kafka-python-1.2.0.tar.gz 219060 BLAKE2B 2be47be6ab289a9b0ebcba9ac8da432e1715daece6c8c10de56b38252b7182fe23cff21f7787c367177b6b69d16474ba7370d604847eacf7db0b6bd965c432ee SHA512 71141cf71a8da3124f03870b6de0787a1d20451d280b2077b694c87c46a0f78d4f6c2dfd4984859e3b4a54d6ec151ad1f5626fde1af135a5bb711a39f48a855f -DIST kafka-python-1.2.1.tar.gz 219842 BLAKE2B 8ff333c3b14ec536877f1c38e5bf3826178aca6cfea492a2b277c7ffd29df5eac8b805e1a4ef16aaad947dcd6380d4052c340549191a35e2985182f0b942cbb1 SHA512 29989a137a05b7d8eccf05ddbb7f9d281b678f1d128e2b9383ccc0b7decfe931b09baaa8e9c2a45403601143f78cb0e3f89cec0c6151ab8e7bf38b732b984b9b DIST kafka-python-1.3.3.tar.gz 255686 BLAKE2B 01ce6d3faf55988f291a0aeb26f6e5e01407c02d440f21622e565a124595e2df46e253c539ef1ffe44405960249ba49f426f25a6a6ef3b67d3f3f1bf6fe37aee SHA512 19b43ddc7a1ad3fcf58c55198de60c4434bfa3747d5bbc40f1acf0aa28225eae87effbae69087919b111cb739010bd4087e2497fdc78987f4cdaf33e81e516b3 diff --git a/dev-python/kafka-python/kafka-python-1.1.1.ebuild b/dev-python/kafka-python/kafka-python-1.1.1.ebuild deleted file mode 100644 index 34d1afe7d57..000 --- a/dev-python/kafka-python/kafka-python-1.1.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -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}.tar.gz" - -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="snappy test" - -RDEPEND="snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/tox[${PYTHON_USEDEP}] - dev-python/unittest2[${PYTHON_USEDEP}] - )" - -python_test() { - esetup.py test || die "tests failed" -} diff --git a/dev-python/kafka-python/kafka-python-1.2.0.ebuild b/dev-python/kafka-python/kafka-python-1.2.0.ebuild deleted file mode 100644 index 34d1afe7d57..000 --- a/dev-python/kafka-python/kafka-python-1.2.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -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}.tar.gz" - -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="snappy test" - -RDEPEND="snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/tox[${PYTHON_USEDEP}] - dev-python/unittest2[${PYTHON_USEDEP}] - )" - -python_test() { - esetup.py test || die "tests failed" -} diff --git a/dev-python/kafka-python/kafka-python-1.2.1.ebuild b/dev-python/kafka-python/kafka-python-1.2.1.ebuild deleted file mode 100644 index 34d1afe7d57..000 --- a/dev-python/kafka-python/kafka-python-1.2.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Kafka protocol support in Python" -HOMEPAGE="https://github.com/dpkp/kafka-python/
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: 072e3edf2fe27233a7555eae2271957307172771 Author: Austin English gentoo org> AuthorDate: Tue Apr 9 02:48:48 2019 + Commit: Austin English gentoo org> CommitDate: Tue Apr 9 03:12:45 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=072e3edf dev-python/kafka-python: move my packages to maintainer-needed Signed-off-by: Austin English gentoo.org> Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.62, Repoman-2.3.12 dev-python/kafka-python/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dev-python/kafka-python/metadata.xml b/dev-python/kafka-python/metadata.xml index e2edf6176a9..0f2c9d5f988 100644 --- a/dev-python/kafka-python/metadata.xml +++ b/dev-python/kafka-python/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - -wizarde...@gentoo.org -Austin English - + Python client for Apache Kafka
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: e5bd80723e7e3f2c51f74fb73ceeef221c4236c4 Author: Zac Medico gentoo org> AuthorDate: Mon May 15 06:02:24 2017 + Commit: Zac Medico gentoo org> CommitDate: Mon May 15 06:03:36 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5bd8072 dev-python/kafka-python: version bump to 1.3.3 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/kafka-python/Manifest | 1 + dev-python/kafka-python/kafka-python-1.3.3.ebuild | 28 +++ 2 files changed, 29 insertions(+) diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest index 74c0eb83817..edef745f3e6 100644 --- a/dev-python/kafka-python/Manifest +++ b/dev-python/kafka-python/Manifest @@ -1,3 +1,4 @@ DIST kafka-python-1.1.1.tar.gz 213892 SHA256 1da61987111d23918aaebc81e1a5cfc8c72193a5df3caf4ce8826cf08bef89ec SHA512 aa95c5e5ae7790b898cfa40e763eb9c64f17c74ce1322b9a31edfd61fe693ff7cf7048d3f90cac5911c7c4dc8aa7c34ec9d33224bdad5ae5e9591e7fbcc01967 WHIRLPOOL 7706058a061c08bdd383de36dadb4035fb2c4606b0a0440062e0b92ea3965cbd1dbdb88ffc6784096e62d088a733fce66617aef63463485c5a1cfe416a007743 DIST kafka-python-1.2.0.tar.gz 219060 SHA256 d5b503dbd2a0f3a6224b32998a02793fe3ac39bf45721bd9d4c65d841ba9a6ad SHA512 71141cf71a8da3124f03870b6de0787a1d20451d280b2077b694c87c46a0f78d4f6c2dfd4984859e3b4a54d6ec151ad1f5626fde1af135a5bb711a39f48a855f WHIRLPOOL bb156a89ae50cc040d98f1c50715ed8db61504a54fa8dcd460543686d81c03bb5efbcd972df459a4545bc88157d1381721d4e8c47301a26be5eeed15a9cf61df DIST kafka-python-1.2.1.tar.gz 219842 SHA256 ade1f5c016f030eae5bff6eb34052ee9d1dc8d0623cb5c61d23b43abf679393e SHA512 29989a137a05b7d8eccf05ddbb7f9d281b678f1d128e2b9383ccc0b7decfe931b09baaa8e9c2a45403601143f78cb0e3f89cec0c6151ab8e7bf38b732b984b9b WHIRLPOOL 3c6d60f8c1e2d1eff8fa9d46e625fed7f47089db35f8637a998ef5d671f4b070cdd6add39d22671ee2e76a72c7ce51860db1cdf492cd0e30e65c1fba0e72d0a5 +DIST kafka-python-1.3.3.tar.gz 255686 SHA256 a4910d705c3800a40c31c33c264532a09364f24051697e59279c4ee06527ca29 SHA512 19b43ddc7a1ad3fcf58c55198de60c4434bfa3747d5bbc40f1acf0aa28225eae87effbae69087919b111cb739010bd4087e2497fdc78987f4cdaf33e81e516b3 WHIRLPOOL 79855df0dbc711d20175623cde9dddb170de9b41a138ee94ea44cd3a179d0602ca40485ac17e0e8485c3d9ecbfc32d65aa827e9652809d3c38a32d51e0c026d0 diff --git a/dev-python/kafka-python/kafka-python-1.3.3.ebuild b/dev-python/kafka-python/kafka-python-1.3.3.ebuild new file mode 100644 index 000..2a07e8db392 --- /dev/null +++ b/dev-python/kafka-python/kafka-python-1.3.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Kafka protocol support in Python" +HOMEPAGE="https://github.com/dpkp/kafka-python/ https://pypi.python.org/pypi/kafka-python/; +SRC_URI="https://github.com/dpkp/kafka-python/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="snappy test" + +RDEPEND="snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + )" + +python_test() { + unit2 -v || die "tests failed with ${EPYTHON}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: 7562a7eeb7bb747d29f20e12237595f5fb329fc4 Author: Austin English gentoo org> AuthorDate: Fri Jun 17 19:22:35 2016 + Commit: Austin English gentoo org> CommitDate: Fri Jun 17 19:22:50 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7562a7ee dev-python/kafka-python: version bump Package-Manager: portage-2.2.28 dev-python/kafka-python/Manifest | 2 ++ dev-python/kafka-python/kafka-python-1.2.0.ebuild | 30 +++ dev-python/kafka-python/kafka-python-1.2.1.ebuild | 30 +++ 3 files changed, 62 insertions(+) diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest index 55118a2..74c0eb8 100644 --- a/dev-python/kafka-python/Manifest +++ b/dev-python/kafka-python/Manifest @@ -1 +1,3 @@ DIST kafka-python-1.1.1.tar.gz 213892 SHA256 1da61987111d23918aaebc81e1a5cfc8c72193a5df3caf4ce8826cf08bef89ec SHA512 aa95c5e5ae7790b898cfa40e763eb9c64f17c74ce1322b9a31edfd61fe693ff7cf7048d3f90cac5911c7c4dc8aa7c34ec9d33224bdad5ae5e9591e7fbcc01967 WHIRLPOOL 7706058a061c08bdd383de36dadb4035fb2c4606b0a0440062e0b92ea3965cbd1dbdb88ffc6784096e62d088a733fce66617aef63463485c5a1cfe416a007743 +DIST kafka-python-1.2.0.tar.gz 219060 SHA256 d5b503dbd2a0f3a6224b32998a02793fe3ac39bf45721bd9d4c65d841ba9a6ad SHA512 71141cf71a8da3124f03870b6de0787a1d20451d280b2077b694c87c46a0f78d4f6c2dfd4984859e3b4a54d6ec151ad1f5626fde1af135a5bb711a39f48a855f WHIRLPOOL bb156a89ae50cc040d98f1c50715ed8db61504a54fa8dcd460543686d81c03bb5efbcd972df459a4545bc88157d1381721d4e8c47301a26be5eeed15a9cf61df +DIST kafka-python-1.2.1.tar.gz 219842 SHA256 ade1f5c016f030eae5bff6eb34052ee9d1dc8d0623cb5c61d23b43abf679393e SHA512 29989a137a05b7d8eccf05ddbb7f9d281b678f1d128e2b9383ccc0b7decfe931b09baaa8e9c2a45403601143f78cb0e3f89cec0c6151ab8e7bf38b732b984b9b WHIRLPOOL 3c6d60f8c1e2d1eff8fa9d46e625fed7f47089db35f8637a998ef5d671f4b070cdd6add39d22671ee2e76a72c7ce51860db1cdf492cd0e30e65c1fba0e72d0a5 diff --git a/dev-python/kafka-python/kafka-python-1.2.0.ebuild b/dev-python/kafka-python/kafka-python-1.2.0.ebuild new file mode 100644 index 000..fc2ef43 --- /dev/null +++ b/dev-python/kafka-python/kafka-python-1.2.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Kafka protocol support in Python" +HOMEPAGE="https://github.com/dpkp/kafka-python/ https://pypi.python.org/pypi/kafka-python/; +SRC_URI="https://github.com/dpkp/kafka-python/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="snappy test" + +RDEPEND="snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + )" + +python_test() { + esetup.py test || die "tests failed" +} diff --git a/dev-python/kafka-python/kafka-python-1.2.1.ebuild b/dev-python/kafka-python/kafka-python-1.2.1.ebuild new file mode 100644 index 000..fc2ef43 --- /dev/null +++ b/dev-python/kafka-python/kafka-python-1.2.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Kafka protocol support in Python" +HOMEPAGE="https://github.com/dpkp/kafka-python/ https://pypi.python.org/pypi/kafka-python/; +SRC_URI="https://github.com/dpkp/kafka-python/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="snappy test" + +RDEPEND="snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + )" + +python_test() { + esetup.py test || die "tests failed" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/kafka-python/
commit: c67e82ed5038d00fff0769c25480cf817672773a Author: Austin English gentoo org> AuthorDate: Tue May 17 19:00:05 2016 + Commit: Austin English gentoo org> CommitDate: Tue May 17 21:13:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c67e82ed dev-python/kafka-python: initial ebuild Package-Manager: portage-2.2.26 dev-python/kafka-python/Manifest | 1 + dev-python/kafka-python/kafka-python-1.1.1.ebuild | 30 +++ dev-python/kafka-python/metadata.xml | 20 +++ 3 files changed, 51 insertions(+) diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest new file mode 100644 index 000..55118a2 --- /dev/null +++ b/dev-python/kafka-python/Manifest @@ -0,0 +1 @@ +DIST kafka-python-1.1.1.tar.gz 213892 SHA256 1da61987111d23918aaebc81e1a5cfc8c72193a5df3caf4ce8826cf08bef89ec SHA512 aa95c5e5ae7790b898cfa40e763eb9c64f17c74ce1322b9a31edfd61fe693ff7cf7048d3f90cac5911c7c4dc8aa7c34ec9d33224bdad5ae5e9591e7fbcc01967 WHIRLPOOL 7706058a061c08bdd383de36dadb4035fb2c4606b0a0440062e0b92ea3965cbd1dbdb88ffc6784096e62d088a733fce66617aef63463485c5a1cfe416a007743 diff --git a/dev-python/kafka-python/kafka-python-1.1.1.ebuild b/dev-python/kafka-python/kafka-python-1.1.1.ebuild new file mode 100644 index 000..fc2ef43 --- /dev/null +++ b/dev-python/kafka-python/kafka-python-1.1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Kafka protocol support in Python" +HOMEPAGE="https://github.com/dpkp/kafka-python/ https://pypi.python.org/pypi/kafka-python/; +SRC_URI="https://github.com/dpkp/kafka-python/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="snappy test" + +RDEPEND="snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + )" + +python_test() { + esetup.py test || die "tests failed" +} diff --git a/dev-python/kafka-python/metadata.xml b/dev-python/kafka-python/metadata.xml new file mode 100644 index 000..e2edf61 --- /dev/null +++ b/dev-python/kafka-python/metadata.xml @@ -0,0 +1,20 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +wizarde...@gentoo.org +Austin English + + + Python client for Apache Kafka + + + +Install snappy compression/decompression support + + + +dpkp/kafka-python +kafka-python + +