14
0
forked from pool/python-kazoo

Accepting request 518326 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/518326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kazoo?expand=0&rev=5
This commit is contained in:
2017-09-05 13:14:51 +00:00
committed by Git OBS Bridge
4 changed files with 36 additions and 17 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:525a9959b98a1203530bee01446b365a9f7f1caa69399af0151127178941eb82
size 108037

3
kazoo-2.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7c2d1d7ddb047c936d368e31b08a93bb327ffa46606fe85f550a37ce608c29b
size 142830

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Aug 22 13:40:43 UTC 2017 - tbechtold@suse.com
- update to 2.4.0:
* add missed parens to LockingQueue function call.
* revert PR #305 SetWatches which caused RuntimeError
* pep8 all the things
* drop Python 2.6/3.3 official support, add 3.5/3.6 testing
* allow multiple endpoints in KazooClient hosts arg
* use epoll when available to support fds > 1023
* Add TreeCache recipe
* update MANIFEST.in to reflect changes to filenames
* add travis deployment and update ZK versions
* allow having observers and different sized clusters
* fully resolve multiple records for hosts in the zookeeper
connection string
* Fix the recipe examples, so they actually work by connecting to
ZooKeeper. Without start() they just hang and can't be killed.
-------------------------------------------------------------------
Thu Sep 29 14:41:34 UTC 2016 - dmueller@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-kazoo
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@@ -16,21 +16,18 @@
#
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-kazoo
Version: 2.2.1
Version: 2.4.0
Release: 0
Summary: Higher Level Zookeeper Client
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/yahoo/Zake
Source: https://pypi.io/packages/source/k/kazoo/kazoo-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
Source: https://files.pythonhosted.org/packages/source/k/kazoo/kazoo-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-six
# Test requirements:
@@ -40,6 +37,9 @@ Requires: python-six
#BuildRequires: python-nose
#BuildRequires: python-nose
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
Implements a higher level API to Apache Zookeeper for Python clients.
@@ -48,18 +48,18 @@ Implements a higher level API to Apache Zookeeper for Python clients.
%setup -q -n kazoo-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
#NOTE(saschpe): Currently require a running Zookeeper instance:
#%%check
#python setup.py test
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst
%doc LICENSE README.md
%{python_sitelib}/*
%changelog