forked from pool/python-blosc
Accepting request 788595 from home:polslinux:branches:devel:languages:python:numeric
- Use unittest instead of nose OBS-URL: https://build.opensuse.org/request/show/788595 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-blosc?expand=0&rev=9
This commit is contained in:
parent
98f7b0aede
commit
a4d0e3e4ab
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 26 14:20:07 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Use unittest instead of nose
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 30 16:30:20 UTC 2020 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
|
@ -36,7 +36,6 @@ BuildRequires: fdupes
|
||||
BuildRequires: ninja
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module psutil}
|
||||
# /SECTION
|
||||
@ -67,14 +66,8 @@ export BLOSC_DIR=%{_prefix}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
mkdir empty
|
||||
pushd empty
|
||||
%{python_expand export PYTHONDONTWRITEBYTECODE=1
|
||||
export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
||||
$python -c "import blosc; blosc.print_versions()"
|
||||
nosetests-%{$python_bin_suffix} %{buildroot}%{$python_sitearch}/blosc
|
||||
}
|
||||
popd
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%python_exec -m unittest discover -s blosc/ -v
|
||||
|
||||
%files %{python_files}
|
||||
%doc ANNOUNCE.rst README.rst RELEASE_NOTES.rst
|
||||
|
Loading…
x
Reference in New Issue
Block a user