commit jupyter for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/128a7b98d536a9cf9b4d4d5a90d63475.jpg?s=120&d=mm&r=g)
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package jupyter for openSUSE:Factory checked in at 2021-02-02 14:24:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jupyter (Old) and /work/SRC/openSUSE:Factory/.jupyter.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "jupyter" Tue Feb 2 14:24:30 2021 rev:5 rq:868152 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/jupyter/jupyter-filesystem.changes 2019-08-24 18:48:04.741747609 +0200 +++ /work/SRC/openSUSE:Factory/.jupyter.new.28504/jupyter-filesystem.changes 2021-02-02 14:24:37.123293557 +0100 @@ -1,0 +2,8 @@ +Sun Jan 31 00:32:57 UTC 2021 - Benjamin Greiner <code@bnavigator.de> + +- BuildRequire python-rpm-macros because the definition from + the prjconfig introduces rich dependencies, which must be + overridden by the lua version. + gh#openSUSE/python-rpm-macros#99 + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/jupyter/jupyter.changes 2019-11-29 16:02:48.744808001 +0100 +++ /work/SRC/openSUSE:Factory/.jupyter.new.28504/jupyter.changes 2021-02-02 14:24:37.271293787 +0100 @@ -1,0 +2,9 @@ +Sun Jan 31 00:02:26 UTC 2021 - Ben Greiner <code@bnavigator.de> + +- Back to singlespec for multiple python flavors. The primary + python3 flavor provides the "jupyter" package. +- Do what the description advertises and what upstream does: + Require the specified packages +- Update documentation files: jupyter.pdf and jupyter.zip + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jupyter-filesystem.spec ++++++ --- /var/tmp/diff_new_pack.S0F3Ph/_old 2021-02-02 14:24:39.683297539 +0100 +++ /var/tmp/diff_new_pack.S0F3Ph/_new 2021-02-02 14:24:39.683297539 +0100 @@ -1,7 +1,7 @@ # # spec file for package jupyter-filesystem # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: jupyter-filesystem -Url: https://jupyter.org/ +URL: https://jupyter.org/ Version: 20190823 Release: 0 %define tar_ver 1.0.0 @@ -29,6 +29,7 @@ Source10: macros.jupyter_core Source11: macros.jupyter_notebook Source12: macros.jupyterlab +BuildRequires: python-rpm-macros %description This package provides common directories and macros used by many ++++++ jupyter.spec ++++++ --- /var/tmp/diff_new_pack.S0F3Ph/_old 2021-02-02 14:24:39.703297570 +0100 +++ /var/tmp/diff_new_pack.S0F3Ph/_new 2021-02-02 14:24:39.703297570 +0100 @@ -1,7 +1,7 @@ # # spec file for package jupyter # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,36 +19,39 @@ Name: jupyter Version: 1.0.0 Release: 0 -Summary: Environment for interactive computing +Summary: Metapackage to install all the Jupyter components in one go License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/jupyter/jupyter Source0: https://files.pythonhosted.org/packages/source/j/jupyter/jupyter-%{version}.tar.gz Source1: https://buildmedia.readthedocs.org/media/pdf/jupyter/latest/jupyter.pdf Source2: https://buildmedia.readthedocs.org/media/htmlzip/jupyter/latest/jupyter.zip +BuildRequires: %{python_module ipykernel} +BuildRequires: %{python_module ipywidgets} +BuildRequires: %{python_module jupyter-client} +BuildRequires: %{python_module jupyter-core} +BuildRequires: %{python_module jupyter_console} +BuildRequires: %{python_module nbconvert} +BuildRequires: %{python_module notebook} +BuildRequires: %{python_module qtconsole} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: jupyter-ipykernel -BuildRequires: jupyter-ipywidgets -BuildRequires: jupyter-jupyter-client -BuildRequires: jupyter-jupyter-core -BuildRequires: jupyter-jupyter_console -BuildRequires: jupyter-nbconvert -BuildRequires: jupyter-notebook -BuildRequires: jupyter-qtconsole BuildRequires: python-rpm-macros -BuildRequires: python3-setuptools BuildRequires: unzip -Requires: jupyter-jupyter-client -Requires: jupyter-jupyter-core -Recommends: jupyter-ipykernel -Recommends: jupyter-ipywidgets -Recommends: jupyter-jupyter_console -Recommends: jupyter-nbconvert -Recommends: jupyter-notebook -Recommends: jupyter-qtconsole -Provides: python3-jupyter = %{version} -Obsoletes: python3-jupyter <= %{version} +Requires: python-ipykernel +Requires: python-ipywidgets +Requires: python-jupyter-client +Requires: python-jupyter-core +Requires: python-jupyter_console +Requires: python-nbconvert +Requires: python-notebook +Requires: python-qtconsole +%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" +Provides: jupyter = %{version}-%{release} +Obsoletes: jupyter < %{version}-%{release} +%endif BuildArch: noarch +%python_subpackages %description Jupyter is an environment for interactive computing in multiple languages. @@ -62,21 +65,20 @@ qtconsole, and the IPython kernel. Additional components and kernels can be installed separately. -%package doc +%package -n jupyter-doc Summary: HTML documentation for %{name} Group: Development/Languages/Python -Provides: %{name}-doc-html = %{version} -Provides: %{name}-doc-pdf = %{version} -Provides: %{python_module %{name}-doc = %{version}} -Provides: %{python_module %{name}-doc-html = %{version}} -Provides: %{python_module %{name}-doc-pdf = %{version}} -# Change from <= to < when (and if) there is a next release after 1.0.0 -Obsoletes: %{name}-doc-html <= %{version} -Obsoletes: %{name}-doc-pdf <= %{version} -Obsoletes: %{python_module %{name}-doc-html <= %{version}} -Obsoletes: %{python_module %{name}-doc-pdf <= %{version}} +Provides: %{name}-doc-html = %{version}-%{release} +Provides: %{name}-doc-pdf = %{version}-%{release} +Provides: %{python_module %{name}-doc = %{version}-%{release}} +Provides: %{python_module %{name}-doc-html = %{version}-%{release}} +Provides: %{python_module %{name}-doc-pdf = %{version}-%{release}} +Obsoletes: %{name}-doc-html < %{version}-%{release} +Obsoletes: %{name}-doc-pdf < %{version}-%{release} +Obsoletes: %{python_module %{name}-doc-html < %{version}-%{release}} +Obsoletes: %{python_module %{name}-doc-pdf < %{version}-%{release}} -%description doc +%description -n jupyter-doc Documentation and help files for %{name}. %prep @@ -86,14 +88,10 @@ rm docs/html/.buildinfo %build -%python3_build +%python_build %install -%python3_install - -# This is provided by jupyter_core now -rm -f %{buildroot}%{python3_sitelib}/jupyter.py* -rm -rf %{buildroot}%{python3_sitelib}/__pycache__/ +%python_install # Install documentation mkdir -p %{buildroot}%{_docdir}/%{name} @@ -103,14 +101,18 @@ %fdupes %{buildroot}%{_docdir}/%{name}/ -%files +%files %python_files %license LICENSE %doc README.md -%{python3_sitelib}/jupyter-%{version}-py*.egg-info +%{python_sitelib}/jupyter-%{version}*-info +# This is provided by jupyter_core now +%exclude %{python_sitelib}/jupyter.py* +%pycache_only %exclude %{python_sitelib}/__pycache__/ -%files doc +%files -n jupyter-doc %license LICENSE %doc README.md +%dir %{_docdir}/%{name}/ %{_docdir}/%{name}/html/ %{_docdir}/%{name}/jupyter.pdf ++++++ jupyter.pdf ++++++ (binary differes) ++++++ jupyter.zip ++++++ Binary files /var/tmp/diff_new_pack.S0F3Ph/_old and /var/tmp/diff_new_pack.S0F3Ph/_new differ
participants (1)
-
Source-Sync