diff options
Diffstat (limited to 'python-observable-jupyter-widget.spec')
-rw-r--r-- | python-observable-jupyter-widget.spec | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/python-observable-jupyter-widget.spec b/python-observable-jupyter-widget.spec new file mode 100644 index 0000000..d597c88 --- /dev/null +++ b/python-observable-jupyter-widget.spec @@ -0,0 +1,88 @@ +%global _empty_manifest_terminate_build 0 +Name: python-observable-jupyter-widget +Version: 0.1.8.dev0 +Release: 1 +Summary: Connect Observable notebooks to the Jupyter kernel for two-way interactivity +License: ISC +URL: https://github.com/thomasballinger/observable-jupyter-widget +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/23/b5/92288a3e72896b8ea551592512e10f72814c8d7d4dad7a1284036564ef39/observable_jupyter_widget-0.1.8.dev0.tar.gz +BuildArch: noarch + +Requires: python3-ipywidgets +Requires: python3-ipython-blocking +Requires: python3-jupyter-sphinx +Requires: python3-nbsphinx +Requires: python3-nbsphinx-link +Requires: python3-pytest-check-links +Requires: python3-pypandoc +Requires: python3-recommonmark +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-jupyter +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-nbval +Requires: python3-numpy +Requires: python3-pandas + +%description + + +%package -n python3-observable-jupyter-widget +Summary: Connect Observable notebooks to the Jupyter kernel for two-way interactivity +Provides: python-observable-jupyter-widget +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-observable-jupyter-widget + + +%package help +Summary: Development documents and examples for observable-jupyter-widget +Provides: python3-observable-jupyter-widget-doc +%description help + + +%prep +%autosetup -n observable-jupyter-widget-0.1.8.dev0 + +%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-observable-jupyter-widget -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.8.dev0-1 +- Package Spec generated |