!5 Upgrade to latest release [python-xarray -> 2023.5.0]

From: @Wangjunqi123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-05-19 09:36:29 +00:00 committed by Gitee
commit d46e9f21fe
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 19 additions and 58 deletions

View File

@ -1,55 +1,30 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-xarray Name: python-xarray
Version: 2023.2.0 Version: 2023.5.0
Release: 1 Release: 1
Summary: N-D labeled arrays and datasets in Python Summary: N-D labeled arrays and datasets in Python
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/pydata/xarray URL: https://github.com/pydata/xarray
Source0: https://files.pythonhosted.org/packages/01/be/ef024d1f3ecac9e8924165e4c5a4e948a08b051036021863548653b97eb5/xarray-2023.2.0.tar.gz Source0: https://files.pythonhosted.org/packages/0a/1b/57b946c11b77f9ec1f4398bce9bf28ace25e4a644e4c5deed93b691ab70d/xarray-2023.5.0.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: python3-numpy
Requires: python3-pandas
Requires: python3-packaging
Requires: python3-scipy
Requires: python3-bottleneck
Requires: python3-numbagg
Requires: python3-flox
Requires: python3-netCDF4
Requires: python3-h5netcdf
Requires: python3-pydap
Requires: python3-zarr
Requires: python3-fsspec
Requires: python3-cftime
Requires: python3-rasterio
Requires: python3-cfgrib
Requires: python3-pooch
Requires: python3-dask[complete]
Requires: python3-matplotlib
Requires: python3-seaborn
Requires: python3-nc-time-axis
Requires: python3-sphinx-autosummary-accessors
Requires: python3-sphinx-rtd-theme
Requires: python3-ipython
Requires: python3-ipykernel
Requires: python3-jupyter-client
Requires: python3-nbsphinx
Requires: python3-scanpydoc
%description %description
xarray introduces labels in the form of dimensions, coordinates and attributes xarray introduces labels in the form of dimensions, coordinates and attributes
on top of raw NumPy-like arrays, which allows for a more intuitive, more on top of raw NumPy-like arrays, which allows for a more intuitive, more
concise, and less error-prone developer experience. concise, and less error-prone developer experience.
%package -n python3-xarray %package -n python3-xarray
Summary: N-D labeled arrays and datasets in Python Summary: N-D labeled arrays and datasets in Python
Provides: python-xarray = %{version}-%{release} Provides: python-xarray = %{version}-%{release}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
Requires: python3-numpy
Requires: python3-pandas
Requires: python3-packaging
%description -n python3-xarray %description -n python3-xarray
xarray introduces labels in the form of dimensions, coordinates and attributes xarray introduces labels in the form of dimensions, coordinates and attributes
on top of raw NumPy-like arrays, which allows for a more intuitive, more on top of raw NumPy-like arrays, which allows for a more intuitive, more
concise, and less error-prone developer experience. concise, and less error-prone developer experience.
%package help %package help
Summary: Development documents and examples for xarray Summary: Development documents and examples for xarray
@ -57,7 +32,7 @@ Provides: python3-xarray-doc
%description help %description help
xarray introduces labels in the form of dimensions, coordinates and attributes xarray introduces labels in the form of dimensions, coordinates and attributes
on top of raw NumPy-like arrays, which allows for a more intuitive, more on top of raw NumPy-like arrays, which allows for a more intuitive, more
concise, and less error-prone developer experience. concise, and less error-prone developer experience.
%prep %prep
%autosetup -n xarray-%{version} %autosetup -n xarray-%{version}
@ -66,40 +41,26 @@ concise, and less error-prone developer experience.
%py3_build %py3_build
%install %install
%py3_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot} if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -d usr/lib ]; then if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-xarray -f filelist.lst %files -n python3-xarray
%dir %{python3_sitelib}/* %{python3_sitelib}/*
%files help -f doclist.lst %files help
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Fri May 19 2023 wangjunqi <wangjunqi@kylinos.cn> - 2023.5.0-1
- Update package to version 2023.5.0
* Thu Feb 16 2023 wubijie <wubijie@kylinos.cn> - 2023.2.0-1 * Thu Feb 16 2023 wubijie <wubijie@kylinos.cn> - 2023.2.0-1
- Update package to version 2023.2.0 - Update package to version 2023.2.0

Binary file not shown.

BIN
xarray-2023.5.0.tar.gz Normal file

Binary file not shown.