- add fix_test_resample_loffset.patch to fix test fail on i586

https://github.com/pydata/xarray/issues/5341

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=51
This commit is contained in:
2021-05-19 13:55:17 +00:00
committed by Git OBS Bridge
parent 6efa238573
commit 421ed70140
3 changed files with 20 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ Summary: N-D labeled arrays and datasets in Python
License: Apache-2.0
URL: https://github.com/pydata/xarray
Source: https://files.pythonhosted.org/packages/source/x/xarray/xarray-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix_test_resample_loffset -- https://github.com/pydata/xarray/issues/5341
Patch0: fix_test_resample_loffset.patch
BuildRequires: %{python_module numpy >= 1.15}
BuildRequires: %{python_module numpy-devel >= 1.14}
BuildRequires: %{python_module pandas >= 0.25}
@@ -80,6 +82,7 @@ The dataset is an in-memory representation of a netCDF file.
%prep
%autosetup -p1 -n xarray-%{version}
%patch0 -p1
chmod -x xarray/util/print_versions.py
%build