summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-17 04:33:26 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-17 04:33:26 +0000
commit005d18e5475a8fea4aba0dfbab022ffbf7015137 (patch)
treeba39660f9d9047bd41a09938f355a2303c9477eb
parentb987547d4357adf3d944fb62b3ad6e286de7957d (diff)
automatic import of python-ihewacollect
-rw-r--r--.gitignore1
-rw-r--r--python-ihewacollect.spec94
-rw-r--r--sources1
3 files changed, 96 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..348991a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/IHEWAcollect-0.0.31.tar.gz
diff --git a/python-ihewacollect.spec b/python-ihewacollect.spec
new file mode 100644
index 0000000..60f1040
--- /dev/null
+++ b/python-ihewacollect.spec
@@ -0,0 +1,94 @@
+%global _empty_manifest_terminate_build 0
+Name: python-IHEWAcollect
+Version: 0.0.31
+Release: 1
+Summary: Water Accounting Collect Tools
+License: GPLv3
+URL: https://github.com/wateraccounting/IHEWAcollect
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c0/e8/d070113fb166df6f714db9960cf6a615679703c050ab2faf4f979a5ab906/IHEWAcollect-0.0.31.tar.gz
+BuildArch: noarch
+
+Requires: python3-cftime
+Requires: python3-cython
+Requires: python3-psutil
+Requires: python3-joblib
+Requires: python3-cryptography
+Requires: python3-PyYAML
+Requires: python3-beautifulsoup4
+Requires: python3-requests
+Requires: python3-paramiko
+Requires: python3-pycurl
+Requires: python3-ecmwf-api-client
+Requires: python3-scipy
+Requires: python3-scikit-image
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-netCDF4
+Requires: python3-pyproj
+Requires: python3-pytest
+Requires: python3-pytest-cov
+
+%description
+IHE WaterAccounting Collect Tool. Tool to download open access remote sensing datasets for a geographical area and time period of interest.
+Data is converted from original file format to .tiff format.
+
+%package -n python3-IHEWAcollect
+Summary: Water Accounting Collect Tools
+Provides: python-IHEWAcollect
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-IHEWAcollect
+IHE WaterAccounting Collect Tool. Tool to download open access remote sensing datasets for a geographical area and time period of interest.
+Data is converted from original file format to .tiff format.
+
+%package help
+Summary: Development documents and examples for IHEWAcollect
+Provides: python3-IHEWAcollect-doc
+%description help
+IHE WaterAccounting Collect Tool. Tool to download open access remote sensing datasets for a geographical area and time period of interest.
+Data is converted from original file format to .tiff format.
+
+%prep
+%autosetup -n IHEWAcollect-0.0.31
+
+%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-IHEWAcollect -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.31-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1c0384e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bbb7b23f8b2490897499804a2b373d1b IHEWAcollect-0.0.31.tar.gz