forked from pool/python-colour
Accepting request 811840 from devel:languages:python
- Don't use nose, switch to pytest. OBS-URL: https://build.opensuse.org/request/show/811840 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-colour?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 5 14:24:51 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Don't use nose, switch to pytest.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 3 21:01:12 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-colour
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,7 +26,7 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/vaab/colour
|
||||
Source0: https://files.pythonhosted.org/packages/source/c/colour/colour-%{version}.tar.gz
|
||||
BuildRequires: %{python_module d2to1}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -58,7 +58,7 @@ rm -rf colour.egg-info
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand nosetests-%{$python_bin_suffix}
|
||||
%pytest --doctest-modules
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user