15
0
forked from pool/python-gear

- update to 0.11.1:

* Make workers admin command py3 safe
  * server: make stats more efficient
  * Add a send lock to the base Connection class
  * Server: support background jobs
  * Fix exception setter
  * Provide TextJob and TextWorker for convenience
  * Uncap pbr dependency
  * Update hacking dependency
  * Replace assertEquals with assertEqual
  * Make Job.name assume utf-8
  * Ignore E129
  * Move py27 after py34 and py35
  * Re-enable flake8
  * Add py35 to tox.ini default envs
  * Move other-requirements.txt to bindep.txt
  * Remove discover from test-requirements
  * Add test for AdminRequest.isComplete
  * Parse admin requests 2880 times faster
  * Geard: Handle connections closed while sending
  * Support TCP keepalives in geard
  * List system dependencies for running common tests
  * Do not encode the type (b) in the job name
  * Bump version requirement for pbr
  * Remove vestigal hook entry from setup.cfg
  * Remove py26 from tox.ini
  * Switch to six for configparser
  * Do not change object size when iterating
  * Allow setting a timeout for Client.waitForServer()
  * Remove shebang as the script is managed by an entry\_point

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gear?expand=0&rev=2
This commit is contained in:
2018-03-23 15:01:32 +00:00
committed by Git OBS Bridge
parent c5929281bd
commit ada6c5022c
4 changed files with 67 additions and 13 deletions

3
gear-0.11.1.tar.gz Normal file
View File

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

View File

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

View File

@@ -1,3 +1,42 @@
-------------------------------------------------------------------
Fri Mar 23 14:55:46 UTC 2018 - tbechtold@suse.com
- update to 0.11.1:
* Make workers admin command py3 safe
* server: make stats more efficient
* Add a send lock to the base Connection class
* Server: support background jobs
* Fix exception setter
* Provide TextJob and TextWorker for convenience
* Uncap pbr dependency
* Update hacking dependency
* Replace assertEquals with assertEqual
* Make Job.name assume utf-8
* Ignore E129
* Move py27 after py34 and py35
* Re-enable flake8
* Add py35 to tox.ini default envs
* Move other-requirements.txt to bindep.txt
* Remove discover from test-requirements
* Add test for AdminRequest.isComplete
* Parse admin requests 2880 times faster
* Geard: Handle connections closed while sending
* Support TCP keepalives in geard
* List system dependencies for running common tests
* Do not encode the type (b) in the job name
* Bump version requirement for pbr
* Remove vestigal hook entry from setup.cfg
* Remove py26 from tox.ini
* Switch to six for configparser
* Do not change object size when iterating
* Allow setting a timeout for Client.waitForServer()
* Remove shebang as the script is managed by an entry\_point
* Guard against double shutdown in client
* Remove argparse from requirements
* Deprecated tox -downloadcache option removed
* Add a test for worker termination
- Switch to singlespec
-------------------------------------------------------------------
Mon Dec 7 14:44:52 UTC 2015 - tbechtold@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-gear
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@@ -13,23 +13,31 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-gear
Version: 0.5.8
Version: 0.11.1
Release: 0
License: Apache-2.0
Summary: Pure Python Async Gear Protocol Library
Url: http://pypi.python.org/pypi/gear
License: Apache-2.0
Group: Development/Languages/Python
Url: http://pypi.python.org/pypi/gear
Source: https://pypi.python.org/packages/source/g/gear/gear-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-pbr
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pbr}
BuildRequires: python-rpm-macros
Requires: python-extras
Requires: python-python-daemon >= 2.0.4
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
%description
A pure-Python asynchronous library to interface with Gearman.
@@ -37,15 +45,22 @@ A pure-Python asynchronous library to interface with Gearman.
%setup -q -n gear-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_clone -a %{buildroot}%{_bindir}/geard
%files
%post
%python_install_alternative geard
%postun
%python_uninstall_alternative geard
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst ChangeLog LICENSE AUTHORS
%{python_sitelib}/*
%{_bindir}/geard
%python_alternative %{_bindir}/geard
%changelog