summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/kafka-python')
-rw-r--r--dev-python/kafka-python/Manifest2
-rw-r--r--dev-python/kafka-python/kafka-python-1.2.0.ebuild30
-rw-r--r--dev-python/kafka-python/kafka-python-1.2.1.ebuild30
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest
index 55118a2642a7..74c0eb83817f 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 000000000000..fc2ef436e19f
--- /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 000000000000..fc2ef436e19f
--- /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"
+}