diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 07:55:22 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 07:55:22 +0000 |
commit | 618aee6d57d9adca0853f6be1abe122ae3e38b2a (patch) | |
tree | 04d7acd61a9d08fd6b9ca6f6208dac3c75088789 | |
parent | 0cf2b4d9f29f30fbf2e170000fe9a387d8522529 (diff) |
automatic import of python-intake-xarrayopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-intake-xarray.spec | 188 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 190 insertions, 0 deletions
@@ -0,0 +1 @@ +/intake-xarray-0.6.1.tar.gz diff --git a/python-intake-xarray.spec b/python-intake-xarray.spec new file mode 100644 index 0000000..92a2844 --- /dev/null +++ b/python-intake-xarray.spec @@ -0,0 +1,188 @@ +%global _empty_manifest_terminate_build 0 +Name: python-intake-xarray +Version: 0.6.1 +Release: 1 +Summary: xarray plugins for Intake +License: BSD +URL: https://github.com/ContinuumIO/intake-xarray +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a6/13/0c9c21d4d07e9e74b69f8ba4e04125cf60dad0c3b41fb264569b4a8e12ac/intake-xarray-0.6.1.tar.gz +BuildArch: noarch + +Requires: python3-intake +Requires: python3-xarray +Requires: python3-zarr +Requires: python3-dask +Requires: python3-netcdf4 +Requires: python3-fsspec +Requires: python3-msgpack +Requires: python3-requests + +%description +# intake-xarray + + + +Intake-xarray: xarray Plugin for [Intake](https://github.com/intake/intake) + +See [Intake docs](https://intake.readthedocs.io/en/latest/overview.html) for a general introduction and usage +of Intake and the [intake-xarray docs](https://intake-xarray.readthedocs.io/) for details specific to the +data drivers included in this package. + +In `intake-xarray`, there are plugins provided for reading data into [xarray](http://xarray.pydata.org/en/stable/) +containers: + - NetCDF (also handles other file formats which can be passed to + [xarray.open_dataset](http://xarray.pydata.org/en/stable/generated/xarray.open_dataset.html) such as grib) + - OPeNDAP + - Rasterio + - Zarr + - images + +and it provides the ability to read xarray data from an Intake server. + +### Installation + +The conda install instructions are: + +``` +conda install -c conda-forge intake-xarray +``` + +To install optional dependencies: + +``` +conda install -c conda-forge pydap rasterio +``` + + + + +%package -n python3-intake-xarray +Summary: xarray plugins for Intake +Provides: python-intake-xarray +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-intake-xarray +# intake-xarray + + + +Intake-xarray: xarray Plugin for [Intake](https://github.com/intake/intake) + +See [Intake docs](https://intake.readthedocs.io/en/latest/overview.html) for a general introduction and usage +of Intake and the [intake-xarray docs](https://intake-xarray.readthedocs.io/) for details specific to the +data drivers included in this package. + +In `intake-xarray`, there are plugins provided for reading data into [xarray](http://xarray.pydata.org/en/stable/) +containers: + - NetCDF (also handles other file formats which can be passed to + [xarray.open_dataset](http://xarray.pydata.org/en/stable/generated/xarray.open_dataset.html) such as grib) + - OPeNDAP + - Rasterio + - Zarr + - images + +and it provides the ability to read xarray data from an Intake server. + +### Installation + +The conda install instructions are: + +``` +conda install -c conda-forge intake-xarray +``` + +To install optional dependencies: + +``` +conda install -c conda-forge pydap rasterio +``` + + + + +%package help +Summary: Development documents and examples for intake-xarray +Provides: python3-intake-xarray-doc +%description help +# intake-xarray + + + +Intake-xarray: xarray Plugin for [Intake](https://github.com/intake/intake) + +See [Intake docs](https://intake.readthedocs.io/en/latest/overview.html) for a general introduction and usage +of Intake and the [intake-xarray docs](https://intake-xarray.readthedocs.io/) for details specific to the +data drivers included in this package. + +In `intake-xarray`, there are plugins provided for reading data into [xarray](http://xarray.pydata.org/en/stable/) +containers: + - NetCDF (also handles other file formats which can be passed to + [xarray.open_dataset](http://xarray.pydata.org/en/stable/generated/xarray.open_dataset.html) such as grib) + - OPeNDAP + - Rasterio + - Zarr + - images + +and it provides the ability to read xarray data from an Intake server. + +### Installation + +The conda install instructions are: + +``` +conda install -c conda-forge intake-xarray +``` + +To install optional dependencies: + +``` +conda install -c conda-forge pydap rasterio +``` + + + + +%prep +%autosetup -n intake-xarray-0.6.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-intake-xarray -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.1-1 +- Package Spec generated @@ -0,0 +1 @@ +765980ece29f8e488beb232f063fa8bf intake-xarray-0.6.1.tar.gz |