summaryrefslogtreecommitdiff
path: root/python-eo-learn-features.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 08:17:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 08:17:55 +0000
commit5aa51ccea7df83297966700a3564e766bff4c862 (patch)
tree0651da8e29b6b18ccc186118a732eee6b0bf75d1 /python-eo-learn-features.spec
parent4150a4f3e8745b203fa0f545c353386a6f2a89a9 (diff)
automatic import of python-eo-learn-featuresopeneuler20.03
Diffstat (limited to 'python-eo-learn-features.spec')
-rw-r--r--python-eo-learn-features.spec102
1 files changed, 102 insertions, 0 deletions
diff --git a/python-eo-learn-features.spec b/python-eo-learn-features.spec
new file mode 100644
index 0000000..83385db
--- /dev/null
+++ b/python-eo-learn-features.spec
@@ -0,0 +1,102 @@
+%global _empty_manifest_terminate_build 0
+Name: python-eo-learn-features
+Version: 1.4.2
+Release: 1
+Summary: A collection of feature manipulation EOTasks and utilities
+License: MIT
+URL: https://github.com/sentinel-hub/eo-learn
+Source0: https://mirrors.aliyun.com/pypi/web/packages/fe/cc/97e4a1907a498d7bd30df3cdf24c60ec4270c0f9bd77d09b254e18dda078/eo-learn-features-1.4.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-eo-learn-core
+Requires: python3-numba
+Requires: python3-numpy
+Requires: python3-pillow
+Requires: python3-dateutil
+Requires: python3-scikit-image
+Requires: python3-scikit-learn
+Requires: python3-scipy
+Requires: python3-typing-extensions
+
+%description
+# eolearn.features subpackage
+
+A collection of utilities for extracting data properties and feature manipulation.
+
+For more information about the module visit [readthedocs](https://eo-learn.readthedocs.io/en/latest/reference/eolearn.features.html), or see the [module task index](https://eo-learn.readthedocs.io/en/latest/eotasks.html#features).
+
+
+
+
+%package -n python3-eo-learn-features
+Summary: A collection of feature manipulation EOTasks and utilities
+Provides: python-eo-learn-features
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-eo-learn-features
+# eolearn.features subpackage
+
+A collection of utilities for extracting data properties and feature manipulation.
+
+For more information about the module visit [readthedocs](https://eo-learn.readthedocs.io/en/latest/reference/eolearn.features.html), or see the [module task index](https://eo-learn.readthedocs.io/en/latest/eotasks.html#features).
+
+
+
+
+%package help
+Summary: Development documents and examples for eo-learn-features
+Provides: python3-eo-learn-features-doc
+%description help
+# eolearn.features subpackage
+
+A collection of utilities for extracting data properties and feature manipulation.
+
+For more information about the module visit [readthedocs](https://eo-learn.readthedocs.io/en/latest/reference/eolearn.features.html), or see the [module task index](https://eo-learn.readthedocs.io/en/latest/eotasks.html#features).
+
+
+
+
+%prep
+%autosetup -n eo-learn-features-1.4.2
+
+%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-eo-learn-features -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.2-1
+- Package Spec generated