14
0

Accepting request 811141 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/811141
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-memcached?expand=0&rev=18
This commit is contained in:
2020-06-05 18:01:08 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 3 11:51:18 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- replace nose with pytest
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 9 22:14:36 UTC 2019 - Jonathan Brownell <jbrownell@suse.com> Wed Jan 9 22:14:36 UTC 2019 - Jonathan Brownell <jbrownell@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-python-memcached # spec file for package python-python-memcached
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# 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
@@ -27,7 +27,7 @@ Group: Development/Languages/Python
URL: https://github.com/linsomniac/python-memcached URL: https://github.com/linsomniac/python-memcached
Source: https://github.com/linsomniac/python-memcached/archive/%{version}.tar.gz Source: https://github.com/linsomniac/python-memcached/archive/%{version}.tar.gz
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: memcached BuildRequires: memcached
@@ -69,7 +69,7 @@ sed -i \
%else %else
/usr/sbin/memcached -dv -P $PWD/memcached.pid /usr/sbin/memcached -dv -P $PWD/memcached.pid
%endif %endif
%python_expand nosetests-%{$python_bin_suffix} %pytest
kill -9 $(cat $PWD/memcached.pid) kill -9 $(cat $PWD/memcached.pid)
%files %{python_files} %files %{python_files}