forked from pool/python-uncertainties
Accepting request 873829 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/873829 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uncertainties?expand=0&rev=11
This commit is contained in:
commit
7d5789c092
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 19 15:17:25 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Don't install and test numpy for python36. With NumPy 1.20, TW
|
||||||
|
no longer provides a python36-numpy
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 9 20:05:34 UTC 2021 - Arun Persaud <arun@gmx.de>
|
Sat Jan 9 20:05:34 UTC 2021 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -26,13 +26,13 @@ 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 numpy}
|
|
||||||
BuildRequires: %{python_module pytest}
|
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}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
|
||||||
Requires: python-future
|
Requires: python-future
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@ -58,12 +58,14 @@ sed -i -e '/^#!\//, 1d' uncertainties/lib1to2/test_1to2.py
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
# no python36-numpy
|
||||||
|
python36_ignore="--ignore uncertainties/unumpy"
|
||||||
|
%pytest ${$python_ignore}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/uncertainties/
|
%{python_sitelib}/uncertainties/
|
||||||
%{python_sitelib}/uncertainties-%{version}-py*.egg-info
|
%{python_sitelib}/uncertainties-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user