Up to [cvs.NetBSD.org] / pkgsrc / converters / py-cairosvg
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-cairosvg: updated to 2.7.1 Version 2.7.1 released on 2023-08-05 - 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 Version 2.7.0 released on 2023-03-20 **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.
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
python: egg.mk: add USE_PKG_RESOURCES flag This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-cairosvg: updated to 2.5.2 Version 2.5.2 released on 2021-03-06 ==================================== * Fix marker path scale Version 2.5.1 released on 2021-01-06 ==================================== **WARNING:** this is a security update. 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. Other bug fixes: * 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 Version 2.5.0 released on 2020-10-29 ==================================== * 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
*: switch to versioned_dependencies.mk for py-setuptools
Needs pip
py-cairosvg: Add setup_requires packages to BUILD_DEPENDS.
py-cairosvg: Update to 2.4.2. Version 2.4.2 released on 2019-09-10 ==================================== * Fix race condition in tests * Fix scale for images with no viewBox Version 2.4.1 released on 2019-08-21 ==================================== * Fix the --scale parameter * Allow href attributes with no namespace * Fix the tree root detection Version 2.4.0 released on 2019-05-20 ==================================== * Fix aspect and position when resizing root SVG tag * Follow aspect and position hints when using forced output size Version 2.3.1 released on 2019-04-18 ==================================== * Fix relative paths on Windows Version 2.3.0 released on 2019-02-08 ==================================== * 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 * Clean packaging * Include LICENSE in distributed packages Version 2.2.1 released on 2018-09-27 ==================================== * Fix packaging Version 2.2.0 released on 2018-09-21 ==================================== * Clean packaging * Fix T commands used with previous relative commands in paths * Use real functions for svg2* commands, improving IDE integration * Fix files management on Windows * 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
py-cairosvg: updated to 2.1.3 Version 2.1.3: * Fix T commands following q or t in paths
Drop patches for Python 2.7, now that it is a separate package.
py-cairosvg: updated to 2.1.2 Version 2.1.2: * Fix font-size
py-cairosvg: update to 2.1.1 Version 2.1.1 Use cssselect2 and tinycss2 instead of cssselect and tinycss Don’t require lxml anymore Rely on defusedxml to detect unsafe SVG files Use http://www.w3.org/2000/svg as default namespace
Reset maintainer
Version 2.0.3: * Add ``python_requires`` in ``setup.py`` Version 2.0.2: * Handle ``text-align`` in textPath tags * Test with Python 3.6 Version 2.0.1: * Don't crash on relative refs with no input URL 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 py-cairosvg to 1.0.20. Version 1.0.20, released on 2016-02-23 ====================================== * Allow the user to give parent size Version 1.0.19, released on 2015-10-30 ====================================== * Drastically improve the performance of ``Node()`` Version 1.0.18, released on 2015-10-20 ====================================== * Use cairo groups to apply filters Version 1.0.17, released on 2015-10-09 ====================================== * Fix scale and position of markers Version 1.0.16, released on 2015-08-05 ====================================== * Support the text-rendering property
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.
Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided by the infrastructure. Mark a couple more packages as not ready for python-3.x.
Switch to MASTER_SITES_PYPI.
Version 1.0.15, released on 2015-06-22 ====================================== * Use xMidYMid as default preserveAspectRatio value Version 1.0.14, released on 2015-06-02 ====================================== * Support the shape-rendering property Version 1.0.13, released on 2015-02-26 ====================================== * Fix end markers Version 1.0.12, released on 2015-02-26 ====================================== * Don't crash when paths with markers end with a move_to action Version 1.0.11, released on 2015-02-11 ====================================== * Allow commas in viewboxes Version 1.0.10, released on 2015-02-09 ====================================== * Allow quotes around font names
Version 1.0.9, released on 2014-08-12 ===================================== * Don't crash when gradients are applied to paths
Version 1.0.8, released on 2014-07-14 ===================================== * Don't create an atomic layer for transparent tags with no children
Import py27-cairosvg-1.0.7 as converters/py-cairosvg. CairoSVG is a SVG converter based on Cairo. It can export SVG files to PDF, PostScript and PNG files.