12
0

6 Commits

Author SHA256 Message Date
baf49a6094 Accepting request 1251964 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1251964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xhtml2pdf?expand=0&rev=10
2025-03-11 19:44:46 +00:00
62d357ff85 Accepting request 1251853 from home:glaubitz:branches:devel:languages:python
- Update to 0.2.17
  * Pylint fixes
  * pre-commit autoupdate 2024-07-24
  * GitHub Actions: Add Python 3.13 beta 4 to the testing
  * Tidy up documentation
  * Keep GitHub Actions up to date with GitHub's Dependabot
  * Fix reDOS CVE in getColor function
  * Reuse background PDF file over multiple pages (#778)
  * Update import for breaking changes in python-bidi 0.5.0
  * Add support of base64 fonts
  * tests: Skip cases that download artifacts when http_proxy is set
  * Typos workflow
- Drop CVE-2024-25885.patch, merged upstream
- Update BuildRequires and Requires from pyproject.toml
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1251853
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=27
2025-03-11 07:57:18 +00:00
e2aaf6f6d2 Accepting request 1231899 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1231899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xhtml2pdf?expand=0&rev=9
2024-12-18 19:10:50 +00:00
c04385739b Accepting request 1231846 from home:mcalabkova:branches:devel:languages:python
- Add CVE-2024-25885.patch (bsc#1231408, CVE-2024-25885)

OBS-URL: https://build.opensuse.org/request/show/1231846
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=25
2024-12-18 13:43:21 +00:00
f25afc2d1b Accepting request 1201491 from devel:languages:python
- Update to 0.2.16:
  * New
    + OL tag allow start counter
    + Div, P, And Body allows dir attribute (rtl and ltr) to provide text
      direction
    + Add encryption and password protection
    + New WaterMark management system with new options
    + Add Graphic builder
    + Add signing pdfs (simple and pades)
  * Improvements
    + Page counter and Page number are now available as simple text inside
      paragraphs
    + New regex for strip up to curly bracket
    + Change pyPDF3 to pypdf.
  * Bug-Fixes
    + Add compatibility for reportlab >= 4.1
    + Make pyCairo dependency optional
    + Fix image rendering with link_callback
    + Fix TypeError on column widths specified as percentages
    + Fix TypeError when formatting width in debug logging
    + Fix page number & page count
    + Fix ZeroDivisionError on broken image files
    + Fix CSSParseError for minified @font-face definitions
    + Remove import cycle between utils and default
    + Fixed link_callback construction of path
    + Fixed path when is relative to current path
- Switch to autosetup and pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1201491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xhtml2pdf?expand=0&rev=8
2024-09-17 16:18:24 +00:00
4337f7b6bb - Update to 0.2.16:
* New
    + OL tag allow start counter
    + Div, P, And Body allows dir attribute (rtl and ltr) to provide text
      direction
    + Add encryption and password protection
    + New WaterMark management system with new options
    + Add Graphic builder
    + Add signing pdfs (simple and pades)
  * Improvements
    + Page counter and Page number are now available as simple text inside
      paragraphs
    + New regex for strip up to curly bracket
    + Change pyPDF3 to pypdf.
  * Bug-Fixes
    + Add compatibility for reportlab >= 4.1
    + Make pyCairo dependency optional
    + Fix image rendering with link_callback
    + Fix TypeError on column widths specified as percentages
    + Fix TypeError when formatting width in debug logging
    + Fix page number & page count
    + Fix ZeroDivisionError on broken image files
    + Fix CSSParseError for minified @font-face definitions
    + Remove import cycle between utils and default
    + Fixed link_callback construction of path
    + Fixed path when is relative to current path
- Switch to autosetup and pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=23
2024-09-17 02:43:24 +00:00
2 changed files with 5 additions and 8 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Fri Sep 5 11:30:19 UTC 2025 - Markéta Machová <mmachova@suse.com>
- python-pyhanko-cert-validator is included in python-pyHanko now
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 10 15:21:26 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Mon Mar 10 15:21:26 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-xhtml2pdf # spec file for package python-xhtml2pdf
# #
# Copyright (c) 2025 SUSE LLC and contributors # Copyright (c) 2025 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
@@ -32,7 +32,8 @@ BuildRequires: python-rpm-macros
Requires: python-Pillow >= 8.1.1 Requires: python-Pillow >= 8.1.1
Requires: python-arabic-reshaper >= 3.0.0 Requires: python-arabic-reshaper >= 3.0.0
Requires: python-html5lib >= 1.1 Requires: python-html5lib >= 1.1
Requires: python-pyHanko >= 0.19.5 Requires: python-pyHanko >= 0.12.1
Requires: python-pyhanko-certvalidator >= 0.19.5
Requires: python-pypdf >= 3.1.0 Requires: python-pypdf >= 3.1.0
Requires: python-python-bidi >= 0.5.0 Requires: python-python-bidi >= 0.5.0
Requires: python-reportlab >= 4.0.4 Requires: python-reportlab >= 4.0.4
@@ -45,7 +46,8 @@ BuildArch: noarch
BuildRequires: %{python_module Pillow >= 8.1.1} BuildRequires: %{python_module Pillow >= 8.1.1}
BuildRequires: %{python_module arabic-reshaper >= 3.0.0} BuildRequires: %{python_module arabic-reshaper >= 3.0.0}
BuildRequires: %{python_module html5lib >= 1.1} BuildRequires: %{python_module html5lib >= 1.1}
BuildRequires: %{python_module pyHanko >= 0.19.5} BuildRequires: %{python_module pyHanko >= 0.12.1}
BuildRequires: %{python_module pyhanko-certvalidator >= 0.19.5}
BuildRequires: %{python_module pypdf >= 3.1.0} BuildRequires: %{python_module pypdf >= 3.1.0}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-bidi >= 0.5.0} BuildRequires: %{python_module python-bidi >= 0.5.0}