%global _empty_manifest_terminate_build 0 Name: python-xesmf Version: 0.7.1 Release: 1 Summary: Universal Regridder for Geospatial Data License: MIT URL: https://pypi.org/project/xesmf/ Source0: https://mirrors.aliyun.com/pypi/web/packages/4f/c6/2e2a78679e445fbb559b8d1e5f1f43bf5049b08f59c84d372609c0ec3259/xesmf-0.7.1.tar.gz BuildArch: noarch Requires: python3-cf-xarray Requires: python3-numba Requires: python3-numpy Requires: python3-shapely Requires: python3-sparse Requires: python3-xarray %description |Binder| |conda| |Build Status| |codecov| |docs| |license| |DOI| xESMF is a Python package for `regridding `_. It is - **Powerful**: It uses ESMF_/ESMPy_ as backend and can regrid between **general curvilinear grids** with all `ESMF regridding algorithms `_, such as **bilinear**, **conservative** and **nearest neighbour**. - **Easy-to-use**: It abstracts away ESMF's complicated infrastructure and provides a simple, high-level API, compatible with xarray_ as well as basic numpy arrays. - **Fast**: It is faster than ESMPy's original Fortran regridding engine in serial case, and also supports dask_ for `out-of-core, parallel computation `_. Please see `online documentation `_, or `play with example notebooks on Binder `_. For new users, I also recommend reading `How to ask for help `_ and `How to support xESMF `_. %package -n python3-xesmf Summary: Universal Regridder for Geospatial Data Provides: python-xesmf BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-xesmf |Binder| |conda| |Build Status| |codecov| |docs| |license| |DOI| xESMF is a Python package for `regridding `_. It is - **Powerful**: It uses ESMF_/ESMPy_ as backend and can regrid between **general curvilinear grids** with all `ESMF regridding algorithms `_, such as **bilinear**, **conservative** and **nearest neighbour**. - **Easy-to-use**: It abstracts away ESMF's complicated infrastructure and provides a simple, high-level API, compatible with xarray_ as well as basic numpy arrays. - **Fast**: It is faster than ESMPy's original Fortran regridding engine in serial case, and also supports dask_ for `out-of-core, parallel computation `_. Please see `online documentation `_, or `play with example notebooks on Binder `_. For new users, I also recommend reading `How to ask for help `_ and `How to support xESMF `_. %package help Summary: Development documents and examples for xesmf Provides: python3-xesmf-doc %description help |Binder| |conda| |Build Status| |codecov| |docs| |license| |DOI| xESMF is a Python package for `regridding `_. It is - **Powerful**: It uses ESMF_/ESMPy_ as backend and can regrid between **general curvilinear grids** with all `ESMF regridding algorithms `_, such as **bilinear**, **conservative** and **nearest neighbour**. - **Easy-to-use**: It abstracts away ESMF's complicated infrastructure and provides a simple, high-level API, compatible with xarray_ as well as basic numpy arrays. - **Fast**: It is faster than ESMPy's original Fortran regridding engine in serial case, and also supports dask_ for `out-of-core, parallel computation `_. Please see `online documentation `_, or `play with example notebooks on Binder `_. For new users, I also recommend reading `How to ask for help `_ and `How to support xESMF `_. %prep %autosetup -n xesmf-0.7.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-xesmf -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu Jun 08 2023 Python_Bot - 0.7.1-1 - Package Spec generated