Blame SPECS/python-pymemcache.spec

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