summaryrefslogtreecommitdiff
path: root/python-deepsig.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 07:34:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 07:34:12 +0000
commit6ce7017e4a260d5baea064c3f48aa79d0a74f833 (patch)
treecec15f273419eefe85db079b721c82ded536b661 /python-deepsig.spec
parent060404314e49fa652d471ef4ee672c0184d8ba79 (diff)
automatic import of python-deepsigopeneuler20.03
Diffstat (limited to 'python-deepsig.spec')
-rw-r--r--python-deepsig.spec85
1 files changed, 85 insertions, 0 deletions
diff --git a/python-deepsig.spec b/python-deepsig.spec
new file mode 100644
index 0000000..57bccf4
--- /dev/null
+++ b/python-deepsig.spec
@@ -0,0 +1,85 @@
+%global _empty_manifest_terminate_build 0
+Name: python-deepsig
+Version: 1.2.6
+Release: 1
+Summary: Easy Significance Testing for Deep Neural Networks.
+License: GPL
+URL: https://github.com/Kaleidophon/deep-significance
+Source0: https://mirrors.aliyun.com/pypi/web/packages/a9/83/833c2537f4af775e671776ae766de4e099503dfef50f60d4e491a8f56d96/deepsig-1.2.6.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-tqdm
+Requires: python3-joblib
+Requires: python3-pandas
+Requires: python3-dill
+Requires: python3-psutil
+
+%description
+**tl;dr**: Use `aso()` to compare scores for two models. If the returned `eps_min < 0.5`, A is better than B. The lower
+`eps_min`, the more confident the result (we recommend to check `eps_min < 0.2` and record `eps_min` alongside
+experimental results).
+
+%package -n python3-deepsig
+Summary: Easy Significance Testing for Deep Neural Networks.
+Provides: python-deepsig
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-deepsig
+**tl;dr**: Use `aso()` to compare scores for two models. If the returned `eps_min < 0.5`, A is better than B. The lower
+`eps_min`, the more confident the result (we recommend to check `eps_min < 0.2` and record `eps_min` alongside
+experimental results).
+
+%package help
+Summary: Development documents and examples for deepsig
+Provides: python3-deepsig-doc
+%description help
+**tl;dr**: Use `aso()` to compare scores for two models. If the returned `eps_min < 0.5`, A is better than B. The lower
+`eps_min`, the more confident the result (we recommend to check `eps_min < 0.2` and record `eps_min` alongside
+experimental results).
+
+%prep
+%autosetup -n deepsig-1.2.6
+
+%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-deepsig -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.6-1
+- Package Spec generated