14
0

- update to 2.1.0:

* Check reStructuredText along with flake8
  * Hotfix broken path
  * fix result
  * Update changelog
  * Fix syntax errors
  * Use byte strings after serializing with serde
  * correct spelling mistake
  * Remove deprecated Python version.
  * Add tests for serde module
  * Kill python 2.6
  * Add optional support for unicode keys
  * Update README to mention tox
  * Fix support newbytes from future
  * Final touches for 1.3.7
  * Make tuple once, instead of on every call
  * Use only the highest, premium quality picklers available at runtime.
  * Enforce version for sphinx
  * Don't Raise Generic Exception (#164)
  * DocString: `gets` returns values, not keys
  * Always send command keys in their original order
  * Bump version to 1.4.3
  * Bump version to 1.4.2
  * Bump version to 1.4.1
  * Bump version to 1.4.0
  * Import Classes, Function into package level
  * new Patch version for minor change
  * trevor sucks
  * Remove docs from being run when you're running tests
  * Add integration environment to tox

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymemcache?expand=0&rev=8
This commit is contained in:
Thomas Bechtold
2019-02-27 16:02:01 +00:00
committed by Git OBS Bridge
parent 356041358a
commit fcb3aaa188
4 changed files with 194 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pymemcache
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 Thomas Bechtold <thomasbechtold@jpberlin.de>
#
# All modifications and additions to the file contributed by third parties
@@ -13,30 +13,33 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pymemcache
Version: 1.2.9
Version: 2.1.1
Release: 0
Summary: A comprehensive, fast, pure Python memcached client
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/Pinterest/pymemcache
Source: https://pypi.io/packages/source/p/pymemcache/pymemcache-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-nose >= 1.0
BuildRequires: python-pytest
BuildRequires: python-setuptools
BuildRequires: python-six
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
Source: https://files.pythonhosted.org/packages/source/p/pymemcache/pymemcache-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
%ifpython2
BuildRequires: python2-future
Requires: python2-future
%endif
BuildRequires: python-rpm-macros
Requires: python-six
BuildArch: noarch
%python_subpackages
%description
A comprehensive, fast, pure-Python memcached client.
@@ -53,17 +56,18 @@ pymemcache supports the following features:
%setup -q -n pymemcache-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%check
nosetests
%python_exec setup.py test
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc README.md LICENSE.txt
%license LICENSE.txt
%doc README.rst
%{python_sitelib}/*
%changelog