diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-31 03:59:05 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 03:59:05 +0000 |
| commit | 833fd1212bd1fca24051a49ca1b2bb2c371d4b97 (patch) | |
| tree | 400fd7f15025f19f20a8e6f1098eb90e345061f6 | |
| parent | 7b74b874d1e5bf20740e760eb3ddcd744e40180e (diff) | |
automatic import of python-notebooker
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-notebooker.spec | 112 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 114 insertions, 0 deletions
@@ -0,0 +1 @@ +/notebooker-0.5.1.tar.gz diff --git a/python-notebooker.spec b/python-notebooker.spec new file mode 100644 index 0000000..aa07501 --- /dev/null +++ b/python-notebooker.spec @@ -0,0 +1,112 @@ +%global _empty_manifest_terminate_build 0 +Name: python-notebooker +Version: 0.5.1 +Release: 1 +Summary: Tool for parametrizing, executing, and displaying Jupyter Notebooks as reports. +License: AGPLv3 +URL: https://github.com/man-group/notebooker +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4a/76/223dd659cc45d8f488e594068342959406aff9932c2c9a034d0bb424cdc1/notebooker-0.5.1.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-apscheduler +Requires: python3-babel +Requires: python3-cachelib +Requires: python3-click +Requires: python3-flask +Requires: python3-gevent +Requires: python3-gitpython +Requires: python3-inflection +Requires: python3-ipykernel +Requires: python3-ipython +Requires: python3-ipython-genutils +Requires: python3-jupytext +Requires: python3-matplotlib +Requires: python3-nbconvert +Requires: python3-nbformat +Requires: python3-pandas +Requires: python3-papermill +Requires: python3-pymongo +Requires: python3-dateutil +Requires: python3-retrying +Requires: python3-stashy +Requires: python3-Werkzeug +Requires: python3-importlib-metadata +Requires: python3-dataclasses +Requires: python3-docutils +Requires: python3-sphinx +Requires: python3-numpydoc +Requires: python3-sphinxcontrib-httpdomain +Requires: python3-sphinx-click +Requires: python3-prometheus-client +Requires: python3-openpyxl +Requires: python3-pytest +Requires: python3-mock +Requires: python3-pytest-cov +Requires: python3-pytest-timeout +Requires: python3-pytest-xdist +Requires: python3-pytest-server-fixtures +Requires: python3-freezegun +Requires: python3-hypothesis + +%description + + +%package -n python3-notebooker +Summary: Tool for parametrizing, executing, and displaying Jupyter Notebooks as reports. +Provides: python-notebooker +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-notebooker + + +%package help +Summary: Development documents and examples for notebooker +Provides: python3-notebooker-doc +%description help + + +%prep +%autosetup -n notebooker-0.5.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-notebooker -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.1-1 +- Package Spec generated @@ -0,0 +1 @@ +16406e0a4fbf8d774b8e265916c64205 notebooker-0.5.1.tar.gz |
