forked from pool/python-python-memcached
Accepting request 811123 from home:mcalabkova:branches:devel:languages:python
- replace nose with pytest OBS-URL: https://build.opensuse.org/request/show/811123 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-memcached?expand=0&rev=32
This commit is contained in:
committed by
Git OBS Bridge
parent
48bfffe1fd
commit
b7e167ac39
@@ -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>
|
||||||
|
|
||||||
|
@@ -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}
|
||||||
|
Reference in New Issue
Block a user