1
0

Accepting request 817716 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/817716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uncertainties?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2020-06-29 19:18:24 +00:00 committed by Git OBS Bridge
commit 90c5cc05e4
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 29 12:05:59 UTC 2020 - pgajdos@suse.com
- switch from nosetests to pytest
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 24 17:13:28 UTC 2020 - Todd R <toddrme2178@gmail.com> Wed Jun 24 17:13:28 UTC 2020 - Todd R <toddrme2178@gmail.com>

View File

@ -26,8 +26,8 @@ Group: Development/Languages/Python
URL: https://github.com/lebigot/uncertainties/ URL: https://github.com/lebigot/uncertainties/
Source: https://files.pythonhosted.org/packages/source/u/uncertainties/uncertainties-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/u/uncertainties/uncertainties-%{version}.tar.gz
BuildRequires: %{python_module future} BuildRequires: %{python_module future}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module numpy} BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testsuite} BuildRequires: %{python_module testsuite}
BuildRequires: %{python_module tools} BuildRequires: %{python_module tools}
@ -58,7 +58,7 @@ sed -i -e '/^#!\//, 1d' uncertainties/lib1to2/test_1to2.py
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python setup.py nosetests -v %pytest
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt