Accepting request 862880 from home:pgajdos:python
- use %pytest macro OBS-URL: https://build.opensuse.org/request/show/862880 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-tabulate?expand=0&rev=18
This commit is contained in:
parent
c613090956
commit
bc142cc26f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 13 12:33:46 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- use %pytest macro
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 19 08:03:11 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
Tue May 19 08:03:11 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-tabulate
|
# spec file for package python-tabulate
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 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
|
||||||
@ -26,6 +26,7 @@ Group: Development/Languages/Python
|
|||||||
URL: https://bitbucket.org/astanin/python-tabulate
|
URL: https://bitbucket.org/astanin/python-tabulate
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tabulate/tabulate-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tabulate/tabulate-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wcwidth}
|
BuildRequires: %{python_module wcwidth}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -63,7 +64,7 @@ The main use cases of the library are:
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%pytest
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative tabulate
|
%python_install_alternative tabulate
|
||||||
|
Loading…
Reference in New Issue
Block a user