From 2e12ae9baa6529b4b1c29c7bae4e6c8494686e0a Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Sun, 11 Feb 2024 18:26:59 +0100 Subject: [PATCH] dev-python/aiokafka: add 0.10.0 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/2750 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/aiokafka/Manifest | 4 ++- dev-python/aiokafka/aiokafka-0.10.0.ebuild | 31 ++++++++++++++++++++++ dev-python/aiokafka/aiokafka-0.7.2.ebuild | 2 +- 4 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 dev-python/aiokafka/aiokafka-0.10.0.ebuild diff --git a/README.md b/README.md index c9cc47468..ce7a476dc 100644 --- a/README.md +++ b/README.md @@ -617,12 +617,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E ## Licenses This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted. -There are 1688 Ebuilds in total, 1677 of them have in total 1696 (42 different) licenses assigned. +There are 1689 Ebuilds in total, 1678 of them have in total 1697 (42 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|962| -|Apache-2.0|368| +|Apache-2.0|369| |GPL-3|113| |BSD|95| |LGPL-3|24| diff --git a/dev-python/aiokafka/Manifest b/dev-python/aiokafka/Manifest index 63c2d738b..007cebda2 100644 --- a/dev-python/aiokafka/Manifest +++ b/dev-python/aiokafka/Manifest @@ -1,3 +1,5 @@ +DIST aiokafka-0.10.0.tar.gz 558486 BLAKE2B 6a88af749975154ff9a91ad518531d4ab37b0a7009159bb7c434a730ec1031ed6833de84ca292d7964bbc7e561f1b603833db41b016050d121a14ed0474a601c SHA512 6429e3476edc891dcbf02542667faede359e9b4f5f16e8992b8f99cf0c90c78561cb05c0ea8e4f6342e589f8d6a0cebe3bafe2b76960c5e95910eb78437e1d13 DIST aiokafka-0.7.2.tar.gz 366633 BLAKE2B 81f5b399ddad15b50d0bfd8864fe9c6686ba145044b624bab2aade8352b042c21b5efedc8bdef5e690fc55f73fdcf8022cedabf950edc2a74f6be2ffd8646a5c SHA512 81f7da0cc4187f3353bbb5c42d1466206914b14a1879c55186eeab49f1eb01f8b60dcf5a10150b4f3505c4c5d2a7d1ec0d680609d09969501c6067db93b9c6fe -EBUILD aiokafka-0.7.2.ebuild 707 BLAKE2B c01298066d952c7e3c2ba4c7d3626f5e83933a639e1129a367b9984d3b4965928f26e2a67c55a8c5061c08675838a1e4f61522ec7826b6a170a12f2070f38ac7 SHA512 c6cb12305aacf350075776a74117b9fd41b66f0419e0433547d75a3d4a71901fe3e36f5d798f8b8f2d9b032424bdd09e53fe1f366e0eaed83343e476f462eb50 +EBUILD aiokafka-0.10.0.ebuild 799 BLAKE2B 1f78bd642b9a5442bfa5dc0dc99dbd9709bea6406d390e57fb3a37efb2bf5610d843a3f03090ea978021dfafac2358d8be792511bd38657da84871e3370ee3f8 SHA512 3fc37750b4fe9a7f78d8234bd3f6fb4dba218d18f2a88715f46a06a93538613047e20a9af41cc5084de896907a0827dac2720a3a69a9f16627cd09204f92e692 +EBUILD aiokafka-0.7.2.ebuild 707 BLAKE2B 3310e78ce8d1b60d2bf292325c01030b7d1e1068b3f0bd96bf833090c49e36b872b9482f5101b8c5297910637092ca99480d6f98e2b569ea3241adce8db3419f SHA512 8b3e77a3514ddd904cf9cc8cdb94243cb169ab0e07735fa4ee177357b35a3c54434098885ccce66286989c2cc59abafb7d440c951d04933f915cf429c6f5e35e MISC metadata.xml 518 BLAKE2B d5b41bfd9d31d744563da936342d1b5c48884a4265dfaac41c77abcd4d04b7f22f5a1e068cf81420c18fc7e455f8f8ea2c1f5e7aa41ce61f281b4a58f118217d SHA512 7b0006e60ac4bcf463056ddf9dbdf6b40a347b7694142fc04b1a6e13bf262211a875d4dbdb768d41153755c94115e1bf6e4b253e61aa3eb52b9c71b0d0bfd9e4 diff --git a/dev-python/aiokafka/aiokafka-0.10.0.ebuild b/dev-python/aiokafka/aiokafka-0.10.0.ebuild new file mode 100644 index 000000000..a5c873f16 --- /dev/null +++ b/dev-python/aiokafka/aiokafka-0.10.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi +DESCRIPTION="Kafka integration with asyncio." +HOMEPAGE="https://github.com/aio-libs/aiokafka https://aiokafka.readthedocs.org https://pypi.org/project/aiokafka/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/async-timeout[${PYTHON_USEDEP}]" +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +src_prepare() { + # remove dynamic-versioning + sed 's/dynamic = \["version"\]/version = \"'${PV}'\"/g' -i pyproject.toml || die + eapply_user +} + +distutils_enable_tests pytest diff --git a/dev-python/aiokafka/aiokafka-0.7.2.ebuild b/dev-python/aiokafka/aiokafka-0.7.2.ebuild index c6f1aef53..b66d532e3 100644 --- a/dev-python/aiokafka/aiokafka-0.7.2.ebuild +++ b/dev-python/aiokafka/aiokafka-0.7.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8