|
|
b74f8dc |
%global owner openstack-infra
|
|
|
b74f8dc |
%global srcname gear
|
|
|
b74f8dc |
|
|
|
b74f8dc |
Name: python-%{srcname}
|
|
|
efe243e |
Version: 0.5.8
|
|
|
efe243e |
Release: 1%{?dist}
|
|
|
b74f8dc |
Summary: Pure Python Async Gear Protocol Library
|
|
|
b74f8dc |
|
|
|
b74f8dc |
Group: Applications/Productivity
|
|
|
b74f8dc |
License: ASL 2.0
|
|
|
b74f8dc |
URL: https://github.com/openstack-infra/%{srcname}
|
|
|
efe243e |
Source0: https://pypi.python.org/packages/source/g/gear/gear-0.5.8.tar.gz
|
|
|
eb8ee1d |
# Patch0001 has been proposed upstream https://review.openstack.org/#/c/186889/
|
|
|
b74f8dc |
Patch0001: 0001-gear-lint-non-executable-script.patch
|
|
|
b74f8dc |
|
|
|
b74f8dc |
BuildArch: noarch
|
|
|
b74f8dc |
|
|
|
b74f8dc |
BuildRequires: python2-devel
|
|
|
b74f8dc |
BuildRequires: python-pbr
|
|
|
b74f8dc |
|
|
|
b74f8dc |
Requires: python-extras
|
|
|
b74f8dc |
Requires: python-argparse
|
|
|
b74f8dc |
Requires: python-daemon
|
|
|
efe243e |
Requires: python-pbr
|
|
|
b74f8dc |
|
|
|
b74f8dc |
|
|
|
b74f8dc |
%description
|
|
|
b74f8dc |
python-gear implements an asynchronous event-driven interface to Gearman.
|
|
|
b74f8dc |
It provides interfaces to build a client or worker, and access to the
|
|
|
b74f8dc |
administrative protocol. The design approach is to keep it simple, with a
|
|
|
b74f8dc |
relatively thin abstraction of the Gearman protocol itself. It should be
|
|
|
b74f8dc |
easy to use to build a client or worker that operates either synchronously
|
|
|
b74f8dc |
or asynchronously. The module also provides a simple Gearman server for
|
|
|
b74f8dc |
use as a convenience in unit tests. The server is not designed for
|
|
|
b74f8dc |
production use under load.
|
|
|
b74f8dc |
|
|
|
b74f8dc |
|
|
|
b74f8dc |
%prep
|
|
|
b74f8dc |
%setup -qn %{srcname}-%{version}
|
|
|
b74f8dc |
%patch0001 -p1
|
|
|
b74f8dc |
rm -f requirements.txt
|
|
|
b74f8dc |
|
|
|
b74f8dc |
|
|
|
b74f8dc |
%build
|
|
|
b74f8dc |
%{__python} setup.py build
|
|
|
b74f8dc |
|
|
|
b74f8dc |
|
|
|
b74f8dc |
%install
|
|
|
b74f8dc |
%{__python} setup.py install --skip-build --root %{buildroot}
|
|
|
b74f8dc |
|
|
|
b74f8dc |
|
|
|
b74f8dc |
%files
|
|
|
eb8ee1d |
%doc README.rst CONTRIBUTING.rst doc
|
|
|
eb8ee1d |
%license LICENSE
|
|
|
b74f8dc |
%{_bindir}/*
|
|
|
b74f8dc |
%{python_sitelib}/%{srcname}
|
|
|
b74f8dc |
%{python_sitelib}/%{srcname}-*egg-info
|
|
|
b74f8dc |
|
|
|
b74f8dc |
|
|
|
b74f8dc |
%changelog
|
|
|
efe243e |
* Mon Jun 22 2015 Fabien Boucher <fboucher@redhat.com> - 0.5.8-1
|
|
|
efe243e |
- Bump gear source to version 0.5.8
|
|
|
efe243e |
- Add python-pbr as dependency as demo geard needs it
|
|
|
efe243e |
|
|
|
4e790e1 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.7-2
|
|
|
4e790e1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
4e790e1 |
|
|
|
eb8ee1d |
* Fri May 29 2015 Fabien Boucher <fboucher@redhat.com> - 0.5.7-1
|
|
|
eb8ee1d |
- Bump gear source to version 0.5.7
|
|
|
eb8ee1d |
- Remove dist version in changelog
|
|
|
eb8ee1d |
- Fix license handling
|
|
|
eb8ee1d |
|
|
|
eb8ee1d |
* Thu Apr 23 2015 Fabien Boucher <fboucher@redhat.com> - 0.5.6-0
|
|
|
b74f8dc |
- Initial packaging
|