summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 05:00:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 05:00:12 +0000
commit84ab770e59f804d710aa9de4983a94820a00a0e7 (patch)
tree4f8b68d68c3826b3e9f32b224b37574693fb886a
parent4dd4ce0d74250e3cb36f546fc86bd6d359f9c0f2 (diff)
automatic import of python-geetools
-rw-r--r--.gitignore1
-rw-r--r--python-geetools.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..519ce32 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/geetools-0.6.14.tar.gz
diff --git a/python-geetools.spec b/python-geetools.spec
new file mode 100644
index 0000000..3da71c6
--- /dev/null
+++ b/python-geetools.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-geetools
+Version: 0.6.14
+Release: 1
+Summary: Set of tools to use in Google Earth Engine Python API
+License: MIT
+URL: https://github.com/gee-community/gee_tools
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/47/ac/a0c49e9f1b5777ab95d8ecd09bc67ec8e79ad7f38734663dd3bf0c42d302/geetools-0.6.14.tar.gz
+BuildArch: noarch
+
+
+%description
+For more information go to https://github.com/gee-community/gee_tools
+
+%package -n python3-geetools
+Summary: Set of tools to use in Google Earth Engine Python API
+Provides: python-geetools
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-geetools
+For more information go to https://github.com/gee-community/gee_tools
+
+%package help
+Summary: Development documents and examples for geetools
+Provides: python3-geetools-doc
+%description help
+For more information go to https://github.com/gee-community/gee_tools
+
+%prep
+%autosetup -n geetools-0.6.14
+
+%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-geetools -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.14-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..000a7a3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0512162f8687242b0779e669e34638f4 geetools-0.6.14.tar.gz