14
0

Accepting request 178495 from home:dirkmueller:branches:devel:languages:python

- update to 1.51:
  *  Add a MANIFEST.in file, patch by Daniel Widerin.
  *  Client() now takes a "check_keys" option, which defaults to True.
     If False, it disables the checking of keys to ensure they have
     acceptable size and are composed of non-control characters.
     Suggested by Ben Hoyt.
  *  Converting control character checking of keys based on performance
     testing of alternatives by Ben Hoyt.
  *  Converted unicode tests from using u'', patch from Eren Güve.
  *  Included license file (pull request by "Philippe" pombredanne).
  *  Doing a "set" after server goes away, raised AttributeError:
     'NoneType' object has no attribute 'sendall'.  Patch by Ken Lalonde
  *  incr/decr return None instead of 0 on server connection failure.
     Suggested by Ivan Virabyan
  *  Supports IPv6 connections using: "inet6:[fd00::32:19f7]:11000".
     Patch by Romain Courteaud
- python-memcached-ipv6-and-or.patch: remove. Solved differently upstream

OBS-URL: https://build.opensuse.org/request/show/178495
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-memcached?expand=0&rev=10
This commit is contained in:
Sascha Peilicke
2013-06-13 08:54:52 +00:00
committed by Git OBS Bridge
parent 6b026afdf9
commit 9993abd5b6
5 changed files with 28 additions and 48 deletions

View File

@@ -17,24 +17,23 @@
Name: python-python-memcached
Version: 1.48
Version: 1.51
Release: 0
Url: http://www.tummy.com/Community/software/python-memcached/
Summary: Pure python memcached client
License: Python-2.0
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/python-memcached/python-memcached-%{version}.tar.gz
Patch0: python-memcached-ipv6-and-or.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
Provides: python-memcached = %{version}
Obsoletes: python-memcached < %{version}
%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
%endif
Provides: python-memcached = %{version}
Obsoletes: python-memcached < %{version}
%description
This package was originally written by Evan Martin of Danga.
@@ -47,7 +46,6 @@ for more information.
%prep
%setup -q -n python-memcached-%{version}
%patch0 -p1
%build
python setup.py build
@@ -57,7 +55,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc README
%doc README.md
%{python_sitelib}/*
%changelog