Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jupyterlab-pygments for openSUSE:Factory checked in at 2024-05-09 12:14:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyterlab-pygments (Old) and /work/SRC/openSUSE:Factory/.python-jupyterlab-pygments.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyterlab-pygments" Thu May 9 12:14:19 2024 rev:11 rq:1172853 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyterlab-pygments/python-jupyterlab-pygments.changes 2024-03-07 22:01:20.428392299 +0100 +++ /work/SRC/openSUSE:Factory/.python-jupyterlab-pygments.new.1880/python-jupyterlab-pygments.changes 2024-05-09 12:14:23.856091177 +0200 @@ -1,0 +2,5 @@ +Thu May 9 06:59:50 UTC 2024 - Daniel Garcia <daniel.gar...@suse.com> + +- Build from source not whl from pypi. + +------------------------------------------------------------------- Old: ---- jupyterlab_pygments-0.3.0-py3-none-any.whl New: ---- jupyterlab_pygments-0.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyterlab-pygments.spec ++++++ --- /var/tmp/diff_new_pack.6xfNGa/_old 2024-05-09 12:14:24.576117313 +0200 +++ /var/tmp/diff_new_pack.6xfNGa/_new 2024-05-09 12:14:24.576117313 +0200 @@ -34,10 +34,13 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/jupyterlab/jupyterlab_pygments -Source: https://files.pythonhosted.org/packages/py3/j/jupyterlab-pygments/jupyterlab_pygments-%{version}-py3-none-any.whl +Source: https://files.pythonhosted.org/packages/source/j/jupyterlab-pygments/jupyterlab_pygments-%{version}.tar.gz # Slightly modified from https://github.com/jupyterlab/jupyterlab_pygments/blob/0.2.2/notebooks/Example.ipynb Source1: Example.ipynb BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module hatch-jupyter-builder} +BuildRequires: %{python_module hatch-nodejs-version} +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: jupyter-rpm-macros @@ -63,14 +66,14 @@ This package contains the Jupyterlab extension files for python-jupyterlab-pygments %prep -%setup -q -c -T +%autosetup -p1 -n jupyterlab_pygments-%{version} %build -: +%{pyproject_wheel} %if !%{with test} %install -%pyproject_install %{SOURCE0} +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} find %{buildroot}%{_prefix} -path '*/site-packages/jupyterlab_pygments-%{version}.dist-info/licenses/LICENSE' -exec cp {} . ';' -quit %endif