Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyviz-comms for openSUSE:Factory checked in at 2024-05-07 18:04:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyviz-comms (Old) and /work/SRC/openSUSE:Factory/.python-pyviz-comms.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyviz-comms" Tue May 7 18:04:26 2024 rev:9 rq:1172347 version:3.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyviz-comms/python-pyviz-comms.changes 2024-04-29 08:58:33.768970540 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyviz-comms.new.1880/python-pyviz-comms.changes 2024-05-07 18:05:08.538299928 +0200 @@ -1,0 +2,6 @@ +Tue May 7 07:49:07 UTC 2024 - Daniel Garcia <daniel.gar...@suse.com> + +- Bring back package %build from source, removing binary .whl + distribution from package. + +------------------------------------------------------------------- Old: ---- pyviz_comms-3.0.2-py3-none-any.whl New: ---- pyviz_comms-3.0.2-gh.tar.gz pyviz_comms-3.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyviz-comms.spec ++++++ --- /var/tmp/diff_new_pack.fUaxvs/_old 2024-05-07 18:05:09.386330763 +0200 +++ /var/tmp/diff_new_pack.fUaxvs/_new 2024-05-07 18:05:09.386330763 +0200 @@ -16,7 +16,6 @@ # - Name: python-pyviz-comms Version: 3.0.2 Release: 0 @@ -24,12 +23,17 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/pyviz/pyviz_comms -Source0: https://files.pythonhosted.org/packages/py3/p/pyviz-comms/pyviz_comms-%{version}-py3-none-any.whl +# For the bundled JS files +Source0: https://files.pythonhosted.org/packages/source/p/pyviz_comms/pyviz_comms-%{version}.tar.gz +# For the tests +Source1: https://github.com/holoviz/pyviz_comms/archive/refs/tags/v%{version}.tar.gz#/pyviz_comms-%{version}-gh.tar.gz Source99: python-pyviz-comms-rpmlintrc BuildRequires: %{python_module base >= 3.8} -BuildRequires: %{python_module packaging} +BuildRequires: %{python_module hatch-jupyter-builder} +BuildRequires: %{python_module hatch-nodejs-version} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module jupyterlab} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools >= 40.8.0} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: jupyter-rpm-macros @@ -64,21 +68,21 @@ This package provides the JupyterLab extension. %prep -%setup -q -c -T +%autosetup -p1 -n pyviz_comms-%{version} +tar -x -f %{SOURCE1} --strip-components=1 pyviz_comms-%{version}/pyviz_comms/tests/ %build -# not needed +%pyproject_wheel %install -%pyproject_install %{SOURCE0} +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -cp %{buildroot}%{python_sitelib}/pyviz_comms-%{version}.dist-info/licenses/LICENSE . -cp %{buildroot}%{python_sitelib}/pyviz_comms-%{version}.dist-info/licenses/LICENSE.txt . %check -%pytest %{buildroot}%{python_sitelib}/pyviz_comms +%pytest %files %{python_files} +%doc README.md %license LICENSE LICENSE.txt %{python_sitelib}/pyviz_comms %{python_sitelib}/pyviz_comms-%{version}.dist-info