diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:11:39 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:11:39 +0000 |
commit | c7dc48d7829a44b391ce611c9110fad3f6628634 (patch) | |
tree | 3e985eabf01eeae319cec8b052c3b0c39d3cb74d | |
parent | 7cb7773935dcd926a0ca729c40a04b02c7c0fd8d (diff) |
automatic import of python-statdepthopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-statdepth.spec | 77 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/statdepth-1.0.0.tar.gz diff --git a/python-statdepth.spec b/python-statdepth.spec new file mode 100644 index 0000000..44f3e06 --- /dev/null +++ b/python-statdepth.spec @@ -0,0 +1,77 @@ +%global _empty_manifest_terminate_build 0 +Name: python-statdepth +Version: 1.0.0 +Release: 1 +Summary: A library for computing statistical depth for univariate and multivariate functional data, and pointcloud data. Additionally, methods for homogeneity testing and visualization are provided. +License: GPL license +URL: https://github.com/braingeneers/statdepth +Source0: https://mirrors.aliyun.com/pypi/web/packages/7d/ed/30e1d95a4edc2f2196ed7f6c947187ca4178fc5bd5b091dca60f9d9cd361/statdepth-1.0.0.tar.gz +BuildArch: noarch + +Requires: python3-plotly +Requires: python3-pandas +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-tqdm + +%description + + +%package -n python3-statdepth +Summary: A library for computing statistical depth for univariate and multivariate functional data, and pointcloud data. Additionally, methods for homogeneity testing and visualization are provided. +Provides: python-statdepth +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-statdepth + + +%package help +Summary: Development documents and examples for statdepth +Provides: python3-statdepth-doc +%description help + + +%prep +%autosetup -n statdepth-1.0.0 + +%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-statdepth -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0-1 +- Package Spec generated @@ -0,0 +1 @@ +2a79e67d7d5472bb5b481d2cc22e260c statdepth-1.0.0.tar.gz |