Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-XlsxWriter for openSUSE:Factory checked in at 2025-05-22 16:55:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-XlsxWriter (Old) and /work/SRC/openSUSE:Factory/.python-XlsxWriter.new.2732 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-XlsxWriter" Thu May 22 16:55:33 2025 rev:19 rq:1278862 version:3.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-XlsxWriter/python-XlsxWriter.changes 2024-10-27 11:26:15.188837180 +0100 +++ /work/SRC/openSUSE:Factory/.python-XlsxWriter.new.2732/python-XlsxWriter.changes 2025-05-22 16:55:38.562799009 +0200 @@ -1,0 +2,7 @@ +Tue May 20 15:43:12 UTC 2025 - Matej Cepl <mc...@cepl.eu> + +- Switch building to use of PEP517 backend. + Don't rename vba_extract.py to vba_extract, it makes things too + complicated. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-XlsxWriter.spec ++++++ --- /var/tmp/diff_new_pack.vl9ykQ/_old 2025-05-22 16:55:39.006817700 +0200 +++ /var/tmp/diff_new_pack.vl9ykQ/_new 2025-05-22 16:55:39.010817868 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-XlsxWriter # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,8 +26,10 @@ Group: Development/Languages/Python URL: https://github.com/jmcnamara/XlsxWriter Source: https://github.com/jmcnamara/XlsxWriter/archive/RELEASE_%{version}.tar.gz#/XlsxWriter-RELEASE_%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives @@ -52,23 +54,18 @@ %setup -q -n XlsxWriter-RELEASE_%{version} %build -%python_build +%pyproject_wheel %install -%{python_expand # -%{$python_install} -mv %{buildroot}%{_bindir}/vba_extract.py \ - %{buildroot}%{_bindir}/vba_extract-%{$python_bin_suffix} -} - +%pyproject_install +%python_clone -a %{buildroot}%{_bindir}/vba_extract.py %python_expand %fdupes %{buildroot}%{$python_sitelib} -%prepare_alternative vba_extract %post -%python_install_alternative vba_extract +%python_install_alternative vba_extract.py %postun -%python_uninstall_alternative vba_extract +%python_uninstall_alternative vba_extract.py %check %pytest @@ -76,7 +73,7 @@ %files %{python_files} %doc Changes README.rst %license LICENSE.txt -%python_alternative %{_bindir}/vba_extract -%{python_sitelib}/xlsxwriter/ -%{python_sitelib}/XlsxWriter-%{version}-py*.egg-info +%python_alternative %{_bindir}/vba_extract.py +%{python_sitelib}/xlsxwriter +%{python_sitelib}/[Xx]lsx[Ww]riter-%{version}*-info