File python-pykafka.spec of Package python-pykafka

# spec file for package python-pykafka
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           python-pykafka
Version:        2.7.0
Release:        0
Summary:        Full-Featured Pure-Python Kafka Client
License:        Apache-2.0
Group:          Development/Languages/Python
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildArch:      noarch

PyKafka is a cluster-aware Kafka>=0.8.2 client for Python. It includes Python
implementations of Kafka producers and consumers, which are optionally backed
by a C extension built on `librdkafka`_, and runs under Python 2.7+, Python 3.4+,
and PyPy.

.. _librdkafka:

PyKafka's primary goal is to provide a similar level of abstraction to the
`JVM Kafka client`_ using idioms familiar to Python programmers and exposing
the most Pythonic API possible.

%setup -q -n pykafka-%{version}

python build

python install --prefix=%{_prefix} --root=%{buildroot}

%exclude %{python_sitelib}/tests/