summaryrefslogtreecommitdiff
path: root/dev-python/kafka-python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-python/kafka-python
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-python/kafka-python')
-rw-r--r--dev-python/kafka-python/Manifest4
-rw-r--r--dev-python/kafka-python/kafka-python-1.3.3.ebuild4
-rw-r--r--dev-python/kafka-python/kafka-python-1.4.7.ebuild29
3 files changed, 34 insertions, 3 deletions
diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest
index 3ffe3cb64d84..5ec0dee8605c 100644
--- a/dev-python/kafka-python/Manifest
+++ b/dev-python/kafka-python/Manifest
@@ -1,3 +1,5 @@
DIST kafka-python-1.3.3.tar.gz 255686 BLAKE2B 01ce6d3faf55988f291a0aeb26f6e5e01407c02d440f21622e565a124595e2df46e253c539ef1ffe44405960249ba49f426f25a6a6ef3b67d3f3f1bf6fe37aee SHA512 19b43ddc7a1ad3fcf58c55198de60c4434bfa3747d5bbc40f1acf0aa28225eae87effbae69087919b111cb739010bd4087e2497fdc78987f4cdaf33e81e516b3
-EBUILD kafka-python-1.3.3.ebuild 771 BLAKE2B 2cc3ebc625e00c2c9169397b9166a98337d94d07388b3263d3ca814a7745ab95a435e88299a56f11c1c2dd439854302cd18ece36ae0ea30b60833430c7d112c4 SHA512 2cf2e181e291e5054915125dc7e989099b94fe468aa77e46e0c353e304ca93baeab7162f7c0d9c9dfb5a6b193d8da61440ca08969d67fe78d57f828d62505fbd
+DIST kafka-python-1.4.7.tar.gz 352844 BLAKE2B 812c185bf19f3398c358722a44feb572693556ec671d07f2d74d63e45473f5b6d35390cc0fa2c95b8c42a15b635237ffa3c3829adde1f60a7611ce4fdf06f587 SHA512 5bbf9f998fba12e8e7c67a48e82b04e745f1ac528684e91b7454e825656e4a68b8c369984308cff575241b7f808f52f16ab02b7effd6d6b4319215f44ae4748e
+EBUILD kafka-python-1.3.3.ebuild 767 BLAKE2B 24dac7fd85c6d7e298023a62dcf95f7ed27349946248604893fc1b24c87ab6a536fb41becbab0af297added906a0a61c13543e8d6242d1665e194c1589ba53b8 SHA512 819d54ceaba8a41f7e41a8e1bc99613f73c61bfd86bc59c8cb5d9bf5b9aaca56ae0ba545eeab891163b318858835d5783ea29ace613cd7b3cf1451bff6c18eb4
+EBUILD kafka-python-1.4.7.ebuild 771 BLAKE2B 18caf23b3d7217a903400c61ae940bc9cb10fbcd2f07e9da6db170091b714dd6939b782563469896fe356bb7ccd7786772c30b920c16f7ccb252b4da622ba010 SHA512 db4386d593609da161546043d0c3adff5f5dd6cd45ba6389285fa5b08870ac9ec1898a03c64b5da852b92e458158930993c134c1a955b7bccdd84768a1d13cd5
MISC metadata.xml 384 BLAKE2B 0fb6669950cfee792645c9dbefbd9bf6291e69a48294b4696729bb8cc9c4c7d21ff01cc570d62e74e2f3b40f8216f7351fab6d20e0f3267a49295818c4a6a781 SHA512 8544992c46b3ac30d3ea25c9ab5005d39636e30c929d6fc8be8e1942f8ad008f4e95b03a52facb31e5ba4a982c52567a78f63017d3936986e34a08c40d3817bb
diff --git a/dev-python/kafka-python/kafka-python-1.3.3.ebuild b/dev-python/kafka-python/kafka-python-1.3.3.ebuild
index 62842c0eadae..4163d163c471 100644
--- a/dev-python/kafka-python/kafka-python-1.3.3.ebuild
+++ b/dev-python/kafka-python/kafka-python-1.3.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_COMPAT=( python2_7 python3_6 )
inherit distutils-r1
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 000000000000..5a21f667e958
--- /dev/null
+++ b/dev-python/kafka-python/kafka-python-1.4.7.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{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}"
+}