Silas Sewell 2d72d2f
%global upstream_name redis
Silas Sewell 2d72d2f
Silas Sewell 2d72d2f
Name:           python-%{upstream_name}
d7ba7ea
Version:        3.5.3
9d5ae22
Release:        4%{?dist}
a1f5282
Summary:        Python interface to the Redis key-value store
Silas Sewell 2d72d2f
License:        MIT
05db9a8
URL:            https://github.com/andymccurdy/redis-py
05db9a8
Source0:        https://github.com/andymccurdy/redis-py/archive/%{version}.tar.gz
Silas Sewell 2d72d2f
BuildArch:      noarch
Luke Macken dcabdad
BuildRequires:  redis
Silas Sewell 2d72d2f
fb2444a
%global _description\
a1f5282
This is a Python interface to the Redis key-value store.
2647cc3
fb2444a
%description %_description
fb2444a
2647cc3
%package -n     python3-redis
4f6dffa
Summary:        Python 3 interface to the Redis key-value store
95ad84f
%{?python_provide:%python_provide python3-redis}
Luke Macken 9394419
BuildRequires:  python3-devel
Luke Macken 9394419
BuildRequires:  python3-setuptools
Luke Macken 9394419
BuildRequires:  python3-py
Luke Macken 9073cb1
BuildRequires:  python3-pytest
05db9a8
BuildRequires:  python3-mock
Luke Macken 9394419
Luke Macken 9394419
%description -n python3-redis
2647cc3
This is a Python 3 interface to the Redis key-value store.
Luke Macken 9394419
Silas Sewell 2d72d2f
%prep
05db9a8
%setup -qn redis-py-%{version}
4f6dffa
rm -frv %{upstream_name}.egg-info
Silas Sewell 2d72d2f
5409929
# This test passes locally but fails in koji...
5409929
rm tests/test_commands.py*
5409929
Luke Macken 9394419
Silas Sewell 2d72d2f
%build
a1f5282
%py3_build
Silas Sewell 2d72d2f
Silas Sewell 2d72d2f
%install
a1f5282
%py3_install
Silas Sewell 2d72d2f
Luke Macken cc38e70
%check
Luke Macken dcabdad
redis-server &
fa3ffef
%{__python3} -m pytest
Luke Macken dcabdad
kill %1
Luke Macken cc38e70
Luke Macken 9394419
%files -n python3-redis
e1a8f71
%doc CHANGES LICENSE README.rst
Luke Macken 9394419
%{python3_sitelib}/%{upstream_name}
e1a8f71
%{python3_sitelib}/%{upstream_name}-%{version}-py%{python3_version}.egg-info
Luke Macken 9394419
Silas Sewell 2d72d2f
%changelog
9d5ae22
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.3-4
9d5ae22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9d5ae22
4b92198
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 3.5.3-3
4b92198
- Rebuilt for Python 3.10
4b92198
7776e7c
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.3-2
7776e7c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
7776e7c
d7ba7ea
* Tue Sep 15 2020 Joel Capitao <jcapitao@redhat.com> - 3.5.3-1
d7ba7ea
- Update to 3.5.3
d7ba7ea
d4c2ca3
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-3
d4c2ca3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d4c2ca3
17f70ac
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-2
17f70ac
- Rebuilt for Python 3.9
17f70ac
fa3ffef
* Mon Mar 16 2020 Clément Verna <cverna@fedoraproject.org> - 3.4.1-1
fa3ffef
- Update to 3.4.1.
fa3ffef
- Use pytest to run the unit tests.
fa3ffef
94600a3
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-2
94600a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
94600a3
a1f5282
* Sun Oct 06 2019 Kevin Fenzi <kevin@scrye.com> - 3.3.8-1
a1f5282
- Update to 3.3.8.
a1f5282
95ad84f
* Sun Sep 08 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.1-4
95ad84f
- Subpackage python2-redis has been removed
95ad84f
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
95ad84f
4228fc7
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.1-3
4228fc7
- Rebuilt for Python 3.8
4228fc7
9773612
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-2
9773612
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9773612
4551264
* Sat Jun 22 2019 Kevin Fenzi <kevin@scrye.com> - 3.2.1-1
4551264
- Update to 3.2.1. Fixes bug #1670235
4551264
69fd12b
* Mon Feb 11 2019 Javier Peña <jpena@redhat.com> - 3.1.0-1
69fd12b
- Update to 3.1.0. Fixes bug #1670235
69fd12b
27b909a
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.6-6
27b909a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
27b909a
5eb67dd
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.6-5
5eb67dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5eb67dd
5cee93a
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 2.10.6-4
5cee93a
- Rebuilt for Python 3.7
5cee93a
4d69999
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.6-3
4d69999
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4d69999
30223f0
* Sat Jan 27 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.10.6-2
30223f0
- Update Python 2 dependency declarations to new packaging standards
30223f0
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
30223f0
05db9a8
* Sun Dec 17 2017 Kevin Fenzi <kevin@scrye.com> - 2.10.6-1
05db9a8
- Update to 2.10.6. Fixes bug #1482297
05db9a8
fb2444a
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.10.5-6
fb2444a
- Python 2 binary package renamed to python2-redis
fb2444a
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
fb2444a
80cbe27
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.5-5
80cbe27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
80cbe27
d3f19fb
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.5-4
d3f19fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d3f19fb
9f96b5b
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.10.5-3
9f96b5b
- Rebuild for Python 3.6
9f96b5b
8975390
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.5-2
8975390
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
8975390
adca6ae
* Mon Apr 04 2016 Ralph Bean <rbean@redhat.com> - 2.10.5-1
adca6ae
- new version
adca6ae
46f0c12
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.3-5
46f0c12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
46f0c12
9826aa1
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.3-4
9826aa1
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
9826aa1
5409929
* Fri Jul 10 2015 Ralph Bean <rbean@redhat.com> - 2.10.3-3
5409929
- Remove test that fails erroneously in koji.
5409929
380073a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.3-2
380073a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
380073a
a283411
* Thu Aug 21 2014 Christopher Meng <rpm@cicku.me> - 2.10.3-1
a283411
- Update to 2.10.3
a283411
4f6dffa
* Tue Aug 12 2014 Christopher Meng <rpm@cicku.me> - 2.10.2-1
4f6dffa
- Update to 2.10.2
4f6dffa
3713f6a
* Thu Jun 19 2014 Christopher Meng <rpm@cicku.me> - 2.10.1-1
3713f6a
- Update to 2.10.1
3713f6a
f20095c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.1-3
f20095c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f20095c
4416e24
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 2.9.1-2
4416e24
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
4416e24
2647cc3
* Fri Feb 14 2014 Christopher Meng <rpm@cicku.me> - 2.9.1-1
2647cc3
- Update to 2.9.1
2647cc3
- Use generated egg instead of bundled egg
2647cc3
- Cleanup again
2647cc3
Luke Macken 8b4dc5d
* Sat Jul 27 2013 Luke Macken <lmacken@redhat.com> - 2.7.6-1
Luke Macken 8b4dc5d
- Update to 2.7.6
Luke Macken cc38e70
- Run the test suite
Luke Macken 9394419
- Add a python3 subpackage
Luke Macken 24eb357
- Remove obsolete buildroot tag and cleanup
Luke Macken 8b4dc5d
e3b2aeb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.2-2
e3b2aeb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e3b2aeb
01bcc33
* Thu Dec 27 2012 Silas Sewell <silas@sewell.org> - 2.7.2-1
01bcc33
- Update to 2.7.2
01bcc33
1cb6d42
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.9-3
1cb6d42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1cb6d42
c354136
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.9-2
c354136
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c354136
Silas Sewell a46c41a
* Sun Jul 24 2011 Silas Sewell <silas@sewell.org> - 2.4.9-1
Silas Sewell a46c41a
- Update to 2.4.9
Silas Sewell a46c41a
Silas Sewell 3dd895c
* Sun Mar 27 2011 Silas Sewell <silas@sewell.ch> - 2.2.4-1
Silas Sewell 3dd895c
- Update to 2.2.4
Silas Sewell 3dd895c
09c26e8
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
09c26e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
09c26e8
Silas Sewell 2d72d2f
* Sat Sep 04 2010 Silas Sewell <silas@sewell.ch> - 2.0.0-1
Silas Sewell 2d72d2f
- Initial build