Репозиторий Sisyphus
Последнее обновление: 18 октября 2019 | Пакетов: 17501 | Посещений: 15290167
en ru br
Репозитории ALT
S:1.0.5-alt1.git20150211.2.1.1
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: python-module-credis

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname credis

%def_with python3

Name: python-module-%oname
Version: 1.0.5
Release: alt1.git20150211.2.1
Summary: High performance redis client implemented with cython
License: Free
Group: Development/Python
Url: https://pypi.python.org/pypi/credis/
Packager: Python Development Team <python at packages.altlinux.org>

# https://github.com/yihuang/credis.git

Source: %name-%version.tar

BuildPreReq: python-devel python-module-Cython
#BuildPreReq: python-module-setuptools-tests
#BuildPreReq: python-module-hiredis
#BuildPreReq: python-module-redis-py
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-devel python3-module-Cython
#BuildPreReq: python3-module-setuptools-tests
#BuildPreReq: python3-module-hiredis
#BuildPreReq: python3-module-redis-py
%endif

%py_provides %oname
%py_requires hiredis

# Automatically added by buildreq on Wed Jan 27 2016 (-bi)

# optimized out: elfutils python-base python-devel python-modules python-modules-compiler python-modules-email python-modules-encodings python-modules-json python-modules-xml python3 python3-base python3-dev python3-module-zope
#BuildRequires: python-module-Cython python3-module-Cython rpm-build-python3

%description
Minimal redis client written in cython, 5X faster than redis-py.

%package -n python3-module-%oname
Summary: High performance redis client implemented with cython
Group: Development/Python3
%py3_provides %oname
%py3_requires hiredis

%description -n python3-module-%oname
Minimal redis client written in cython, 5X faster than redis-py.

%prep
%setup

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

%build
%add_optflags -fno-strict-aliasing
%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

%files
%doc *.rst benchmark test
%python_sitelibdir/*

%if_with python3
%files -n python3-module-%oname
%doc *.rst benchmark test
%python3_sitelibdir/*
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin