summaryrefslogtreecommitdiff
path: root/python-stumpy.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 13:22:48 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 13:22:48 +0000
commit46bd8c915954312194a303da9b67f8c3c26eb6cb (patch)
tree6b695a26d781f907d3d299fc3a4fb9637ac54a59 /python-stumpy.spec
parentae0567f03f7dac87b23eca31c03dcd8c5941f516 (diff)
automatic import of python-stumpy
Diffstat (limited to 'python-stumpy.spec')
-rw-r--r--python-stumpy.spec84
1 files changed, 84 insertions, 0 deletions
diff --git a/python-stumpy.spec b/python-stumpy.spec
new file mode 100644
index 0000000..d743616
--- /dev/null
+++ b/python-stumpy.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-stumpy
+Version: 1.11.1
+Release: 1
+Summary: A powerful and scalable library that can be used for a variety of time series data mining tasks
+License: 3-clause BSD License
+URL: https://github.com/TDAmeritrade/stumpy
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/87/dc/22f0df2174d8fb415ae18ffba443f1af2c493111693615841f8f0d8780ca/stumpy-1.11.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-numba
+Requires: python3-pandas
+Requires: python3-dask
+Requires: python3-distributed
+Requires: python3-coverage
+Requires: python3-flake8
+Requires: python3-flake8-docstrings
+Requires: python3-black
+Requires: python3-pytest
+Requires: python3-codecov
+
+%description
+
+
+%package -n python3-stumpy
+Summary: A powerful and scalable library that can be used for a variety of time series data mining tasks
+Provides: python-stumpy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-stumpy
+
+
+%package help
+Summary: Development documents and examples for stumpy
+Provides: python3-stumpy-doc
+%description help
+
+
+%prep
+%autosetup -n stumpy-1.11.1
+
+%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-stumpy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.11.1-1
+- Package Spec generated