forked from pool/python-weasyprint
- Update to 59.0:
* New features:
+ a4fc7a1: Support image-orientation
* Dependencies:
+ #1754: Pillow 9.1.0 is now needed
* Bug fixes:
+ #1864: Handle overflow for svg and symbol tags in SVG images
+ #1867: Remove duplicate compression of attachments
+ d0ad5c1: Override use tag children instead of drawing their references
+ #1874: Drawn underline and overline behind text
+ #1822, #1823: Fix vertical positioning for absolute replaced elements
+ #1807: Don’t crash when out-of-flow box is split in out-of-flow parent
+ #1806: Don’t crash when fixed elements aren’t displayed yet in
aborted line
+ #1809: Fix background drawing for out-of-the-page transformed boxes
+ #1764: Use reference instead of stream for annotation appearance stream
+ #1783: Fix multiple font weights for @font-face declarations
+ #1756: Fix rem font size for SVG images
+ #1755: Keep format when transposing images
+ #1753: Don’t use deprecated read_text function when files is available
+ #1741: Generate better manpage
+ #1747: Correctly set target counters in pages’ absolute elements
+ #1748: Always set font size when font is changed in line
+ #1739: Set baseline on all flex containers
+ #1740: Don’t crash when currentColor is set on root svg tag
+ #1718: Don’t crash with empty bitmap glyphs
+ #1736: Always use the font’s vector variant when possible
+ #1662: Use a stable key to store stream fonts
+ #1733: Don’t remove attachments when adding internal anchors
* Performance:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=19
This commit is contained in:
@@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 14 04:42:21 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 59.0:
|
||||||
|
* New features:
|
||||||
|
+ a4fc7a1: Support image-orientation
|
||||||
|
* Dependencies:
|
||||||
|
+ #1754: Pillow 9.1.0 is now needed
|
||||||
|
* Bug fixes:
|
||||||
|
+ #1864: Handle overflow for svg and symbol tags in SVG images
|
||||||
|
+ #1867: Remove duplicate compression of attachments
|
||||||
|
+ d0ad5c1: Override use tag children instead of drawing their references
|
||||||
|
+ #1874: Drawn underline and overline behind text
|
||||||
|
+ #1822, #1823: Fix vertical positioning for absolute replaced elements
|
||||||
|
+ #1807: Don’t crash when out-of-flow box is split in out-of-flow parent
|
||||||
|
+ #1806: Don’t crash when fixed elements aren’t displayed yet in
|
||||||
|
aborted line
|
||||||
|
+ #1809: Fix background drawing for out-of-the-page transformed boxes
|
||||||
|
+ #1764: Use reference instead of stream for annotation appearance stream
|
||||||
|
+ #1783: Fix multiple font weights for @font-face declarations
|
||||||
|
+ #1756: Fix rem font size for SVG images
|
||||||
|
+ #1755: Keep format when transposing images
|
||||||
|
+ #1753: Don’t use deprecated read_text function when files is available
|
||||||
|
+ #1741: Generate better manpage
|
||||||
|
+ #1747: Correctly set target counters in pages’ absolute elements
|
||||||
|
+ #1748: Always set font size when font is changed in line
|
||||||
|
+ #1739: Set baseline on all flex containers
|
||||||
|
+ #1740: Don’t crash when currentColor is set on root svg tag
|
||||||
|
+ #1718: Don’t crash with empty bitmap glyphs
|
||||||
|
+ #1736: Always use the font’s vector variant when possible
|
||||||
|
+ #1662: Use a stable key to store stream fonts
|
||||||
|
+ #1733: Don’t remove attachments when adding internal anchors
|
||||||
|
* Performance:
|
||||||
|
+ dfccf1b: Use faces as fonts dictionary keys
|
||||||
|
+ 0dc12b6: Cache add_font to avoid calling get_face too often
|
||||||
|
+ 75e17bf: Don’t call process_whitespace twice on many children
|
||||||
|
+ 498d3e1: Optimize __missing__ functions
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 3 19:13:07 UTC 2022 - Klaas Freitag <opensuse@freisturz.de>
|
Sat Sep 3 19:13:07 UTC 2022 - Klaas Freitag <opensuse@freisturz.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-weasyprint
|
# spec file for package python-weasyprint
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,13 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
Name: python-weasyprint
|
Name: python-weasyprint
|
||||||
Version: 56.1
|
Version: 59.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python module to convert web documents to PDF
|
Summary: Python module to convert web documents to PDF
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/Kozea/WeasyPrint
|
URL: https://github.com/Kozea/WeasyPrint
|
||||||
Source: https://files.pythonhosted.org/packages/source/w/weasyprint/weasyprint-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/w/weasyprint/weasyprint-%{version}.tar.gz
|
||||||
Source100: python-weasyprint-rpmlintrc
|
Source100: python-weasyprint-rpmlintrc
|
||||||
@@ -36,13 +34,13 @@ Requires(post): update-alternatives
|
|||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
Requires: libgobject-2_0-0
|
Requires: libgobject-2_0-0
|
||||||
Requires: pango
|
Requires: pango
|
||||||
Requires: python-Pillow >= 4.0.0
|
Requires: python-Pillow >= 9.1.0
|
||||||
Requires: python-Pyphen >= 0.9.1
|
Requires: python-Pyphen >= 0.9.1
|
||||||
Requires: python-base >= 3.7
|
Requires: python-base >= 3.7
|
||||||
Requires: python-cffi >= 0.6
|
Requires: python-cffi >= 0.6
|
||||||
Requires: python-cssselect2 >= 0.1
|
Requires: python-cssselect2 >= 0.1
|
||||||
Requires: python-html5lib >= 1.1
|
Requires: python-html5lib >= 1.1
|
||||||
Requires: python-pydyf >= 0.0.3
|
Requires: python-pydyf >= 0.6.0
|
||||||
Requires: python-tinycss2 >= 1.1.0
|
Requires: python-tinycss2 >= 1.1.0
|
||||||
# SECTION fonttools[woff]
|
# SECTION fonttools[woff]
|
||||||
Requires: python-FontTools
|
Requires: python-FontTools
|
||||||
@@ -53,12 +51,12 @@ BuildArch: noarch
|
|||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module FontTools}
|
BuildRequires: %{python_module FontTools}
|
||||||
BuildRequires: %{python_module Brotli >= 1.0.1}
|
BuildRequires: %{python_module Brotli >= 1.0.1}
|
||||||
BuildRequires: %{python_module Pillow}
|
BuildRequires: %{python_module Pillow >= 9.1.0}
|
||||||
BuildRequires: %{python_module Pyphen >= 0.9.1}
|
BuildRequires: %{python_module Pyphen >= 0.9.1}
|
||||||
BuildRequires: %{python_module cffi >= 0.6}
|
BuildRequires: %{python_module cffi >= 0.6}
|
||||||
BuildRequires: %{python_module cssselect2 >= 0.1}
|
BuildRequires: %{python_module cssselect2 >= 0.1}
|
||||||
BuildRequires: %{python_module html5lib >= 1.1}
|
BuildRequires: %{python_module html5lib >= 1.1}
|
||||||
BuildRequires: %{python_module pydyf >= 0.0.3}
|
BuildRequires: %{python_module pydyf >= 0.6.0}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module tinycss2 >= 1.1.0}
|
BuildRequires: %{python_module tinycss2 >= 1.1.0}
|
||||||
BuildRequires: %{python_module zopfli >= 0.1.4}
|
BuildRequires: %{python_module zopfli >= 0.1.4}
|
||||||
@@ -94,7 +92,7 @@ export PYTHONPATH=$PWD
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/weasyprint
|
%python_clone -a %{buildroot}%{_bindir}/weasyprint
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest tests
|
%pytest -k 'not test_linear_gradients and (5 or 12)' tests
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative weasyprint
|
%python_install_alternative weasyprint
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:27f796abce8edebc9e5b3cff2d095a9fa2b0af5766801431659db51203c70b38
|
|
||||||
size 420035
|
|
||||||
3
weasyprint-59.0.tar.gz
Normal file
3
weasyprint-59.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:223a76636b3744eaa4ab8a2885f50cf46cf8ebb1acb99b5276d02feccf507492
|
||||||
|
size 438338
|
||||||
Reference in New Issue
Block a user