15
0

Accepting request 632120 from devel:languages:python

- Fix the test call to work on 42.3

OBS-URL: https://build.opensuse.org/request/show/632120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asteval?expand=0&rev=2
This commit is contained in:
2018-08-31 08:45:17 +00:00
committed by Git OBS Bridge
2 changed files with 6 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 29 10:27:20 UTC 2018 - tchvatal@suse.com
- Fix the test call to work on 42.3
-------------------------------------------------------------------
Sat Jun 2 19:10:58 UTC 2018 - toddrme2178@gmail.com

View File

@@ -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}