dev-python/kafka-python: Bump to version 1.4.7
authorZac Medico <zmedico@gentoo.org>
Thu, 19 Dec 2019 01:16:09 +0000 (17:16 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 19 Dec 2019 01:17:25 +0000 (17:17 -0800)
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Zac Medico <zmedico@gentoo.org>
dev-python/kafka-python/Manifest
dev-python/kafka-python/kafka-python-1.4.7.ebuild [new file with mode: 0644]

index 5bbfa617b6a664c06456c03ea9485ed768fd3b29..d71dc6b04f5156969bbde5f9e5b2fc6343c9813c 100644 (file)
@@ -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 (file)
index 0000000..4892b5e
--- /dev/null
@@ -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}"
+}