From 5aa51ccea7df83297966700a3564e766bff4c862 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 9 Jun 2023 08:17:55 +0000 Subject: automatic import of python-eo-learn-features --- .gitignore | 1 + python-eo-learn-features.spec | 102 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 104 insertions(+) create mode 100644 python-eo-learn-features.spec create mode 100644 sources 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 - 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 -- cgit v1.2.3