14
0
forked from pool/python-kazoo
Files
python-kazoo/python-kazoo.spec
Dirk Mueller 4e5c654c79 - update to 2.8.0:
* **chore:**  using Github templates for issues and PRs (#610) ([eddc0976](eddc0976bf))
  * **core:**
    *  Use strict regex to identify lock contenders. ([cc8ce892](cc8ce89291))
    *  Support additionaal lock contenter patterns ([225eeecb](225eeecbe6))
  * **tests:**
    *  Disable problematic hound-flake8-black integration. ([75f62a0d](75f62a0dd4))
    *  Move to pytest ([de97d74b](de97d74b50))
    *  add Python 3.8 and remove Python 3.6 from the testing suite (#611) ([e4f808f7](e4f808f7f0))
  * **core:**  Use chain.from_iterable in threading.py (#614) ([13c73ec5](13c73ec5f4))
  * **core:**
    *  handle SSL_WANT_READ/WRITE errors (#619) ([cbdc4749](cbdc4749ed), closes [#618](https://github.com/python-zk/kazoo/issues/618))
    *  '"is" with a literal' syntax errors (#609) ([6b6ffe62](6b6ffe62a0))
    *  sync() return should be unchrooted ([cbde70ac](cbde70ac87), closes [#601](https://github.com/python-zk/kazoo/issues/601))
  * **core:**  Update matrix: add pypy3, drop py27 ([522189da](522189da0f))
  * **tests:**  Add coverage report on codecov.io ([bb475843](bb47584390))

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kazoo?expand=0&rev=20
2020-07-17 08:08:15 +00:00

69 lines
2.1 KiB
RPMSpec

#
# spec file for package python-kazoo
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-kazoo
Version: 2.8.0
Release: 0
Summary: Higher Level Zookeeper Client
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/python-zk/kazoo
Source: https://files.pythonhosted.org/packages/source/k/kazoo/kazoo-%{version}.tar.gz
BuildRequires: %{python_module eventlet >= 0.17.1}
BuildRequires: %{python_module gevent >= 1.2}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pure-sasl}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%ifpython2
Requires: python-eventlet >= 0.17.1
Requires: python-gevent >= 1.2
%endif
Requires: python-six
Suggests: python-pure-sasl
BuildArch: noarch
%python_subpackages
%description
Implements a higher level API to Apache Zookeeper for Python clients.
%prep
%setup -q -n kazoo-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# kazoo needs running zookeeper server
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_version} -v
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/*
%changelog