|
|
ae10884 |
Name: python-txredisapi
|
|
|
dd0e893 |
Version: 1.4.9
|
|
|
f3920c0 |
Release: %autorelease
|
|
|
4e942ad |
Summary: Non-blocking Redis client for Python
|
|
|
4e942ad |
|
|
|
3496675 |
License: Apache-2.0
|
|
|
4e942ad |
URL: http://github.com/fiorix/txredisapi
|
|
|
ae10884 |
Source0: https://files.pythonhosted.org/packages/source/t/txredisapi/txredisapi-%{version}.tar.gz
|
|
|
4e942ad |
BuildArch: noarch
|
|
|
4e942ad |
|
|
|
4e942ad |
BuildRequires: python3-devel
|
|
|
4e942ad |
BuildRequires: python3-setuptools
|
|
|
4e942ad |
|
|
|
2f78c9d |
%global _description %{expand:
|
|
|
2f78c9d |
txredisapi is a non-blocking client driver for the Redis database,
|
|
|
2f78c9d |
written in Python. It uses Twisted for the asynchronous communication
|
|
|
2f78c9d |
with Redis.
|
|
|
2f78c9d |
|
|
|
2f78c9d |
It started as a fork of the original Redis protocol for Twisted, and
|
|
|
2f78c9d |
evolved into a more robust, reliable, and complete solution for
|
|
|
2f78c9d |
applications like web servers. These types of applications often need a
|
|
|
2f78c9d |
fault-tolerant pool of connections with multiple Redis servers, making it
|
|
|
2f78c9d |
possible to easily develop and maintain distributed systems.
|
|
|
2f78c9d |
|
|
|
2f78c9d |
Most of the Redis commands are supported, as well as other features such as
|
|
|
2f78c9d |
silent reconnection, connection pools, and automatic sharding.
|
|
|
2f78c9d |
|
|
|
2f78c9d |
This driver is distributed as part of the cyclone web framework.}
|
|
|
2f78c9d |
|
|
|
2f78c9d |
%description %{_description}
|
|
|
4e942ad |
|
|
|
ae10884 |
%package -n python3-txredisapi
|
|
|
4e942ad |
Summary: %{summary}
|
|
|
ae10884 |
%{?python_provide:%python_provide python3-txredisapi}
|
|
|
4e942ad |
Requires: python3-six
|
|
|
4e942ad |
Requires: python3-twisted
|
|
|
2f78c9d |
%description -n python3-txredisapi %{_description}
|
|
|
4e942ad |
|
|
|
4e942ad |
|
|
|
4e942ad |
%prep
|
|
|
ae10884 |
%autosetup -n txredisapi-%{version}
|
|
|
4e942ad |
# Remove bundled egg-info
|
|
|
ae10884 |
rm -rf txredisapi.egg-info
|
|
|
4e942ad |
|
|
|
4e942ad |
%build
|
|
|
4e942ad |
%py3_build
|
|
|
4e942ad |
|
|
|
4e942ad |
|
|
|
4e942ad |
%install
|
|
|
4e942ad |
%py3_install
|
|
|
4e942ad |
|
|
|
4e942ad |
|
|
|
ae10884 |
%files -n python3-txredisapi
|
|
|
4e942ad |
%{python3_sitelib}/__pycache__/*
|
|
|
ae10884 |
%{python3_sitelib}/txredisapi.py
|
|
|
ae10884 |
%{python3_sitelib}/txredisapi-%{version}-py%{python3_version}.egg-info
|
|
|
4e942ad |
|
|
|
4e942ad |
|
|
|
4e942ad |
%changelog
|
|
|
f3920c0 |
%autochangelog
|