From 250f579206139b547ec850c8a285f6d1d0e954a5 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 06:56:54 +0000 Subject: automatic import of python-rioxarray --- .gitignore | 1 + python-rioxarray.spec | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 112 insertions(+) create mode 100644 python-rioxarray.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..36f1b19 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/rioxarray-0.14.0.tar.gz diff --git a/python-rioxarray.spec b/python-rioxarray.spec new file mode 100644 index 0000000..ceff2f8 --- /dev/null +++ b/python-rioxarray.spec @@ -0,0 +1,110 @@ +%global _empty_manifest_terminate_build 0 +Name: python-rioxarray +Version: 0.14.0 +Release: 1 +Summary: geospatial xarray extension powered by rasterio +License: Apache +URL: https://github.com/corteva/rioxarray +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1a/c9/08b9e8602e88c57fb28120da9254a535741b94b48a44daf6ad9686a44f29/rioxarray-0.14.0.tar.gz +BuildArch: noarch + +Requires: python3-packaging +Requires: python3-rasterio +Requires: python3-xarray +Requires: python3-pyproj +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-sphinx-click +Requires: python3-nbsphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-timeout +Requires: python3-dask +Requires: python3-netcdf4 +Requires: python3-pylint +Requires: python3-mypy +Requires: python3-pre-commit +Requires: python3-scipy +Requires: python3-sphinx-click +Requires: python3-nbsphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-timeout +Requires: python3-dask +Requires: python3-netcdf4 +Requires: python3-pylint +Requires: python3-mypy +Requires: python3-pre-commit +Requires: python3-sphinx-click +Requires: python3-nbsphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-scipy +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-timeout +Requires: python3-dask +Requires: python3-netcdf4 + +%description + + +%package -n python3-rioxarray +Summary: geospatial xarray extension powered by rasterio +Provides: python-rioxarray +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-rioxarray + + +%package help +Summary: Development documents and examples for rioxarray +Provides: python3-rioxarray-doc +%description help + + +%prep +%autosetup -n rioxarray-0.14.0 + +%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-rioxarray -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot - 0.14.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..d32e315 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ee666825092e0450dd3bd223aa13a39d rioxarray-0.14.0.tar.gz -- cgit v1.2.3