forked from pool/python-python-memcached
Accepting request 628113 from devel:languages:python
- Kill memcache deamon at the end of the tests - Version update to 1.59: * Various fixes for python 3.7 and 3.6 - Run tests OBS-URL: https://build.opensuse.org/request/show/628113 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-memcached?expand=0&rev=15
This commit is contained in:
3
1.59.tar.gz
Normal file
3
1.59.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e39f5444b0eb5dcbdef1ce8f72bd73f3fb188a420fc33f23d039525efe523863
|
||||
size 32334
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2775829cb54b9e4c5b3bbd8028680f0c0ab695db154b9c46f0f074ff97540eb6
|
||||
size 30562
|
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 8 13:56:44 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Kill memcache deamon at the end of the tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@@ -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,21 @@
|
||||
|
||||
%{?!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
|
||||
BuildRequires: util-linux
|
||||
Requires: memcached
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
@@ -55,6 +53,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 +63,14 @@ for more information.
|
||||
%install
|
||||
%python_install
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
/usr/sbin/memcached -dv -P $PWD/memcached.pid
|
||||
%python_expand nosetests-%{$python_bin_suffix}
|
||||
%endif
|
||||
kill -9 $(cat $PWD/memcached.pid)
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md PSF.LICENSE
|
||||
%license PSF.LICENSE
|
||||
%doc README.md
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user