Nejc Saje 5d3771c
# Created by pyp2rpm-1.0.1
Nejc Saje 5d3771c
%global pypi_name pymemcache
Nejc Saje 5d3771c
Nejc Saje 5d3771c
Name:           python-%{pypi_name}
a87e256
Version:        4.0.0
d6bbb03
Release:        4%{?dist}
Nejc Saje 5d3771c
Summary:        A comprehensive, fast, pure Python memcached client
Nejc Saje 5d3771c
Nejc Saje 5d3771c
License:        ASL 2.0
Nejc Saje 5d3771c
URL:            https://github.com/Pinterest/pymemcache
Nejc Saje 5d3771c
Source0:        https://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
4b2593f
Patch0001:      0001-Skip-unit-tests-resolving-domain-names.patch
Priscila Gutierres dda2470
Patch0002:      0002-Unpin-test-requirements-packages.patch
Nejc Saje 5d3771c
BuildArch:      noarch
Nejc Saje 5d3771c
c461737
%global _description\
c461737
pymemcache supports the following features:\
c461737
\
c461737
* Complete implementation of the memcached text protocol.\
c461737
* Configurable timeouts for socket connect and send/recv calls.\
c461737
* Access to the "noreply" flag, which can significantly increase the speed of\
c461737
  writes.\
c461737
* Flexible, simple approach to serialization and deserialization.\
Nejc Saje 5d3771c
* The (optional) ability to treat network and memcached errors as cache misses.
Nejc Saje 5d3771c
c461737
%description %_description
c461737
ad3e2d2
Nejc Saje 5d3771c
%package -n python3-%{pypi_name}
Nejc Saje 5d3771c
Summary:        A comprehensive, fast, pure Python memcached client
a87e256
BuildRequires:  git-core
Priscila Gutierres dda2470
%{?python_enable_dependency_generator}
Priscila Gutierres dda2470
Priscila Gutierres dda2470
%generate_buildrequires
Priscila Gutierres dda2470
%pyproject_buildrequires -t
Nejc Saje 5d3771c
Nejc Saje 5d3771c
%description -n python3-%{pypi_name}
Nejc Saje 5d3771c
pymemcache supports the following features:
Nejc Saje 5d3771c
Nejc Saje 5d3771c
* Complete implementation of the memcached text protocol.
Nejc Saje 5d3771c
* Configurable timeouts for socket connect and send/recv calls.
Nejc Saje 5d3771c
* Access to the "noreply" flag, which can significantly increase the speed of
Nejc Saje 5d3771c
  writes.
