File python-xhtml2pdf.changes of Package python-xhtml2pdf

-------------------------------------------------------------------
Mon Mar 10 15:21:26 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- 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

-------------------------------------------------------------------
Wed Dec 18 10:01:41 UTC 2024 - Markéta Machová <mmachova@suse.com>

- Add CVE-2024-25885.patch (bsc#1231408, CVE-2024-25885)

-------------------------------------------------------------------
Tue Sep 17 02:41:49 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

- 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.

-------------------------------------------------------------------
Fri Oct 14 13:10:51 UTC 2022 - pgajdos@suse.com

- version update to 0.2.6
  * Drop python 2 support.
  * Remove most of python 2 code and cleanup
  * Update packages dependencies
  * Remove six dependency and update Readme
  * Set timeout in https options
  * Add new file manager approach using factory method, now new classes deal with different types of data
  * B64InlineURI, LocalProtocolURI, NetworkFileUri, LocalFileURI, BytesFileUri
  * Now getColor return None when None is passed ignoring default value, but return default if bool(data) == false
  * rtl languages reversed lines added as a ParaFrag (note: not fully supported yet)
  * Check if Paragraph has 'rtl' attribute (note: not fully supported yet)
  * Fix UnboundLocalError in reportlab_paragraph (#585) (#586)
  * Remove usage of getStringIO (#590) removed form reportlab
  * Change test for github workflow using only Linux
  * Add Python 3.9, 3.10
  * Switch from PyPDF2 to PyPDF3
  * Add SVG support
  * Update package information.
  * Allow call tests using make.
- deleted patches
  - 590-rm-getStringIO.patch (upstreamed)

-------------------------------------------------------------------
Sat Apr  9 13:23:48 UTC 2022 - Matej Cepl <mcepl@suse.com>

- Add 590-rm-getStringIO.patch, use standard StringIO
  (gh#xhtml2pdf/xhtml2pdf#589).

-------------------------------------------------------------------
Sun Feb  7 14:49:02 UTC 2021 - John Vandenberg <jayvdb@gmail.com>

- Add missing runtime dependency on setuptools
- Remove hashbang from library modules
- Activate test suite
- Update to v0.2.5
  * Added Asian fonts support (Simplified Chinese,
    Traditional Chinese, Japanese & Korean)
  * Added support for right-to-left writings like Arabic, Hebrew,
    Persian, Pashto, Urdu and Sindhi. Simply include for example
    <pdf:language name="arabic"/>
  * CSS property letter-spacing now supports float values and
    relative & absolute units like cm, in, em, % etc
  * Added unit tests for Asian and right-to-left fonts
  * @frame properties like width, right, bottom etc. are now
    correctly calculated depending on the page orientation and size
  * Fixed support for multiple fonts and unicode
  * Fixed an encoding issue with html5lib
  * Fixed a problem with the border property in h1 to h6 heading tags
  * Fixed compability with ReportLab 3.5.X
  * Removed default background-image when no background-image is defined
  * Fixed an issue with different font type that have the same name
  * Fixed a bug that prevented support for Python 3.X
  * testrender test: fixed transparences and included new reference
    files. now all tests pass in Travis CI without --failed
  * 0.0 as value for a CSS property now acts the same way as 0 and None
  * Removed i and inch as unofficial synonyms for the in unit

-------------------------------------------------------------------
Fri May 15 12:56:36 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

- %python3_only -> %python_alternative

-------------------------------------------------------------------
Thu Feb  6 12:19:52 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

- update to 0.2.4
  * add Python 3.8
  * Fixed padding problem
  * fix: use html.escape instead of cgi.escape
  * Removed `if cols_with_no_width` condition from `tables.py`.

-------------------------------------------------------------------
Wed Mar  6 18:32:37 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

- Update to 0.2.3:
  * various fixes/etc
  * no upstream changelog provided

-------------------------------------------------------------------
Fri Dec 15 13:47:52 UTC 2017 - tchvatal@suse.com

- Switch to downloadable url
- Remove pointless patch

-------------------------------------------------------------------
Fri Dec 15 13:34:51 UTC 2017 - tchvatal@suse.com

- Cleanup a bit
- Update the requirements to match the upstream recommendations
- Run the tests
- Really enable the python3

-------------------------------------------------------------------
Tue Dec 14 16:30:32 UTC 2017 - opensuse@dstoecker.de

- update to 0.2b
- support build for python3

-------------------------------------------------------------------
Fri Aug 12 06:12:16 UTC 2016 - opensuse@dstoecker.de

- update to 0.1b2

-------------------------------------------------------------------
Fri Nov 15 19:53:25 UTC 2013 - p.drouand@gmail.com

- Update to version 0.0.5
  + no changelog available
- Remove useless CFLAGS definition

-------------------------------------------------------------------
Thu Oct 24 11:17:37 UTC 2013 - speilicke@suse.com

- Require python-setuptools instead of distribute (upstreams merged)

-------------------------------------------------------------------
Wed Dec 12 23:54:00 UTC 2012 - jfunk@funktronics.ca

- Initial release

openSUSE Build Service is sponsored by