forked from pool/python-asteval
- Fix the test call to work on 42.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
74d7e95479
commit
1883c361d4
@@ -25,7 +25,6 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/newville/asteval
|
||||
Source: https://files.pythonhosted.org/packages/source/a/asteval/asteval-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module numpy >= 1.6}
|
||||
@@ -64,9 +63,7 @@ sed -i -e '/^#!\//, 1d' asteval/asteval.py
|
||||
|
||||
%check
|
||||
pushd tests
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
pytest-%{$python_bin_suffix}
|
||||
}
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
|
||||
popd
|
||||
|
||||
%files %{python_files}
|
||||
|
||||
Reference in New Issue
Block a user