Nejc Saje 5d3771
# Created by pyp2rpm-1.0.1
Nejc Saje 5d3771
%global pypi_name pymemcache
Nejc Saje 5d3771
Nejc Saje 5d3771
Name:           python-%{pypi_name}
4b02ba
Version:        3.3.0
4b02ba
Release:        1%{?dist}
Nejc Saje 5d3771
Summary:        A comprehensive, fast, pure Python memcached client
Nejc Saje 5d3771
Nejc Saje 5d3771
License:        ASL 2.0
Nejc Saje 5d3771
URL:            https://github.com/Pinterest/pymemcache
Nejc Saje 5d3771
Source0:        https://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
Nejc Saje 5d3771
BuildArch:      noarch
Nejc Saje 5d3771
c46173
%global _description\
c46173
pymemcache supports the following features:\
c46173
\
c46173
* Complete implementation of the memcached text protocol.\
c46173
* Configurable timeouts for socket connect and send/recv calls.\
c46173
* Access to the "noreply" flag, which can significantly increase the speed of\
c46173
  writes.\
c46173
* Flexible, simple approach to serialization and deserialization.\
Nejc Saje 5d3771
* The (optional) ability to treat network and memcached errors as cache misses.
Nejc Saje 5d3771
c46173
%description %_description
c46173
ad3e2d
Nejc Saje 5d3771
%package -n python3-%{pypi_name}
Nejc Saje 5d3771
Summary:        A comprehensive, fast, pure Python memcached client
Nejc Saje 5d3771
BuildRequires:  python3-devel
ad3e2d
BuildRequires:  python3-mock
ad3e2d
BuildRequires:  python3-pytest
ad3e2d
BuildRequires:  python3-pytest-cov
Nejc Saje 5d3771
BuildRequires:  python3-setuptools
Nejc Saje 348469
BuildRequires:  python3-six
Nejc Saje 5d3771
Requires:       python3-six
Nejc Saje 5d3771
Nejc Saje 5d3771
%description -n python3-%{pypi_name}
Nejc Saje 5d3771
pymemcache supports the following features:
Nejc Saje 5d3771
Nejc Saje 5d3771
* Complete implementation of the memcached text protocol.
Nejc Saje 5d3771
* Configurable timeouts for socket connect and send/recv calls.
Nejc Saje 5d3771
* Access to the "noreply" flag, which can significantly increase the speed of
Nejc Saje 5d3771
  writes.
Nejc Saje 5d3771
* Flexible, simple approach to serialization and deserialization.
Nejc Saje 5d3771
* The (optional) ability to treat network and memcached errors as cache misses.
Nejc Saje 5d3771
Nejc Saje 5d3771
%prep
Nejc Saje 5d3771
%setup -q -n %{pypi_name}-%{version}
Nejc Saje 5d3771
# Remove bundled egg-info
Nejc Saje 5d3771
rm -rf %{pypi_name}.egg-info
Nejc Saje 5d3771
Nejc Saje 5d3771
Nejc Saje 5d3771
%build
ad3e2d
%py3_build
Nejc Saje 5d3771
Nejc Saje 5d3771
%install
ad3e2d
%py3_install
Nejc Saje 5d3771
Nejc Saje 5d3771
%check
ad3e2d
py.test-3 ./pymemcache/test/
Nejc Saje 5d3771
Nejc Saje 5d3771
%files -n python3-%{pypi_name}
ad3e2d
%doc README.rst LICENSE.txt
Nejc Saje 5d3771
%{python3_sitelib}/%{pypi_name}
aa00f9
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
Nejc Saje 5d3771
Nejc Saje 5d3771
%changelog
4b02ba
* Tue Sep 15 2020 Joel Capitao <jcapitao@redhat.com> - 3.3.0-1
4b02ba
- Update to 3.3.0
4b02ba
- Remove Python 2 subpackage
4b02ba
c6c420
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-8
c6c420
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c6c420
86f7af
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.1.1-7
86f7af
- Rebuilt for Python 3.9
86f7af
77e966
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-6
77e966
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
77e966
27eb28
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.1-5
27eb28
- Rebuilt for Python 3.8.0rc1 (#1748018)
27eb28
fcf860
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.1-4
fcf860
- Rebuilt for Python 3.8
fcf860
f52c45
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
f52c45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f52c45
d749e8
* Tue Mar 05 2019 Alfredo Moralejo <amoralej@redhat.com> - 2.1.1-2
d749e8
- Add python2-future as BR for unit tests in python2.
d749e8
ad3e2d
* Mon Feb 11 2019 Javier Peña <jpena@redhat.com> - 2.1.1-1
ad3e2d
- Updated to upstream 2.1.1
ad3e2d
- Re-introduced python2 subpackage for EL7
ad3e2d
6847fe
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-16
6847fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6847fe
b90ab4
* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.5-15
b90ab4
- Python2 binary package has been removed
b90ab4
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
b90ab4
542762
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-14
542762
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
542762
0d6cd4
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.5-13
0d6cd4
- Rebuilt for Python 3.7
0d6cd4
203ecf
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.5-12
203ecf
- Update Python 2 dependency declarations to new packaging standards
203ecf
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
203ecf
c781cb
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-11
c781cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c781cb
c46173
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.5-10
c46173
- Python 2 binary package renamed to python2-pymemcache
c46173
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
c46173
cb4b48
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-9
cb4b48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cb4b48
e64137
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-8
e64137
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e64137
780ba6
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.2.5-7
780ba6
- Rebuild for Python 3.6
780ba6
38e7b9
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-6
38e7b9
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
38e7b9
61db8d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5
61db8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
61db8d
391ecd
* Thu Nov 12 2015 Kalev Lember <klember@redhat.com> - 1.2.5-4
391ecd
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
391ecd
e2647f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-3
e2647f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e2647f
Nejc Saje 348469
* Thu Sep 11 2014 Nejc Saje <nsaje@redhat.com> - 1.2.5-2
Nejc Saje 348469
- Added six to build dependencies, needed during tests
Nejc Saje 348469
Nejc Saje 5d3771
* Tue Sep 09 2014 Nejc Saje <nsaje@redhat.com> - 1.2.5-1
Nejc Saje 5d3771
- Initial package.
Nejc Saje 5d3771