Compare commits
43 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1106cd741b | ||
|
|
2fd902e2ef | ||
|
|
7be656d7e6 | ||
|
|
10e862c9fd | ||
|
|
48efc18b8d | ||
|
|
d99c648e41 | ||
|
|
0d1637a5c2 | ||
|
|
3415293533 | ||
|
|
ceb9cc2296 | ||
|
|
9ed2fe88a3 | ||
|
|
9fb0fe6531 | ||
|
|
083a1048eb | ||
|
|
00fc971647 | ||
|
|
209398495a | ||
|
|
7b07a86ee0 | ||
|
|
679ba1684e | ||
|
|
f252ef5e5b | ||
|
|
e4e358fa82 | ||
|
|
4a68bbd5b8 | ||
|
|
5548983db1 | ||
|
|
c27bff9578 | ||
|
|
92642a4ace | ||
|
|
a0d4600a4a | ||
|
|
924dddb55e | ||
|
|
facfa49251 | ||
|
|
0dd10a097c | ||
|
|
01acc30df2 | ||
|
|
64c9d5b495 | ||
|
|
92222176fe | ||
|
|
e8852ff34b | ||
|
|
9ac9523bf9 | ||
|
|
b7026ce966 | ||
|
|
e45e16ba78 | ||
|
|
7a3c73e1fd | ||
|
|
11f4833e22 | ||
|
|
9fd78590b1 | ||
|
|
77b148455a | ||
|
|
618c5a443a | ||
|
|
e818d8f2bb | ||
|
|
6e3bbdab77 | ||
|
|
6aeeebb116 | ||
|
|
757e1e406c | ||
|
|
497faee79e |
17
.gitignore
vendored
17
.gitignore
vendored
@@ -2,3 +2,20 @@
|
||||
/xarray-data-870b5d7a9dbfa821423f1b88056890c22341f085.tar.gz
|
||||
/RGB.byte.tif
|
||||
/xarray-0.12.3.tar.gz
|
||||
/xarray-0.15.0.tar.gz
|
||||
/xarray-0.15.1.tar.gz
|
||||
/xarray-0.16.0.tar.gz
|
||||
/xarray-data-5fdb22b5613ba8176b9f6fa67be783d7810643eb.tar.gz
|
||||
/xarray-0.16.1.tar.gz
|
||||
/xarray-0.16.2.tar.gz
|
||||
/xarray-0.17.0.tar.gz
|
||||
/xarray-0.18.2.tar.gz
|
||||
/xarray-0.19.0.tar.gz
|
||||
/xarray-0.20.1.tar.gz
|
||||
/xarray-0.20.2.tar.gz
|
||||
/xarray-0.21.0.tar.gz
|
||||
/xarray-0.21.1.tar.gz
|
||||
/xarray-2022.3.0.tar.gz
|
||||
/xarray-data-dbd07bb91a7112db0fd2f912c146999f9d436b0e.tar.gz
|
||||
/xarray-2022.6.0.tar.gz
|
||||
/xarray-data-86974d54ce83a130303fe8caa629e60deb3cb6e5.tar.gz
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 63fc5acba81601e473ead5c4e82de78b5ae61ad0 Mon Sep 17 00:00:00 2001
|
||||
From 338e50f33a7d286f592a64278349f380f108340c Mon Sep 17 00:00:00 2001
|
||||
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
Date: Fri, 15 Mar 2019 22:31:18 -0400
|
||||
Subject: [PATCH 1/4] DOC: Don't download RGB.byte.tif during build.
|
||||
Subject: [PATCH 1/3] DOC: Don't download RGB.byte.tif during build.
|
||||
|
||||
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
---
|
||||
@@ -10,31 +10,31 @@ Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/doc/gallery/plot_rasterio.py b/doc/gallery/plot_rasterio.py
|
||||
index 82d5ce61..24502f10 100644
|
||||
index 853923a3..bc8b4421 100644
|
||||
--- a/doc/gallery/plot_rasterio.py
|
||||
+++ b/doc/gallery/plot_rasterio.py
|
||||
@@ -24,7 +24,7 @@ from rasterio.warp import transform
|
||||
@@ -23,7 +23,7 @@ from pyproj import Transformer
|
||||
import xarray as xr
|
||||
|
||||
# Read the data
|
||||
-url = 'https://github.com/mapbox/rasterio/raw/master/tests/data/RGB.byte.tif'
|
||||
+url = 'RGB.byte.tif'
|
||||
-url = "https://github.com/rasterio/rasterio/raw/master/tests/data/RGB.byte.tif"
|
||||
+url = "RGB.byte.tif"
|
||||
da = xr.open_rasterio(url)
|
||||
|
||||
# Compute the lon/lat coordinates with rasterio.warp.transform
|
||||
# Compute the lon/lat coordinates with pyproj
|
||||
diff --git a/doc/gallery/plot_rasterio_rgb.py b/doc/gallery/plot_rasterio_rgb.py
|
||||
index 23a56d5a..468e2bab 100644
|
||||
index 912224ac..f2a7b2db 100644
|
||||
--- a/doc/gallery/plot_rasterio_rgb.py
|
||||
+++ b/doc/gallery/plot_rasterio_rgb.py
|
||||
@@ -19,7 +19,7 @@ import matplotlib.pyplot as plt
|
||||
@@ -18,7 +18,7 @@ import matplotlib.pyplot as plt
|
||||
import xarray as xr
|
||||
|
||||
# Read the data
|
||||
-url = 'https://github.com/mapbox/rasterio/raw/master/tests/data/RGB.byte.tif'
|
||||
+url = 'RGB.byte.tif'
|
||||
-url = "https://github.com/rasterio/rasterio/raw/master/tests/data/RGB.byte.tif"
|
||||
+url = "RGB.byte.tif"
|
||||
da = xr.open_rasterio(url)
|
||||
|
||||
# The data is in UTM projection. We have to set it manually until
|
||||
--
|
||||
2.21.0
|
||||
2.36.1
|
||||
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
From 90f116ffbf6eb403d4ddd44e6b9bafddced99419 Mon Sep 17 00:00:00 2001
|
||||
From 09bf051c792f195465c7330b57be204605b88d2c Mon Sep 17 00:00:00 2001
|
||||
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
Date: Fri, 15 Mar 2019 22:48:25 -0400
|
||||
Subject: [PATCH 2/4] DOC: Skip examples using unpackaged dependencies.
|
||||
Subject: [PATCH 2/3] DOC: Skip examples using unpackaged dependencies.
|
||||
|
||||
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
---
|
||||
doc/io.rst | 2 ++
|
||||
doc/user-guide/io.rst | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/doc/io.rst b/doc/io.rst
|
||||
index 85cb73a0..60990627 100644
|
||||
--- a/doc/io.rst
|
||||
+++ b/doc/io.rst
|
||||
@@ -373,6 +373,7 @@ installed xarray can convert a ``DataArray`` into a ``Cube`` using
|
||||
:py:meth:`~xarray.DataArray.to_iris`:
|
||||
diff --git a/doc/user-guide/io.rst b/doc/user-guide/io.rst
|
||||
index beab5fc0..1109e578 100644
|
||||
--- a/doc/user-guide/io.rst
|
||||
+++ b/doc/user-guide/io.rst
|
||||
@@ -857,6 +857,7 @@ installed, xarray can convert a ``DataArray`` into a ``Cube`` using
|
||||
:py:meth:`DataArray.to_iris`:
|
||||
|
||||
.. ipython:: python
|
||||
+ :verbatim:
|
||||
|
||||
da = xr.DataArray(np.random.rand(4, 5), dims=['x', 'y'],
|
||||
coords=dict(x=[10, 20, 30, 40],
|
||||
@@ -385,6 +386,7 @@ Conversely, we can create a new ``DataArray`` object from a ``Cube`` using
|
||||
:py:meth:`~xarray.DataArray.from_iris`:
|
||||
da = xr.DataArray(
|
||||
np.random.rand(4, 5),
|
||||
@@ -871,6 +872,7 @@ Conversely, we can create a new ``DataArray`` object from a ``Cube`` using
|
||||
:py:meth:`DataArray.from_iris`:
|
||||
|
||||
.. ipython:: python
|
||||
+ :verbatim:
|
||||
@@ -29,5 +29,5 @@ index 85cb73a0..60990627 100644
|
||||
da_cube = xr.DataArray.from_iris(cube)
|
||||
da_cube
|
||||
--
|
||||
2.21.0
|
||||
2.36.1
|
||||
|
||||
|
||||
39
0003-DOC-Don-t-print-out-conda-pip-environment.patch
Normal file
39
0003-DOC-Don-t-print-out-conda-pip-environment.patch
Normal file
@@ -0,0 +1,39 @@
|
||||
From a0c1d288ae09cbe8055b4531dffe285aa8b549b4 Mon Sep 17 00:00:00 2001
|
||||
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
Date: Sat, 16 Mar 2019 02:59:15 -0400
|
||||
Subject: [PATCH 3/3] DOC: Don't print out conda/pip environment.
|
||||
|
||||
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
---
|
||||
doc/conf.py | 8 --------
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
diff --git a/doc/conf.py b/doc/conf.py
|
||||
index 7e28953b..49bfdaca 100644
|
||||
--- a/doc/conf.py
|
||||
+++ b/doc/conf.py
|
||||
@@ -16,7 +16,6 @@ import datetime
|
||||
import inspect
|
||||
import os
|
||||
import pathlib
|
||||
-import subprocess
|
||||
import sys
|
||||
from contextlib import suppress
|
||||
from textwrap import dedent, indent
|
||||
@@ -35,13 +34,6 @@ allowed_failures = set()
|
||||
print("python exec:", sys.executable)
|
||||
print("sys.path:", sys.path)
|
||||
|
||||
-if "CONDA_DEFAULT_ENV" in os.environ or "conda" in sys.executable:
|
||||
- print("conda environment:")
|
||||
- subprocess.run([os.environ.get("CONDA_EXE", "conda"), "list"])
|
||||
-else:
|
||||
- print("pip environment:")
|
||||
- subprocess.run([sys.executable, "-m", "pip", "list"])
|
||||
-
|
||||
print(f"xarray: {xarray.__version__}, {xarray.__file__}")
|
||||
|
||||
with suppress(ImportError):
|
||||
--
|
||||
2.36.1
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
From 2b193b193b422b322a5f5e6475ce72d9a453fb9f Mon Sep 17 00:00:00 2001
|
||||
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
Date: Sat, 16 Mar 2019 02:42:37 -0400
|
||||
Subject: [PATCH 3/4] TST: Reduce required pytest-runner version.
|
||||
|
||||
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index f24392db..af5190f3 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -25,7 +25,7 @@ CLASSIFIERS = [
|
||||
PYTHON_REQUIRES = '>=3.5'
|
||||
INSTALL_REQUIRES = ['numpy >= 1.12', 'pandas >= 0.19.2']
|
||||
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
|
||||
-SETUP_REQUIRES = ['pytest-runner >= 4.2'] if needs_pytest else []
|
||||
+SETUP_REQUIRES = ['pytest-runner >= 4.0'] if needs_pytest else []
|
||||
TESTS_REQUIRE = ['pytest >= 2.7.1']
|
||||
|
||||
DESCRIPTION = "N-D labeled arrays and datasets in Python"
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
From 46ca88294c55170c442417f7341571079f1bc2a9 Mon Sep 17 00:00:00 2001
|
||||
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
Date: Sat, 16 Mar 2019 02:59:15 -0400
|
||||
Subject: [PATCH 4/4] DOC: Don't print out conda/pip environment.
|
||||
|
||||
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
---
|
||||
doc/conf.py | 7 -------
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
diff --git a/doc/conf.py b/doc/conf.py
|
||||
index 23766946..33bfcf9d 100644
|
||||
--- a/doc/conf.py
|
||||
+++ b/doc/conf.py
|
||||
@@ -26,13 +26,6 @@ allowed_failures = set()
|
||||
print("python exec:", sys.executable)
|
||||
print("sys.path:", sys.path)
|
||||
|
||||
-if 'conda' in sys.executable:
|
||||
- print('conda environment:')
|
||||
- subprocess.run(['conda', 'list'])
|
||||
-else:
|
||||
- print('pip environment:')
|
||||
- subprocess.run(['pip', 'list'])
|
||||
-
|
||||
print("xarray: %s, %s" % (xarray.__version__, xarray.__file__))
|
||||
|
||||
with suppress(ImportError):
|
||||
--
|
||||
2.21.0
|
||||
|
||||
66
changelog
Normal file
66
changelog
Normal file
@@ -0,0 +1,66 @@
|
||||
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.2-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Sun Jul 04 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.18.2-2
|
||||
- Backport fixes to tests
|
||||
|
||||
* Thu Jun 17 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.18.2-1
|
||||
- Update to latest version (#1957925)
|
||||
- Skip failing tests (#1969172)
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.17.0-2
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Sat Mar 13 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.17.0-1
|
||||
- Update to latest version (#1933230)
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sat Dec 12 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.16.2-1
|
||||
- Update to latest version (#1902888)
|
||||
|
||||
* Sat Sep 26 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.16.1-1
|
||||
- Update to latest version (#1880864)
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sun Jul 12 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.16.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Tue Jun 23 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.15.1-3
|
||||
- Backport patch to fix tests catching too many warnings
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.15.1-3
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Sat Apr 18 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.15.1-2
|
||||
- Fix broken install with missing files
|
||||
- Test against installed version to catch above issue
|
||||
- Add more test dependencies
|
||||
|
||||
* Wed Mar 25 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.15.1-1
|
||||
- Update to latest version
|
||||
|
||||
* Fri Mar 06 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.15.0-2
|
||||
- Backport fix for seaborn 0.10.0
|
||||
|
||||
* Sat Feb 08 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.15.0-1
|
||||
- Update to latest version
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.3-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Jul 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.12.3-1
|
||||
- Update to latest version
|
||||
|
||||
* Sat Mar 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.12.0-1
|
||||
- Initial package.
|
||||
@@ -1,35 +1,38 @@
|
||||
%global srcname xarray
|
||||
%global data_commit 870b5d7a9dbfa821423f1b88056890c22341f085
|
||||
%global data_commit 86974d54ce83a130303fe8caa629e60deb3cb6e5
|
||||
|
||||
%bcond_with docs
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 0.12.3
|
||||
Release: 1%{?dist}
|
||||
Version: 2022.6.0
|
||||
Release: %autorelease
|
||||
Summary: N-D labeled arrays and datasets in Python
|
||||
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/pydata/xarray
|
||||
Source0: %pypi_source
|
||||
Source0: %pypi_source %{srcname}
|
||||
# Data for examples only.
|
||||
Source1: https://github.com/pydata/xarray-data/archive/%{data_commit}/xarray-data-%{data_commit}.tar.gz
|
||||
Source2: https://github.com/mapbox/rasterio/raw/1.0.21/tests/data/RGB.byte.tif
|
||||
Source2: https://github.com/rasterio/rasterio/raw/1.2.10/tests/data/RGB.byte.tif
|
||||
# All Fedora specific.
|
||||
Patch0001: 0001-DOC-Don-t-download-RGB.byte.tif-during-build.patch
|
||||
Patch0002: 0002-DOC-Skip-examples-using-unpackaged-dependencies.patch
|
||||
Patch0003: 0003-TST-Reduce-required-pytest-runner-version.patch
|
||||
Patch0004: 0004-DOC-Don-t-print-out-conda-pip-environment.patch
|
||||
Patch0003: 0003-DOC-Don-t-print-out-conda-pip-environment.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-dask+array
|
||||
BuildRequires: python3-dask+dataframe
|
||||
BuildRequires: python3dist(numpy) >= 1.12
|
||||
BuildRequires: python3dist(pandas) >= 0.19.2
|
||||
BuildRequires: python3dist(bottleneck)
|
||||
BuildRequires: python3dist(cftime) >= 1.2
|
||||
BuildRequires: python3dist(dask[array]) >= 2.30
|
||||
BuildRequires: python3dist(dask[dataframe]) >= 2.30
|
||||
BuildRequires: python3dist(netcdf4) >= 1.5
|
||||
BuildRequires: python3dist(pint) >= 0.16
|
||||
BuildRequires: python3dist(pytest) >= 2.7.1
|
||||
BuildRequires: python3dist(pytest-runner)
|
||||
BuildRequires: python3dist(pytest-xdist)
|
||||
BuildRequires: python3dist(seaborn)
|
||||
BuildRequires: python3dist(setuptools)
|
||||
BuildRequires: python3dist(rasterio) >= 1.1
|
||||
BuildRequires: python3dist(seaborn) >= 0.11
|
||||
BuildRequires: python3dist(zarr) >= 2.5
|
||||
|
||||
%global _description %{expand: \
|
||||
Xarray (formerly xray) is an open source project and Python package that
|
||||
@@ -52,11 +55,11 @@ data model, and integrates tightly with dask for parallel computing.}
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
|
||||
%description -n python3-%{srcname} %{_description}
|
||||
|
||||
|
||||
%if %{with docs}
|
||||
%package -n python-%{srcname}-doc
|
||||
Summary: xarray documentation
|
||||
|
||||
@@ -64,63 +67,70 @@ BuildRequires: python3dist(cartopy)
|
||||
BuildRequires: natural-earth-map-data-110m
|
||||
BuildRequires: natural-earth-map-data-10m
|
||||
BuildRequires: python3-ipython-sphinx
|
||||
BuildRequires: python3dist(matplotlib)
|
||||
BuildRequires: python3dist(netcdf4)
|
||||
BuildRequires: python3dist(numpydoc)
|
||||
BuildRequires: python3dist(rasterio)
|
||||
BuildRequires: python3dist(jupyter-client)
|
||||
BuildRequires: python3dist(matplotlib) >= 3.3
|
||||
BuildRequires: python3dist(sphinx)
|
||||
BuildRequires: python3dist(sphinx-gallery)
|
||||
BuildRequires: python3dist(sphinx-rtd-theme)
|
||||
BuildRequires: python3dist(zarr)
|
||||
|
||||
%description -n python-%{srcname}-doc
|
||||
Documentation for xarray
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version} -p1
|
||||
|
||||
%if %{with docs}
|
||||
# Provide example datasets for building docs.
|
||||
tar xf %SOURCE1 --transform='s~^\(%{srcname}-data-%{data_commit}/\)~\1.xarray_tutorial_data/~'
|
||||
cp -p %SOURCE2 ./doc/gallery/
|
||||
%endif
|
||||
|
||||
# Remove bundled egg-info
|
||||
rm -rf %{srcname}.egg-info
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_wheel
|
||||
|
||||
%if %{with docs}
|
||||
# generate html docs
|
||||
pushd doc
|
||||
PYTHONPATH=${PWD}/.. HOME=${PWD}/../%{srcname}-data-%{data_commit} make html
|
||||
# remove the sphinx-build leftovers
|
||||
rm -rf _build/html/.{doctrees,buildinfo}
|
||||
popd
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
%pyproject_save_files %{srcname}
|
||||
|
||||
|
||||
%check
|
||||
%{__python3} setup.py test --addopts='-ra -n auto -m "not network"'
|
||||
rm -rf xarray
|
||||
|
||||
pytest_args=(
|
||||
-n auto
|
||||
-m "not network"
|
||||
)
|
||||
|
||||
%{pytest} -ra "${pytest_args[@]}" --pyargs xarray
|
||||
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%files -n python3-%{srcname} -f %{pyproject_files}
|
||||
%license LICENSE licenses/DASK_LICENSE licenses/NUMPY_LICENSE licenses/PANDAS_LICENSE licenses/PYTHON_LICENSE licenses/SEABORN_LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/%{srcname}
|
||||
%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info
|
||||
%doc README.md
|
||||
|
||||
%if %{with docs}
|
||||
%files -n python-%{srcname}-doc
|
||||
%doc doc/_build/html
|
||||
%license LICENSE licenses/DASK_LICENSE licenses/NUMPY_LICENSE licenses/PANDAS_LICENSE licenses/PYTHON_LICENSE licenses/SEABORN_LICENSE
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jul 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.12.3-1
|
||||
- Update to latest version
|
||||
|
||||
* Sat Mar 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.12.0-1
|
||||
- Initial package.
|
||||
%autochangelog
|
||||
|
||||
4
sources
4
sources
@@ -1,3 +1,3 @@
|
||||
SHA512 (xarray-0.12.3.tar.gz) = bac585362920f22b128ea75d5434ff1e9494cc4b8bafbb11533e80f3e09fe18e580e3e0dd9696bd906ac552ce5eb134e92019f6d2a7b1af0d38d27ac6589a846
|
||||
SHA512 (xarray-data-870b5d7a9dbfa821423f1b88056890c22341f085.tar.gz) = 27de6e274d18d266d6d8a1f0c8f65396fff16d177cf6df41cfd4bcf839e6d083512c4f4dbc1163ab7380a8905acecfe15b7978e23b9c360bad2dd879addb421c
|
||||
SHA512 (xarray-2022.6.0.tar.gz) = 415bd84246d6d2b8aebf316ac9ef82ca7afeacce718349b75479c0aa693e2866dfe236e6dcaf41cae68afd7a99408f5027c938e6b7f447f5323e076b804f5165
|
||||
SHA512 (xarray-data-86974d54ce83a130303fe8caa629e60deb3cb6e5.tar.gz) = c7cddd4de81908110f65fac9df63b68ade0d37b9983b2bf7a6d5021e419d5b7e23e6bee316be4f802a7fbd70952bb5e3eead91d544c8b8bd6ffb2747d3fca64f
|
||||
SHA512 (RGB.byte.tif) = 34aa1b196f6c5880530d42ec8a25193bc79db803a8427adc9b115373d222b9f4318a04f06c8b37118df7e09d96b9c470ecec543c604af18861f11b786ed6fbfd
|
||||
|
||||
Reference in New Issue
Block a user