From ae3cff2334c04249c0e8aa4eb8123455129f2007f85ea74c2d9fdb3e454da572 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 10 Jun 2024 10:00:45 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=2062.2:=20=20=20*=20#2142,=20#2?= =?UTF-8?q?162:=20Support=20grid-auto-flow:=20column,=20with=20financial?= =?UTF-8?q?=20=20=20=20=20support=20from=20Menutech=20=20=20*=20#2167:=20F?= =?UTF-8?q?ix=20space=20added=20by=20CSS=20gap=20at=20the=20end=20=20=20*?= =?UTF-8?q?=20#2134:=20Remove=20absolute=20placeholders=20from=20discarded?= =?UTF-8?q?=20content=20=20=20*=20#2154:=20Don=E2=80=99t=20crash=20when=20?= =?UTF-8?q?grid=20items=20have=20auto=20margins=20=20=20*=208cdd66f:=20Fix?= =?UTF-8?q?=20CSS=20nesting=20for=20nested=20selectors=20with=20comma=20?= =?UTF-8?q?=20=20*=203359db5:=20Fix=20and=20test=20grid=20shorthand=20=20?= =?UTF-8?q?=20*=2082deda4:=20Fix=20wrong=20resume=5Fat=20for=20split=20flo?= =?UTF-8?q?ats=20=20=20*=20ff2acf1:=20Ensure=20that=20gradient=20size=20is?= =?UTF-8?q?=20positive=20to=20please=20some=20=20=20*=20#2144,=20#2149:=20?= =?UTF-8?q?Avoid=20broken=20fonts=20when=20generating=20multiple=20=20=20?= =?UTF-8?q?=20=20documents=20=20=20*=20c10c6892:=20Display=20at=20least=20?= =?UTF-8?q?one=20grid=20row=20on=20empty=20pages=20=20=20*=20#2146:=20Don?= =?UTF-8?q?=E2=80=99t=20crash=20when=20flex=20container=E2=80=99s=20parent?= =?UTF-8?q?=E2=80=99s=20height=20is=20=20=20=20=20auto=20=20=20*=20Python?= =?UTF-8?q?=203.9+=20is=20now=20needed,=20Python=203.7=20and=203.8=20are?= =?UTF-8?q?=20not=20=20=20=20=20supported=20anymore=20=20=20*=20pydyf=200.?= =?UTF-8?q?10.0+=20is=20now=20needed=20=20=20*=20tinycss2=201.3.0+=20is=20?= =?UTF-8?q?now=20needed=20=20=20*=20Features:=20=20=20*=20#543,=20#2121:?= =?UTF-8?q?=20Support=20CSS=20Grid=20layout=20=20=20*=20#2124,=20#2125:=20?= =?UTF-8?q?Support=20border-image-*=20properties=20=20=20*=20#2084,=20#207?= =?UTF-8?q?7:=20Support=20CSS=20nesting=20=20=20*=20#2101:=20Support=20HTM?= =?UTF-8?q?L=20maxlength=20attribute=20for=20form=20fields=20=20=20*=20#20?= =?UTF-8?q?95:=20Apply=20overflow=20to=20replaced=20boxes=20=20=20*=20245e?= =?UTF-8?q?4f5:=20Add=20support=20of=20PDF/A-=3Fu=20=20=20*=20Bug=20fixes:?= =?UTF-8?q?=20=20=20*=20#2136:=20Don=E2=80=99t=20clip=20aligned=20text=20i?= =?UTF-8?q?n=20SVG=20=20=20*=20#2135:=20Allow=20column-direction=20flex=20?= =?UTF-8?q?containers=20to=20use=20=20=20=20=20percentage-based=20heights?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=30 --- python-weasyprint.changes | 52 +++++++++++++++++++++++++++++++++++++++ python-weasyprint.spec | 10 ++++---- weasyprint-61.2.tar.gz | 3 --- weasyprint-62.2.tar.gz | 3 +++ 4 files changed, 60 insertions(+), 8 deletions(-) delete mode 100644 weasyprint-61.2.tar.gz create mode 100644 weasyprint-62.2.tar.gz diff --git a/python-weasyprint.changes b/python-weasyprint.changes index 4af0316..6737417 100644 --- a/python-weasyprint.changes +++ b/python-weasyprint.changes @@ -1,3 +1,55 @@ +------------------------------------------------------------------- +Mon Jun 10 09:58:20 UTC 2024 - Dirk Müller + +- update to 62.2: + * #2142, #2162: Support grid-auto-flow: column, with financial + support from Menutech + * #2167: Fix space added by CSS gap at the end + * #2134: Remove absolute placeholders from discarded content + * #2154: Don’t crash when grid items have auto margins + * 8cdd66f: Fix CSS nesting for nested selectors with comma + * 3359db5: Fix and test grid shorthand + * 82deda4: Fix wrong resume_at for split floats + * ff2acf1: Ensure that gradient size is positive to please some + * #2144, #2149: Avoid broken fonts when generating multiple + documents + * c10c6892: Display at least one grid row on empty pages + * #2146: Don’t crash when flex container’s parent’s height is + auto + * Python 3.9+ is now needed, Python 3.7 and 3.8 are not + supported anymore + * pydyf 0.10.0+ is now needed + * tinycss2 1.3.0+ is now needed + * Features: + * #543, #2121: Support CSS Grid layout + * #2124, #2125: Support border-image-* properties + * #2084, #2077: Support CSS nesting + * #2101: Support HTML maxlength attribute for form fields + * #2095: Apply overflow to replaced boxes + * 245e4f5: Add support of PDF/A-?u + * Bug fixes: + * #2136: Don’t clip aligned text in SVG + * #2135: Allow column-direction flex containers to use + percentage-based heights + * #2128: Don’t crash when a FontConfig object is destroyed + early + * #2079: Fix executable file for some Windows versions + * #2131: Fix alpha for images before/after transparent text + * #2111: Handle auto and none values for CSS quotes property + * #2103: Don’t crash with overconstrained columns + * #2100: Fix rounding error when detecting overflows + * #2093, #2097, #2094: Mark use of md5() and sha1() as not for + security + * #1956, #2087: Use CSS table module level 3 to compute widths + * #2086: Fix selects with empty values displaying None + * #1112, #2082, #2085: Fix computation for outer min-content + width for table cells + * 016bd81: Fix many different bugs with SVG markers + * Performance: + * #2130: Cache font key instead of whole font content + * Documentation: + * #2108: Update documentation about CSS leader() function + ------------------------------------------------------------------- Sat Mar 16 16:22:31 UTC 2024 - Dirk Müller diff --git a/python-weasyprint.spec b/python-weasyprint.spec index 704ca4e..468e3b1 100644 --- a/python-weasyprint.spec +++ b/python-weasyprint.spec @@ -22,21 +22,21 @@ %global fonttools_min_version 4.0.0 %global html5lib_min_version 1.1 %global Pillow_min_version 9.1.0 -%global pypdf_min_version 0.8.0 +%global pypdf_min_version 0.10.0 %global Pyphen_min_version 0.9.1 -%global tinycss2_min_version 1.1.0 +%global tinycss2_min_version 1.3.0 %global zopfli_min_version 0.1.4 %{?sle15_python_module_pythons} Name: python-weasyprint -Version: 61.2 +Version: 62.2 Release: 0 Summary: Python module to convert web documents to PDF License: BSD-3-Clause URL: https://github.com/Kozea/WeasyPrint Source: https://files.pythonhosted.org/packages/source/w/weasyprint/weasyprint-%{version}.tar.gz Source100: python-weasyprint-rpmlintrc -BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module flit-core} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 39.2.0} @@ -117,6 +117,6 @@ export PYTHONPATH=$PWD %license LICENSE %python_alternative %{_bindir}/weasyprint %{python_sitelib}/weasyprint -%{python_sitelib}/weasyprint-%{version}*-info +%{python_sitelib}/weasyprint-%{version}.dist-info %changelog diff --git a/weasyprint-61.2.tar.gz b/weasyprint-61.2.tar.gz deleted file mode 100644 index cfdfbe0..0000000 --- a/weasyprint-61.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:47df6cfeeff8c6c28cf2e4caf837cde17715efe462708ada74baa2eb391b6059 -size 447333 diff --git a/weasyprint-62.2.tar.gz b/weasyprint-62.2.tar.gz new file mode 100644 index 0000000..1bbe710 --- /dev/null +++ b/weasyprint-62.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a08ac400e11919d996d76becaa33160d7c1ac55ba160628c42ce7586574c1a51 +size 477895