forked from pool/python-python-memcached
Accepting request 520036 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/520036 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-memcached?expand=0&rev=14
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3b689a135afb2fdb6da2298d5213780f43a3f210cf8c960d50b252acb3f62902
|
|
||||||
size 22620
|
|
3
python-memcached-1.58.tar.gz
Normal file
3
python-memcached-1.58.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2775829cb54b9e4c5b3bbd8028680f0c0ab695db154b9c46f0f074ff97540eb6
|
||||||
|
size 30562
|
@@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 24 13:52:44 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- singlespec auto-conversion
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 15 13:13:46 UTC 2016 - dmueller@suse.com
|
||||||
|
|
||||||
|
- update to 1.58:
|
||||||
|
* Fixing a performance regression in v1.54 in Python 2, using cPickle again.
|
||||||
|
* Support for "stats slabs".
|
||||||
|
* Pin Six version to >= 1.4
|
||||||
|
* setup.py build process pulls version from memcached.py
|
||||||
|
* delete() and delete_multi() now default the "time" argument to None,
|
||||||
|
since the protocol doesn't allow a time in some implementations.
|
||||||
|
Patch by oremj #27
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 6 11:21:23 UTC 2015 - mcihar@suse.cz
|
Tue Oct 6 11:21:23 UTC 2015 - mcihar@suse.cz
|
||||||
|
|
||||||
@@ -129,3 +146,4 @@ Fri Nov 26 23.00.00 UTC 2010 - stian@viskjer.net
|
|||||||
|
|
||||||
- python-memcached 1.45
|
- python-memcached 1.45
|
||||||
* Initial specfile based on Fedora's v1.43-6
|
* Initial specfile based on Fedora's v1.43-6
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-memcached
|
# spec file for package python-python-memcached
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,28 +16,33 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define oldpython python
|
||||||
|
%bcond_with test
|
||||||
Name: python-python-memcached
|
Name: python-python-memcached
|
||||||
Version: 1.57
|
Version: 1.58
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://www.tummy.com/Community/software/python-memcached/
|
|
||||||
Summary: Pure python memcached client
|
Summary: Pure python memcached client
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: http://pypi.python.org/packages/source/p/python-memcached/python-memcached-%{version}.tar.gz
|
Url: http://www.tummy.com/Community/software/python-memcached/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Source: https://files.pythonhosted.org/packages/source/p/python-memcached/python-memcached-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-nose
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: python-six
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module nose}
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
BuildRequires: memcached
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
%endif
|
||||||
Provides: python-memcached = %{version}
|
Requires: memcached
|
||||||
Obsoletes: python-memcached < %{version}
|
Requires: python-six
|
||||||
|
BuildArch: noarch
|
||||||
|
%ifpython2
|
||||||
|
Provides: %{oldpython}-memcached = %{version}
|
||||||
|
Obsoletes: %{oldpython}-memcached < %{version}
|
||||||
|
%endif
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package was originally written by Evan Martin of Danga.
|
This package was originally written by Evan Martin of Danga.
|
||||||
@@ -52,17 +57,19 @@ for more information.
|
|||||||
%setup -q -n python-memcached-%{version}
|
%setup -q -n python-memcached-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
|
||||||
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
nosetests
|
%python_expand nosetests-%{$python_bin_suffix}
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.md
|
%doc README.md PSF.LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user