Accepting request 1109250 from devel:languages:python

- Update to 2.7.1:
  * Don't draw clipPath when defined after reference
  * Handle evenodd fill rule with gradients and patterns
  * Fix ratio and clip for "image" tags with no size
  * Handle data-URLs in safe mode
  * Use f-strings
- Update to 2.7.0 (bsc#1209538, CVE-2023-27586):
  WARNING: this is a security update.
  When processing SVG files, CairoSVG could access other files online,
  possibly leading to very long renderings or other security problems.
  This feature is now disabled by default. External resources can still be
  accessed using the "unsafe" or the "url_fetcher" parameter.
- add sle15_python_module_pythons (jsc#PED-68)
- Make calling of %{sle15modernpython} optional.
- update to 2.6.0:
  * Drop support of Python 3.5 and 3.6, add support of Python 3.9,
    3.10 and 3.11
  * Support crispEdges value for text antialiasing
  * Don’t crash when including CMYK images
  * Only update docstrings when not optimized
  * Don’t restore current point after empty paths
  * Assume that 1ch equals 0.5em
  * Fix various deprecation warnings 
- Update to version 2.5.2
  * Fix marker path scale
- Update to version 2.5.1 (bsc#1180648, CVE-2021-21236):
  * Security fix: When processing SVG files, CairoSVG was using two
    regular expressions which are vulnerable to Regular Expression 
    Denial of Service (REDoS). If an attacker provided a malicious 
    SVG, it could make CairoSVG get stuck processing the file for a 
    very long time.
  * Fix marker positions for unclosed paths
  * Follow hint when only output_width or output_height is set
  * Handle opacity on raster images
  * Don’t crash when use tags reference unknown tags
  * Take care of the next letter when A/a is replaced by l
  * Fix misalignment in node.vertices
- Updates for version 2.5.0.
  * Drop support of Python 3.5, add support of Python 3.9.
  * Add EPS export
  * Add background-color, negate-colors, and invert-images options
  * Improve support for font weights
  * Fix opacity of patterns and gradients
  * Support auto-start-reverse value for orient
  * Draw images contained in defs
  * Add Exif transposition support
  * Handle dominant-baseline
  * Support transform-origin
- Add _service file to fetch required submodule.
- Update to 2.4.2:
  * Fix race condition in tests
  * Fix scale for images with no viewBox
- Update to 2.4.1:
  * Fix the scale parameter
  * Allow href attributes with no namespace
  * Fix the tree root detection
- Update to 2.4.0:
  * Fix aspect and position when resizing root SVG tag
  * Follow aspect and position hints when using forced output size
- Update to 2.3.1:
  * Fix relative paths on Windows
- Update to 2.3.0:
  * Drop Python 3.4 support
  * Make text selectable on generated PDF files
  * Don't inherit dx and dy attributes
  * Fix support of alignment-baseline="hanging"
  * Fix backslashes in docstrings and comments
  * Fix local anchors with files with no given URL
  * Close VERSION's file descriptor
  * Fix T commands used with previous relative commands in paths
  * Use real functions for svg2* commands, improving IDE integration
  * Handle image-rendering property
  * Fix crash with some text samples
  * Fix position of embedded svg tags with a viewbox not at position (0, 0)
  * Add output-width and output-height options
  * Handle references to inner document tags defined after the anchor
  * Fix offsets for texts on paths
- Run tests manualy reducing the test dependencies a bit
- Ensure neutrality of description.
- Remove superfluous devel dependency for noarch package
- Update to version 2.1.3
  * Fix T commands following q or t in paths
- Update to version 2.1.2
  * Fix font-size
- Update to version 2.1.1
  * Use http://www.w3.org/2000/svg as default namespace
- Update to version 2.1.0
  * Use cssselect2 and tinycss2 instead of cssselect and tinycss
  * Don't require lxml anymore
  * Rely on defusedxml to detect unsafe SVG files
- Implement single-spec version.
- Split Python2 version into separate package due to upstream
  dropping Python2 support.
- Update to Version 2.0.3
  * Add ``python_requires`` in ``setup.py``
- Update to Version 2.0.2
  * Handle ``text-align`` in textPath tags
  * Test with Python 3.6
- Update to Version 2.0.1
  * Don't crash on relative refs with no input URL
- Update to Version 2.0.0
  * Drop Python 2 support
  * Drop pycairo support
  * Rely on cairocffi, lxml, cssselect, pillow and tinycss
  * Fix markers
  * Fix URL/id handling
  * Use bounding boxes for gradients
  * Split deployment and development tests
  * Add a scale option
  * Add a parent size option
  * Test with Travis
- Update to Version 1.0.22
  * Fix crash when lxml is not installed
- Update to Version 1.0.21
  **WARNING:** this is a security update.
  CairoSVG was vulnerable to XML eXternal Entity (XXE) attacks, this release
  fixes this vulnerability by not resolving the XML entities anymore.
  The ``--unsafe`` option has been added to force the resolution of XML
  entities. Obviously, this option is not safe and should only be used with
  trusted SVG files.
- Update to Version 1.0.20
  * Allow the user to give parent size
- Update to Version 1.0.19
  * Drastically improve the performance of ``Node()``
- Update to Version 1.0.18
  * Use cairo groups to apply filters
- Update to Version 1.0.17
  * Fix scale and position of markers
- Update to Version 1.0.16
  * Support the text-rendering property
- Update to Version 1.0.15
  * Use xMidYMid as default preserveAspectRatio value
- Update to Version 1.0.14
  * Support the shape-rendering property
- Update to Version 1.0.13
  * Fix end markers
- Update to Version 1.0.12
  * Don't crash when paths with markers end with a move_to action
- Update to Version 1.0.11
  * Allow commas in viewboxes
- Update to Version 1.0.10
  * Allow quotes around font names
- Update to Version 1.0.9
  * Don't crash when gradients are applied to paths
- Update to Version 1.0.8
  * Don't create an atomic layer for transparent tags with no children
- Update to Version 1.0.7
  * Fix scaling with negative viewBox origin
  * Automatically detect size and position of circles and ellipses for gradients
- Update to Version 1.0.6
  * Fall back to pycairo if cairocffi is unable to find the cairo library
- Update to Version 1.0.5
  * Don't inherit clip* and overflow properties
  * Don't transform the root svg tag according to the PreservAspectRatio attribute
  * Add simple support for alignment-baseline
  * Add cairocffi into setup.py deps
- Update to Version 1.0.4
  * Clear relative coordinates when absolute coordinates are set in tspan tags
- Update to Version 1.0.3
  * Fix clips and viewboxes
  * Don't draw an empty image when locale is not set
- Update to Version 1.0.2
  * Don't crash when locale is not set
  * Get the xml_tree from the root parent when creating nodes from string
- Update to Version 1.0.1
  * Don't crash when svg tag has no width or height
- Update to Version 1.0
  * CairoCFFI support
  * Support of more external CSS stylesheets
  * Handle more filters
  * Use pillow instead of pystacia
  * Fix a lot of bugs with text (whitespaces, text on a path, etc.)
  * Inherit attributes in ``use`` tags
  * Cache trees for ``use`` tags
  * Handle conditional structures
- Initial version (0.5) for openSUSE.

OBS-URL: https://build.opensuse.org/request/show/1109250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=13
This commit is contained in:
Ana Guerrero 2023-09-10 11:09:13 +00:00 committed by Git OBS Bridge
commit 4fecdcb105
6 changed files with 22 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:785ec7af79d9915d555ecd4b154621948779e174b9ccc2bb292f4ace6cf4a057
size 262793742

BIN
CairoSVG-2.7.1.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,4 +1,4 @@
name: CairoSVG
version: 2.7.0
mtime: 1679322684
commit: 33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53
version: 2.7.1
mtime: 1691225852
commit: 0abf992fb701a26c544be9589f06892535834289

View File

@ -1,9 +1,9 @@
<services>
<service mode="disabled" name="obs_scm">
<service mode="manual" name="obs_scm">
<param name="url">https://github.com/Kozea/CairoSVG.git</param>
<param name="scm">git</param>
<param name="submodules">enable</param>
<param name="revision">33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53</param>
<param name="revision">0abf992fb701a26c544be9589f06892535834289</param>
<param name="versionformat">@PARENT_TAG@</param>
</service>
<service mode="buildtime" name="tar" />
@ -11,5 +11,5 @@
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version" />
<service mode="manual" name="set_version" />
</services>

View File

@ -1,7 +1,17 @@
-------------------------------------------------------------------
Wed Sep 6 10:08:53 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 2.7.1:
* Don't draw clipPath when defined after reference
* Handle evenodd fill rule with gradients and patterns
* Fix ratio and clip for "image" tags with no size
* Handle data-URLs in safe mode
* Use f-strings
-------------------------------------------------------------------
Tue May 9 06:33:14 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 2.7.0:
- Update to 2.7.0 (bsc#1209538, CVE-2023-27586):
WARNING: this is a security update.
When processing SVG files, CairoSVG could access other files online,
@ -42,7 +52,7 @@ Thu Aug 12 12:01:51 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.c
-------------------------------------------------------------------
Sun Jan 10 16:09:41 UTC 2021 - andy great <andythe_great@pm.me>
- Update to version 2.5.1.
- Update to version 2.5.1 (bsc#1180648, CVE-2021-21236):
* Security fix: When processing SVG files, CairoSVG was using two
regular expressions which are vulnerable to Regular Expression
Denial of Service (REDoS). If an attacker provided a malicious

View File

@ -19,7 +19,7 @@
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-CairoSVG
Version: 2.7.0
Version: 2.7.1
Release: 0
Summary: A Python SVG converter based on Cairo
License: LGPL-3.0-or-later