14
0

Accepting request 729846 from devel:languages:python

- Update to 2.2.2:
  * Fix long_description string in Python packaging.
  * Fix flags when setting multiple differently-typed values at once.
  * Use setup.cfg metadata instead setup.py config to generate package.
  * Add default_noreply parameter to HashClient.
  * Add encoding parameter to Client constructors (defaults to ascii).
  * Add flags parameter to write operation methods.
  * Handle unicode key values in MockMemcacheClient correctly.
  * Improve ASCII encoding failure exception.
  * Fix setup.py dependency on six already being installed.

OBS-URL: https://build.opensuse.org/request/show/729846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymemcache?expand=0&rev=4
This commit is contained in:
2019-09-11 08:36:44 +00:00
committed by Git OBS Bridge
4 changed files with 24 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24634565e4cdf9c625a3c89ac69650812cc3986f4159a56814c932f027605a9c
size 39645

3
pymemcache-2.2.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b177743d2bc680a80e74835d080121f7338c35551fbc4cea9bcda9aa841d9f7
size 41293

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Sep 10 11:58:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.2.2:
* Fix long_description string in Python packaging.
* Fix flags when setting multiple differently-typed values at once.
* Use setup.cfg metadata instead setup.py config to generate package.
* Add default_noreply parameter to HashClient.
* Add encoding parameter to Client constructors (defaults to ascii).
* Add flags parameter to write operation methods.
* Handle unicode key values in MockMemcacheClient correctly.
* Improve ASCII encoding failure exception.
* Fix setup.py dependency on six already being installed.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 18 18:19:22 UTC 2019 - Jan Engelhardt <jengelh@inai.de> Mon Mar 18 18:19:22 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -19,25 +19,25 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pymemcache Name: python-pymemcache
Version: 2.1.1 Version: 2.2.2
Release: 0 Release: 0
Summary: A pure Python memcached client Summary: A pure Python memcached client
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/Pinterest/pymemcache URL: https://github.com/Pinterest/pymemcache
Source: https://files.pythonhosted.org/packages/source/p/pymemcache/pymemcache-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pymemcache/pymemcache-%{version}.tar.gz
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
BuildArch: noarch
%ifpython2 %ifpython2
BuildRequires: python2-future BuildRequires: python2-future
Requires: python2-future Requires: python2-future
%endif %endif
BuildRequires: python-rpm-macros
Requires: python-six
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -59,12 +59,12 @@ pymemcache supports the following features:
%install %install
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_exec setup.py test %python_exec setup.py test
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-)
%license LICENSE.txt %license LICENSE.txt
%doc README.rst %doc README.rst
%{python_sitelib}/* %{python_sitelib}/*