summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-eo-learn-features.spec102
-rw-r--r--sources1
3 files changed, 104 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4ca8509 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/eo-learn-features-1.4.2.tar.gz
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
diff --git a/sources b/sources
new file mode 100644
index 0000000..bee898c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d35902f73725f4192241ac618cab3eab eo-learn-features-1.4.2.tar.gz