From a059df5bad34e2e7070093ebdfd70ee0f933b6bd25ca0b4a9d1afa8dc2f9ab42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 5 Nov 2024 15:37:24 +0000 Subject: [PATCH] Accepting request 1221470 from home:glaubitz:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 63.0 * #2252, #895: Handle page groups, with financial support from Code & Co. * #1630, #2286: Support CSS Color Level 4 * #2192: Add PDF variant for debugging purpose * #2208: Support submit inputs in PDF forms * #2139: Support mask-border-* properties * #1831, #2143: Support radio inputs in PDF forms * #2262: Avoid integer overflows when converting units from/to doubles * #2260: Avoid float collision with box establishing formatting context * #2240, #2242: Handle svg tags with no size * #2231, #1171, #2222, #1208: Fix several problems related to flex-direction: column * #2239: Don’t fail when SVG markers are undefined references * #2230, #2238: Set explicit flags when loading DLLs on Windows * #2228, #1942: Store original and PDF stream images in different cache slots * #2234: Apply stylesheet and other basic operations to SVG root tag * #2054, #2233: Keep auto margins on flex layout boxes * #1883: Don’t crash with empty list marker strings * #2216: Fix vertical alignment of out-of-flow elements in tables * #996, #2219: Don’t ignore absolutely positioned elements inside flex boxes * #2217: Don’t crash with normal column gaps * #1817: Don’t assume that lines break after spaces * #1868: Don’t break rows with atomic cells * #2166: Don’t display bottom border on cells in split rows * 61852c4: Capture fontTools logs when subsetting fonts * #2190: Don’t use a pattern when drawing backgrounds for no-repeat background images * #2185: Check that Harfbuzz version is at least 4.1.0 to subset fonts * #2180: Store width for all glyphs when font is not subset * #2183: Respect break-inside: avoid for flex items * #2055, #2058: Fix right-to-left tables with collapsed borders * #2179, #1128: Handle buggy Adobe Photoshop CMYK JPEGs OBS-URL: https://build.opensuse.org/request/show/1221470 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=34 --- python-weasyprint.changes | 45 +++++++++++++++++++++++++++++++++++++++ python-weasyprint.spec | 10 ++++----- weasyprint-62.3.tar.gz | 3 --- weasyprint-63.0.tar.gz | 3 +++ 4 files changed, 53 insertions(+), 8 deletions(-) delete mode 100644 weasyprint-62.3.tar.gz create mode 100644 weasyprint-63.0.tar.gz diff --git a/python-weasyprint.changes b/python-weasyprint.changes index 1db8141..fc9b5d5 100644 --- a/python-weasyprint.changes +++ b/python-weasyprint.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Tue Nov 5 14:27:00 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 63.0 + * #2252, #895: Handle page groups, with financial support from Code & Co. + * #1630, #2286: Support CSS Color Level 4 + * #2192: Add PDF variant for debugging purpose + * #2208: Support submit inputs in PDF forms + * #2139: Support mask-border-* properties + * #1831, #2143: Support radio inputs in PDF forms + * #2262: Avoid integer overflows when converting units from/to doubles + * #2260: Avoid float collision with box establishing formatting context + * #2240, #2242: Handle svg tags with no size + * #2231, #1171, #2222, #1208: Fix several problems related to flex-direction: column + * #2239: Don’t fail when SVG markers are undefined references + * #2230, #2238: Set explicit flags when loading DLLs on Windows + * #2228, #1942: Store original and PDF stream images in different cache slots + * #2234: Apply stylesheet and other basic operations to SVG root tag + * #2054, #2233: Keep auto margins on flex layout boxes + * #1883: Don’t crash with empty list marker strings + * #2216: Fix vertical alignment of out-of-flow elements in tables + * #996, #2219: Don’t ignore absolutely positioned elements inside flex boxes + * #2217: Don’t crash with normal column gaps + * #1817: Don’t assume that lines break after spaces + * #1868: Don’t break rows with atomic cells + * #2166: Don’t display bottom border on cells in split rows + * 61852c4: Capture fontTools logs when subsetting fonts + * #2190: Don’t use a pattern when drawing backgrounds for no-repeat background images + * #2185: Check that Harfbuzz version is at least 4.1.0 to subset fonts + * #2180: Store width for all glyphs when font is not subset + * #2183: Respect break-inside: avoid for flex items + * #2055, #2058: Fix right-to-left tables with collapsed borders + * #2179, #1128: Handle buggy Adobe Photoshop CMYK JPEGs + * #2175: Don’t compress PDF metadata for PDF/A-1 + * #2174: Fix extra width distribution for auto table layout + * #1155: Improve rendering speed for large colspan values + * #2120, #2178: Use Harfbuzz to subset fonts by default + * #2282, #2284: Simplify Alpine install instructions + * #2254: Add warning about antivirus false detection + * #2220: Add extra information to debug logs + * #2211: Fix link to samples + * #2195: Update cache argument documentation + * #2105, #2151: Use MSYS2 instead of GTK+3 for Windows +- Update BuildRequires and Requires from pyproject.toml + ------------------------------------------------------------------- Sun Jun 30 08:16:19 UTC 2024 - Dirk Müller diff --git a/python-weasyprint.spec b/python-weasyprint.spec index 2bd5e7a..6242c06 100644 --- a/python-weasyprint.spec +++ b/python-weasyprint.spec @@ -20,16 +20,16 @@ %global cffi_min_version 0.6 %global cssselect2_min_version 0.1 %global fonttools_min_version 4.0.0 -%global html5lib_min_version 1.1 +%global tinyhtml5_min_version 2.0.0 %global Pillow_min_version 9.1.0 -%global pypdf_min_version 0.10.0 +%global pypdf_min_version 0.11.0 %global Pyphen_min_version 0.9.1 -%global tinycss2_min_version 1.3.0 +%global tinycss2_min_version 1.4.0 %global zopfli_min_version 0.1.4 %{?sle15_python_module_pythons} Name: python-weasyprint -Version: 62.3 +Version: 63.0 Release: 0 Summary: Python module to convert web documents to PDF License: BSD-3-Clause @@ -67,7 +67,7 @@ BuildRequires: %{python_module Pillow >= %{Pillow_min_version}} BuildRequires: %{python_module Pyphen >= %{Pyphen_min_version}} BuildRequires: %{python_module cffi >= %{cffi_min_version}} BuildRequires: %{python_module cssselect2 >= %{cssselect2_min_version}} -BuildRequires: %{python_module html5lib >= %{html5lib_min_version}} +BuildRequires: %{python_module tinyhtml5 >= %{tinyhtml5_min_version}} BuildRequires: %{python_module pydyf >= %{pypdf_min_version}} BuildRequires: %{python_module pytest} BuildRequires: %{python_module tinycss2 >= %{tinycss2_min_version}} diff --git a/weasyprint-62.3.tar.gz b/weasyprint-62.3.tar.gz deleted file mode 100644 index 8892de8..0000000 --- a/weasyprint-62.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8d8680d732f7fa0fcbc587692a5a5cb095c3525627066918d6e203cbf42b7fcd -size 477181 diff --git a/weasyprint-63.0.tar.gz b/weasyprint-63.0.tar.gz new file mode 100644 index 0000000..8065f27 --- /dev/null +++ b/weasyprint-63.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec24c64fdcc63e4168b2c24eb89b1ee8a711281a7d7fdb3eed3f54995489c9d1 +size 491295