14
0

- Version update to 1.59:

* Various fixes for python 3.7 and 3.6
- Run tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-memcached?expand=0&rev=25
This commit is contained in:
Tomáš Chvátal
2018-08-08 13:28:23 +00:00
committed by Git OBS Bridge
parent 380df1fefd
commit cea91b03d5
4 changed files with 23 additions and 17 deletions

3
1.59.tar.gz Normal file
View File

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

View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Aug 8 13:28:02 UTC 2018 - tchvatal@suse.com
- Version update to 1.59:
* Various fixes for python 3.7 and 3.6
- Run tests
-------------------------------------------------------------------
Thu Aug 24 13:52:44 UTC 2017 - jmatejek@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-memcached
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,23 +18,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%bcond_with test
Name: python-python-memcached
Version: 1.58
Version: 1.59
Release: 0
Summary: Pure python memcached client
License: Python-2.0
Group: Development/Languages/Python
Url: http://www.tummy.com/Community/software/python-memcached/
Source: https://files.pythonhosted.org/packages/source/p/python-memcached/python-memcached-%{version}.tar.gz
BuildRequires: %{python_module devel}
URL: https://github.com/linsomniac/python-memcached
Source: https://github.com/linsomniac/python-memcached/archive/%{version}.tar.gz
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module nose}
BuildRequires: memcached
%endif
BuildRequires: python-rpm-macros
Requires: memcached
Requires: python-six
BuildArch: noarch
@@ -55,6 +52,9 @@ for more information.
%prep
%setup -q -n python-memcached-%{version}
sed -i \
-e 's:#!/usr/bin/env python::' \
memcache.py
%build
%python_build
@@ -62,14 +62,13 @@ for more information.
%install
%python_install
%if %{with test}
%check
/usr/sbin/memcached &
%python_expand nosetests-%{$python_bin_suffix}
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc README.md PSF.LICENSE
%license PSF.LICENSE
%doc README.md
%{python_sitelib}/*
%changelog