diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-29 13:36:47 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 13:36:47 +0000 |
| commit | de942fb3e840d0894d05f245a5d30dd3ea223afc (patch) | |
| tree | 7ca74224ff87804596362c07e9ea15fe0935a228 | |
| parent | 49a535f4b002f1a38beb6810b181e288b21646a6 (diff) | |
automatic import of python-spotify-confidence
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-spotify-confidence.spec | 96 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 98 insertions, 0 deletions
@@ -0,0 +1 @@ +/spotify-confidence-3.0.1.tar.gz diff --git a/python-spotify-confidence.spec b/python-spotify-confidence.spec new file mode 100644 index 0000000..269330a --- /dev/null +++ b/python-spotify-confidence.spec @@ -0,0 +1,96 @@ +%global _empty_manifest_terminate_build 0 +Name: python-spotify-confidence +Version: 3.0.1 +Release: 1 +Summary: Package for calculating and visualising confidence intervals, e.g. for A/B test analysis. +License: Apache Software License +URL: https://github.com/spotify/confidence +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/14/8a/e9f214a2028fbf5bc32c1a425af5b90172d94f2458da43adb97c8c27acd3/spotify-confidence-3.0.1.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-pandas +Requires: python3-statsmodels +Requires: python3-chartify +Requires: python3-ipywidgets + +%description + + + + + + +Python library for AB test analysis. + +%package -n python3-spotify-confidence +Summary: Package for calculating and visualising confidence intervals, e.g. for A/B test analysis. +Provides: python-spotify-confidence +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-spotify-confidence + + + + + + +Python library for AB test analysis. + +%package help +Summary: Development documents and examples for spotify-confidence +Provides: python3-spotify-confidence-doc +%description help + + + + + + +Python library for AB test analysis. + +%prep +%autosetup -n spotify-confidence-3.0.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-spotify-confidence -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.1-1 +- Package Spec generated @@ -0,0 +1 @@ +e986d6b8b3c5f4d504529ee421c45b3f spotify-confidence-3.0.1.tar.gz |
