diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-08 15:03:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-08 15:03:58 +0100 |
commit | 814f4cf860e299a046b649eaee5463427984c09c (patch) | |
tree | 74c45f097899310e599dad6b8df5b63e0f085bc0 /dev-python/kafka-python | |
parent | 7f0ccc917c7abe6223784c703d86cd14755691fb (diff) |
gentoo resync : 08.07.2021
Diffstat (limited to 'dev-python/kafka-python')
-rw-r--r-- | dev-python/kafka-python/Manifest | 2 | ||||
-rw-r--r-- | dev-python/kafka-python/kafka-python-1.4.7.ebuild | 15 |
2 files changed, 6 insertions, 11 deletions
diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest index 6df24ee81f1a..448e20997893 100644 --- a/dev-python/kafka-python/Manifest +++ b/dev-python/kafka-python/Manifest @@ -1,3 +1,3 @@ DIST kafka-python-1.4.7.tar.gz 352844 BLAKE2B 812c185bf19f3398c358722a44feb572693556ec671d07f2d74d63e45473f5b6d35390cc0fa2c95b8c42a15b635237ffa3c3829adde1f60a7611ce4fdf06f587 SHA512 5bbf9f998fba12e8e7c67a48e82b04e745f1ac528684e91b7454e825656e4a68b8c369984308cff575241b7f808f52f16ab02b7effd6d6b4319215f44ae4748e -EBUILD kafka-python-1.4.7.ebuild 725 BLAKE2B 69d90b081511f17db3d6cc428dc9f4cb15e3db894d4090b3c6ac1e8b979c743b63a30f0e8c082ef941d63e3a9b41e23bbb8623bf2ddfe1e19fa674dae1969a0e SHA512 39286e1051ad198c2492e96004a02073d80b462b2b991dbef8e54324287f854e8591ff8a04da43235d5a4daf5f79a352d03f2bdb66eaf0c161869e9d7f769668 +EBUILD kafka-python-1.4.7.ebuild 610 BLAKE2B 82c5eb243dd959e97b0b7efcb3ac8840f7f3c36e5bcff600100979b9b514b1dda3922f34bfa126a02f3204f1f1df776ab3143c676042c2d0fab68882a538251e SHA512 add04f189fa7a36c7361e0668dc015149bf1b15c5f390cc1552ff91789cb2305c88c8c2d665fe1f1affaaa2e8d8d7b62258e3ed1fa74c52a286a08740ffea578 MISC metadata.xml 306 BLAKE2B e3422b476fc8d0d7fb8576c24d0eee0ed47d822963c979fdc1f9fcbfdd99abcd0caf7948aa7fb1142ea4ca174a5e803b0884a0d707418f5ce918a4a99ef61dbb SHA512 52e23be22b6fc6964bef55d737579c013b58d09cf737781212cd1d4c99f9c1257086ebafe5ed5dcc99ae574e3a0a6eb148029958f135508afa0ac069a2169968 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 36adc8405d2e..0a7e9046e9de 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 |