From c67e82ed5038d00fff0769c25480cf817672773a Mon Sep 17 00:00:00 2001 From: Austin English Date: Tue, 17 May 2016 14:00:05 -0500 Subject: dev-python/kafka-python: initial ebuild Package-Manager: portage-2.2.26 --- dev-python/kafka-python/Manifest | 1 + dev-python/kafka-python/kafka-python-1.1.1.ebuild | 30 +++++++++++++++++++++++ dev-python/kafka-python/metadata.xml | 20 +++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 dev-python/kafka-python/Manifest create mode 100644 dev-python/kafka-python/kafka-python-1.1.1.ebuild create mode 100644 dev-python/kafka-python/metadata.xml (limited to 'dev-python') diff --git a/dev-python/kafka-python/Manifest b/dev-python/kafka-python/Manifest new file mode 100644 index 000000000000..55118a2642a7 --- /dev/null +++ b/dev-python/kafka-python/Manifest @@ -0,0 +1 @@ +DIST kafka-python-1.1.1.tar.gz 213892 SHA256 1da61987111d23918aaebc81e1a5cfc8c72193a5df3caf4ce8826cf08bef89ec SHA512 aa95c5e5ae7790b898cfa40e763eb9c64f17c74ce1322b9a31edfd61fe693ff7cf7048d3f90cac5911c7c4dc8aa7c34ec9d33224bdad5ae5e9591e7fbcc01967 WHIRLPOOL 7706058a061c08bdd383de36dadb4035fb2c4606b0a0440062e0b92ea3965cbd1dbdb88ffc6784096e62d088a733fce66617aef63463485c5a1cfe416a007743 diff --git a/dev-python/kafka-python/kafka-python-1.1.1.ebuild b/dev-python/kafka-python/kafka-python-1.1.1.ebuild new file mode 100644 index 000000000000..fc2ef436e19f --- /dev/null +++ b/dev-python/kafka-python/kafka-python-1.1.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" +} diff --git a/dev-python/kafka-python/metadata.xml b/dev-python/kafka-python/metadata.xml new file mode 100644 index 000000000000..e2edf6176a94 --- /dev/null +++ b/dev-python/kafka-python/metadata.xml @@ -0,0 +1,20 @@ + + + + + wizardedit@gentoo.org + Austin English + + + Python client for Apache Kafka + + + + Install snappy compression/decompression support + + + + dpkp/kafka-python + kafka-python + + -- cgit v1.2.3-65-gdbad