14
0

16 Commits

Author SHA256 Message Date
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
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
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
ac0a0301eb Accepting request 1010934 from home:pgajdos:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1010934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=21
2022-10-16 07:23:08 +00:00
f6a27f43a3 - Add 590-rm-getStringIO.patch, use standard StringIO
(gh#xhtml2pdf/xhtml2pdf#589).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=19
2022-04-09 13:29:42 +00:00
2e3c98497c Accepting request 870103 from home:jayvdb:branches:devel:languages:python
- Add missing runtime dependency on setuptools
- Remove hashbang from library modules
- Activate test suite
- Update to v0.2.5

OBS-URL: https://build.opensuse.org/request/show/870103
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=17
2021-02-07 18:58:31 +00:00
Tomáš Chvátal
fb6e196689 Accepting request 805849 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/805849
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=15
2020-05-15 17:38:45 +00:00
Tomáš Chvátal
a627ec0c95 Accepting request 770553 from home:mcalabkova:branches:devel:languages:python
- 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`.

OBS-URL: https://build.opensuse.org/request/show/770553
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=13
2020-02-06 12:45:06 +00:00
Tomáš Chvátal
7ae802b1ba - Update to 0.2.3:
* various fixes/etc
  * no upstream changelog provided

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=11
2019-03-06 18:39:03 +00:00
Tomáš Chvátal
65791c3183 - Switch to downloadable url
- Remove pointless patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=7
2017-12-15 13:46:02 +00:00
Tomáš Chvátal
59cbd779dd - Cleanup a bit
- Update the requirements to match the upstream recommendations
- Run the tests
- Really enable the python3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=6
2017-12-15 13:33:00 +00:00
Tomáš Chvátal
368dbfd6e9 Accepting request 556998 from home:dstoecker
As required added python3 stuff. As python3 and python are conflicting and install tests fail for now python3 is disabled.

OBS-URL: https://build.opensuse.org/request/show/556998
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=5
2017-12-15 12:22:39 +00:00
Denisart Benjamin
b25cbf802f Accepting request 418837 from home:dstoecker
Update to recent version to let it work again with the other python packages. 0.0.5 fails with reportlab >3.

OBS-URL: https://build.opensuse.org/request/show/418837
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=4
2016-08-15 22:32:24 +00:00
Denisart Benjamin
4b00a687c2 Accepting request 207073 from home:posophe:branches:devel:languages:python
update

OBS-URL: https://build.opensuse.org/request/show/207073
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=3
2013-11-15 19:56:42 +00:00
Sascha Peilicke
08e7f329dd - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=2
2013-10-24 11:17:38 +00:00
Sascha Peilicke
c330fdc0c6 Accepting request 145241 from home:jimfunk:python
OBS-URL: https://build.opensuse.org/request/show/145241
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=1
2012-12-13 10:44:24 +00:00