diff options
Diffstat (limited to 'python-bebi103.spec')
| -rw-r--r-- | python-bebi103.spec | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/python-bebi103.spec b/python-bebi103.spec new file mode 100644 index 0000000..6cb1ba5 --- /dev/null +++ b/python-bebi103.spec @@ -0,0 +1,106 @@ +%global _empty_manifest_terminate_build 0 +Name: python-bebi103 +Version: 0.1.13 +Release: 1 +Summary: Python utilities for the Caltech course BE/Bi 103: Data Analysis in the Biological Sciences. +License: BSD +URL: https://github.com/justinbois/bebi103 +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e8/80/8bc396fa677dd25ee90fc0c06e6f427ae17f1d26ab12252bae7a0cd08466/bebi103-0.1.13.tar.gz +BuildArch: noarch + +Requires: python3-cmdstanpy +Requires: python3-contourpy +Requires: python3-numpy +Requires: python3-numba +Requires: python3-xarray +Requires: python3-scipy +Requires: python3-pandas +Requires: python3-tqdm +Requires: python3-bokeh +Requires: python3-matplotlib +Requires: python3-arviz +Requires: python3-colorcet +Requires: python3-holoviews + +%description +# bebi103 + +[](https://data.caltech.edu/badge/latestdoi/44303442) + +Utilities Caltech BE/Bi 103 ab: Data Analysis in the Biological Sciences + +Please see [the documentation](http://bebi103.github.io/). + + +%package -n python3-bebi103 +Summary: Python utilities for the Caltech course BE/Bi 103: Data Analysis in the Biological Sciences. +Provides: python-bebi103 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-bebi103 +# bebi103 + +[](https://data.caltech.edu/badge/latestdoi/44303442) + +Utilities Caltech BE/Bi 103 ab: Data Analysis in the Biological Sciences + +Please see [the documentation](http://bebi103.github.io/). + + +%package help +Summary: Development documents and examples for bebi103 +Provides: python3-bebi103-doc +%description help +# bebi103 + +[](https://data.caltech.edu/badge/latestdoi/44303442) + +Utilities Caltech BE/Bi 103 ab: Data Analysis in the Biological Sciences + +Please see [the documentation](http://bebi103.github.io/). + + +%prep +%autosetup -n bebi103-0.1.13 + +%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-bebi103 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.13-1 +- Package Spec generated |
