Projects
Eulaceura:Factory
python-notebook
_service:obs_scm:python-notebook.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-notebook.spec of Package python-notebook
%global _empty_manifest_terminate_build 0 Name: python-notebook Version: 7.1.1 Release: 1 Summary: A web-based notebook environment for interactive computing. License: BSD-3-Clause URL: https://github.com/jupyter/notebook Source0: https://files.pythonhosted.org/packages/86/6b/5c7878a717e90716a69628a4f1b1c198f422434c2499d5110b71ae4d9048/notebook-7.1.1.tar.gz BuildArch: noarch %description Jupyter Notebook - A web-based notebook environment for interactive computing. %package -n python3-notebook Summary: A web-based notebook environment for interactive computing. Provides: python-notebook # Base build requires BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling BuildRequires: python3-hatch-jupyter-builder BuildRequires: python3-jupyterlab %description -n python3-notebook Jupyter Notebook - A web-based notebook environment for interactive computing. %package help Summary: Development documents and examples for notebook. Provides: python3-notebook-doc %description help Development documents and examples for notebook. %prep %autosetup -n notebook-%{version} %build %pyproject_build %install %pyproject_install install -m 0755 -p -d %{buildroot}%{_sysconfdir}/jupyter/jupyter_server_config.d mv -v %{buildroot}{%{_prefix},}%{_sysconfdir}/jupyter/jupyter_server_config.d/notebook.json 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} 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}/doclist.lst . %files -n python3-notebook %doc README.md %license LICENSE %{python3_sitelib}/notebook %{python3_sitelib}/notebook*.dist-info/ %{_bindir}/jupyter-notebook %config(noreplace) %{_sysconfdir}/jupyter/jupyter_server_config.d/notebook.json %{_datadir}/jupyter/lab/schemas/@jupyter-notebook/ %{_datadir}/jupyter/labextensions/@jupyter-notebook/ %{_datadir}/applications/jupyter-notebook.desktop %{_datadir}/icons/hicolor/scalable/apps/notebook.svg %files help -f doclist.lst %{_docdir}/* %changelog * Fri Mar 1 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 7.1.1-1 - Init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2