Nejc Saje 5d3771c
* Flexible, simple approach to serialization and deserialization.
Nejc Saje 5d3771c
* The (optional) ability to treat network and memcached errors as cache misses.
Nejc Saje 5d3771c
Nejc Saje 5d3771c
%prep
a87e256
%autosetup -n %{pypi_name}-%{version} -S git
Nejc Saje 5d3771c
# Remove bundled egg-info
Nejc Saje 5d3771c
rm -rf %{pypi_name}.egg-info
Nejc Saje 5d3771c
Nejc Saje 5d3771c
Nejc Saje 5d3771c
%build
ad3e2d2
%py3_build
Nejc Saje 5d3771c
Nejc Saje 5d3771c
%install
ad3e2d2
%py3_install
Nejc Saje 5d3771c
Nejc Saje 5d3771c
%check
ad3e2d2
py.test-3 ./pymemcache/test/
Nejc Saje 5d3771c
Nejc Saje 5d3771c
%files -n python3-%{pypi_name}
ad3e2d2
%doc README.rst LICENSE.txt
Nejc Saje 5d3771c
%{python3_sitelib}/%{pypi_name}
aa00f97
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
Nejc Saje 5d3771c
Nejc Saje 5d3771c
%changelog
d6bbb03
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-4
d6bbb03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
d6bbb03
155b985
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-3
155b985
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
155b985
a87e256
Priscila Gutierres dda2470
* Mon Oct 16 2023 Priscila Gutierres <prgutier@redhat.com> - 4.0.0-2
Priscila Gutierres dda2470
- Add automatic generated Python dependencies
Priscila Gutierres dda2470
Priscila Gutierres dda2470
* Wed Oct 04 2023 Priscila Gutierres <prgutier@redhat.com> - 4.0.0-1
a87e256
- Update for 4.0.0
a87e256
172d554
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-8
172d554
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
172d554
1cb7f9d
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.5.0-7
1cb7f9d
- Rebuilt for Python 3.12
1cb7f9d
760dcc4
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-6
760dcc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
760dcc4
6c43822
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-5
6c43822
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
6c43822
72dfb46
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.5.0-4
72dfb46
- Rebuilt for Python 3.11
72dfb46
03e1c96
* Mon May 23 2022 Miro Hrončok <mhroncok@redhat.com> - 3.5.0-3
03e1c96
- Replace mock dependency with unittest.mock from the standard library
03e1c96
4f7511c
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2
4f7511c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
4f7511c
f98c792
* Thu Jul 29 2021 Alfredo Moralejo <amoralej@redhat.com> - 3.5.0-1
f98c792
- Update to 3.5.0 (#1163328)
f98c792
3ccb64b
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-3
3ccb64b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3ccb64b
473142b
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.4.0-2
473142b
- Rebuilt for Python 3.10
473142b
4b2593f
* Mon Feb 01 2021 Joel Capitao <jcapitao@redhat.com> - 3.4.0-1
4b2593f
- Update to 3.4.0 (#1163328)
4b2593f
d3ecdde
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-2
d3ecdde
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d3ecdde
4b02ba7
* Tue Sep 15 2020 Joel Capitao <jcapitao@redhat.com> - 3.3.0-1
4b02ba7
- Update to 3.3.0
4b02ba7
- Remove Python 2 subpackage
4b02ba7
c6c420f
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-8
c6c420f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c6c420f
86f7afb
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.1.1-7
86f7afb
- Rebuilt for Python 3.9
86f7afb
77e966e
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-6
77e966e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
77e966e
27eb28a
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.1-5
27eb28a
- Rebuilt for Python 3.8.0rc1 (#1748018)
27eb28a
fcf8608
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.1-4
fcf8608
- Rebuilt for Python 3.8
fcf8608
f52c459
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
f52c459
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f52c459
d749e89
* Tue Mar 05 2019 Alfredo Moralejo <amoralej@redhat.com> - 2.1.1-2
d749e89
- Add python2-future as BR for unit tests in python2.
d749e89
ad3e2d2
* Mon Feb 11 2019 Javier Peña <jpena@redhat.com> - 2.1.1-1
ad3e2d2
- Updated to upstream 2.1.1
ad3e2d2
- Re-introduced python2 subpackage for EL7
ad3e2d2
6847fe7
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-16
6847fe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6847fe7
b90ab40
* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.5-15
b90ab40
- Python2 binary package has been removed
b90ab40
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
b90ab40
5427623
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-14
5427623
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5427623
0d6cd46
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.5-13
0d6cd46
- Rebuilt for Python 3.7
0d6cd46
203ecf7
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.5-12
203ecf7
- Update Python 2 dependency declarations to new packaging standards
203ecf7
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
203ecf7
c781cba
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-11
c781cba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c781cba
c461737
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.5-10
c461737
- Python 2 binary package renamed to python2-pymemcache
c461737
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
c461737
cb4b486
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-9
cb4b486
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cb4b486
e64137f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-8
e64137f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e64137f
780ba60
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.2.5-7
780ba60
- Rebuild for Python 3.6
780ba60
38e7b98
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-6
38e7b98
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
38e7b98
61db8d4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5
61db8d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
61db8d4
391ecda
* Thu Nov 12 2015 Kalev Lember <klember@redhat.com> - 1.2.5-4
391ecda
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
391ecda
e2647f4
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-3
e2647f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e2647f4
Nejc Saje 3484695
* Thu Sep 11 2014 Nejc Saje <nsaje@redhat.com> - 1.2.5-2
Nejc Saje 3484695
- Added six to build dependencies, needed during tests
Nejc Saje 3484695
Nejc Saje 5d3771c
* Tue Sep 09 2014 Nejc Saje <nsaje@redhat.com> - 1.2.5-1
Nejc Saje 5d3771c
- Initial package.
Nejc Saje 5d3771c