Sync from SUSE:SLFO:Main python-XlsxWriter revision 87c294fab9828623b6e648af81d42ba2

This commit is contained in:
Adrian Schröter 2024-08-02 15:16:51 +02:00
parent d528c73935
commit adca6f8177
4 changed files with 62 additions and 9 deletions

BIN
XlsxWriter-RELEASE_3.0.3.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
XlsxWriter-RELEASE_3.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,54 @@
-------------------------------------------------------------------
Sat Mar 16 16:20:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.2.0:
* This is the 10th anniversary release of XlsxWriter.
* Add :func:`embed_image()` worksheet method to embed images in
cells. This is equivalent to Excel's menu item to insert an
image using the option to "Place in Cell". It scales images
automatically to the dimensions of the cell.
* This has been a frequently requested feature for people
creating spreadsheets with images for product items. See also
:ref:`ex_embedded_images`.
* Fix issue where a horizontal alignment format was ignored if
indentation was also set.
-------------------------------------------------------------------
Wed Dec 13 10:28:33 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.1.9:
* Add fix for errant XML tag in chart leader lines for non-Pie
charts.
* Add support for formatting the data label in chart
trendlines.
* Add the :func:`very_hidden()` method to hide a worksheet.
This is similar to the :func:`hide()` method except that the
worksheet cannot be unhidden in the the Excel user interface.
The Excel worksheet "xlSheetVeryHidden" option can only be
unset programmatically via VBA.
* Added fixes for column formulas in tables that were
overridden by table data and which also didn't take future
functions into account.
* Added support for chart leader lines for chart types other
than Pie and Doughnut.
* Added support for adding signed VBA macros to workbooks via
the via the
* Added support for enabling the Excel "Show #N/A as an empty
cell" chart option via the :func:`show_na_as_empty_cell` method.
* Added support for custom total formulas to worksheet tables.
* Added worksheet page break preview mode via
:func:`set_pagebreak_view()`.
* Add support for new Excel dynamic functions added in 2023.
* Added support for adding a color to the `invert_if_negative`
chart option.
* Minor fix for cell color issue.
-------------------------------------------------------------------
Tue Oct 17 11:26:58 UTC 2023 - Daniel Garcia Moreno <daniel.garcia@suse.com>
- Split the call to %python_install in different lines to do not feed
other commands as possible macro options.
-------------------------------------------------------------------
Mon Sep 26 03:06:49 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-XlsxWriter
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-XlsxWriter
Version: 3.0.3
Version: 3.2.0
Release: 0
Summary: Python module for writing OOXML spreadsheet files
License: BSD-2-Clause
@ -31,7 +31,7 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
Provides: python3-xlsxwriter = %{version}
Obsoletes: python3-xlsxwriter < %{version}
BuildArch: noarch
@ -55,9 +55,11 @@ supports features such as formatting and many more.
%python_build
%install
%{python_expand %$python_install && \
mv %{buildroot}%{_bindir}/vba_extract.py \
%{buildroot}%{_bindir}/vba_extract-%$python_bin_suffix}
%{python_expand #
%{$python_install}
mv %{buildroot}%{_bindir}/vba_extract.py \
%{buildroot}%{_bindir}/vba_extract-%{$python_bin_suffix}
}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%prepare_alternative vba_extract