141 lines
4.0 KiB
RPMSpec
141 lines
4.0 KiB
RPMSpec
|
|
%global _empty_manifest_terminate_build 0
|
||
|
|
Name: python-xarray
|
||
|
|
Version: 0.20.1
|
||
|
|
Release: 1
|
||
|
|
Summary: N-D labeled arrays and datasets in Python
|
||
|
|
License: Apache-2.0
|
||
|
|
URL: https://github.com/pydata/xarray
|
||
|
|
Source0: https://files.pythonhosted.org/packages/45/a5/8f81031b373fc7204b7015b7a15e0675993a41e031e6d4fb31a25eea0e68/xarray-0.20.1.tar.gz
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
Requires: python3-numpy
|
||
|
|
Requires: python3-pandas
|
||
|
|
Requires: python3-importlib-metadata
|
||
|
|
Requires: python3-typing-extensions
|
||
|
|
Requires: python3-scipy
|
||
|
|
Requires: python3-bottleneck
|
||
|
|
Requires: python3-numbagg
|
||
|
|
Requires: python3-netCDF4
|
||
|
|
Requires: python3-h5netcdf
|
||
|
|
Requires: python3-scipy
|
||
|
|
Requires: python3-pydap
|
||
|
|
Requires: python3-zarr
|
||
|
|
Requires: python3-fsspec
|
||
|
|
Requires: python3-cftime
|
||
|
|
Requires: python3-rasterio
|
||
|
|
Requires: python3-cfgrib
|
||
|
|
Requires: python3-pooch
|
||
|
|
Requires: python3-bottleneck
|
||
|
|
Requires: python3-numbagg
|
||
|
|
Requires: python3-dask[complete]
|
||
|
|
Requires: python3-matplotlib
|
||
|
|
Requires: python3-seaborn
|
||
|
|
Requires: python3-nc-time-axis
|
||
|
|
Requires: python3-netCDF4
|
||
|
|
Requires: python3-h5netcdf
|
||
|
|
Requires: python3-scipy
|
||
|
|
Requires: python3-pydap
|
||
|
|
Requires: python3-zarr
|
||
|
|
Requires: python3-fsspec
|
||
|
|
Requires: python3-cftime
|
||
|
|
Requires: python3-rasterio
|
||
|
|
Requires: python3-cfgrib
|
||
|
|
Requires: python3-pooch
|
||
|
|
Requires: python3-bottleneck
|
||
|
|
Requires: python3-numbagg
|
||
|
|
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
|
||
|
|
Requires: python3-netCDF4
|
||
|
|
Requires: python3-h5netcdf
|
||
|
|
Requires: python3-scipy
|
||
|
|
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
|
||
|
|
|
||
|
|
%description
|
||
|
|
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
|
||
|
|
concise, and less error-prone developer experience.
|
||
|
|
|
||
|
|
|
||
|
|
%package -n python3-xarray
|
||
|
|
Summary: N-D labeled arrays and datasets in Python
|
||
|
|
Provides: python-xarray
|
||
|
|
BuildRequires: python3-devel
|
||
|
|
BuildRequires: python3-setuptools
|
||
|
|
%description -n python3-xarray
|
||
|
|
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
|
||
|
|
concise, and less error-prone developer experience.
|
||
|
|
|
||
|
|
|
||
|
|
%package help
|
||
|
|
Summary: Development documents and examples for xarray
|
||
|
|
Provides: python3-xarray-doc
|
||
|
|
%description help
|
||
|
|
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
|
||
|
|
concise, and less error-prone developer experience.
|
||
|
|
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n xarray-0.20.1
|
||
|
|
|
||
|
|
%build
|
||
|
|
%py3_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%py3_install
|
||
|
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||
|
|
if [ -d doc ]; then cp -arf doc %{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 examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||
|
|
pushd %{buildroot}
|
||
|
|
if [ -d usr/lib ]; then
|
||
|
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||
|
|
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
|
||
|
|
%dir %{python3_sitelib}/*
|
||
|
|
|
||
|
|
%files help -f doclist.lst
|
||
|
|
%{_docdir}/*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Thu Dec 02 2021 Python_Bot <Python_Bot@openeuler.org> - 0.20.1-1
|
||
|
|
- Package Init
|