代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-redis 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-redis
Version: 2.10.6
Release: 6
Summary: The Python interface to the Redis key-value store
License: MIT
URL: https://github.com/andymccurdy/redis-py
Source0: https://github.com/andymccurdy/redis-py/archive/2.10.6.tar.gz
BuildArch: noarch
BuildRequires: python2-devel python2-setuptools python2-py python2-pytest redis python2-mock jemalloc
%description
The Python interface to the Redis key-value store.
%package -n python2-redis
Summary: The Python2 interface to the Redis key-value store
%{?python_provide:%python_provide python2-redis}
%description -n python2-redis
The Python2 interface to the Redis key-value store.
%package -n python3-redis
Summary: The Python3 interface to the Redis key-value store
BuildRequires: python3-devel python3-setuptools python3-py python3-pytest python3-mock
%description -n python3-redis
The Python3 interface to the Redis key-value store.
%prep
%autosetup -n redis-py-2.10.6 -p1
rm tests/test_commands.py*
rm -rf %{py3dir}
cp -a . %{py3dir}
%build
cd %{py3dir}
%{__python3} setup.py build
cd -
%{__python2} setup.py build
%install
cd %{py3dir}
%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
cd -
%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
%check
redis-server &
cd %{py3dir}
%{__python3} setup.py test
cd -
%{__python2} setup.py test
kill %1
%files -n python2-redis
%doc CHANGES LICENSE README.rst
%{python2_sitelib}/redis
%{python2_sitelib}/redis-2.10.6-py%{python2_version}.egg-info
%files -n python3-redis
%doc CHANGES LICENSE README.rst
%{python3_sitelib}/redis
%{python3_sitelib}/redis-2.10.6-py%{python3_version}.egg-info
%changelog
* Mon Jan 6 2020 qinjian <qinjian18@huawei.com> - 2.10.6-6
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。