Sisyphus repositório
Última atualização: 16 junho 2019 | SRPMs: 17683 | Visitas: 14022133
en ru br
ALT Linux repositórios
S:2.4.18-alt2.git20141002.1

Group :: Desenvolvimento/Python
RPM: python-module-tornado-redis

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname tornado-redis

%def_with python3

Name: python-module-%oname
Version: 2.4.18
Release: alt2.git20141002
Summary: Asynchronous Redis client that works within Tornado IO loop
License: ASLv2.0
Group: Development/Python
BuildArch: noarch
Url: https://pypi.python.org/pypi/tornado-redis/

# https://github.com/leporo/tornado-redis.git

Source: %name-%version.tar

BuildRequires: python-devel python-module-setuptools-tests
BuildRequires: python-module-tornado
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools-tests
BuildRequires: python3-module-tornado
%endif

%py_provides tornadoredis

%description
Asynchronous Redis client for the Tornado Web Server.

This is a fork of brukva redis client modified to be used via Tornado's
native 'tornado.gen' interface instead of 'adisp' call dispatcher.

%if_with python3
%package -n python3-module-%oname
Summary: Asynchronous Redis client that works within Tornado IO loop
Group: Development/Python3
%py3_provides tornadoredis

%description -n python3-module-%oname
Asynchronous Redis client for the Tornado Web Server.

This is a fork of brukva redis client modified to be used via Tornado's
native 'tornado.gen' interface instead of 'adisp' call dispatcher.
%endif

%prep
%setup

%if_with python3
cp -fR . ../python3
%endif

%build
%python_build_debug

%if_with python3
pushd ../python3
%python3_build_debug
popd
%endif

%install
%python_install

%if_with python3
pushd ../python3
%python3_install
popd
%endif

%check
python setup.py build_ext -i
python runtests.py
%if_with python3
pushd ../python3
python3 setup.py build_ext -i
python3 runtests.py
popd
%endif

%files
%doc *.md demos
%python_sitelibdir/*

%if_with python3
%files -n python3-module-%oname
%doc *.md demos
%python3_sitelibdir/*
%endif

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009