From 9bd3dd574fc70b5ac5e0c37d00c0d7cf6c3320d6 Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 10 Mar 2021 18:08:27 +0000 Subject: py-cairosvg: updated to 2.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- converters/py-cairosvg/ALTERNATIVES | 2 +- converters/py-cairosvg/Makefile | 14 ++++++-------- converters/py-cairosvg/PLIST | 4 ++-- converters/py-cairosvg/distinfo | 10 +++++----- 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/converters/py-cairosvg/ALTERNATIVES b/converters/py-cairosvg/ALTERNATIVES index 9333655190d..0c559d19e4f 100644 --- a/converters/py-cairosvg/ALTERNATIVES +++ b/converters/py-cairosvg/ALTERNATIVES @@ -1 +1 @@ -bin/cairosvg @PREFIX@/bin/cairosvg@PYVERSSUFFIX@ +bin/cairosvg @PREFIX@/bin/cairosvg-@PYVERSSUFFIX@ diff --git a/converters/py-cairosvg/Makefile b/converters/py-cairosvg/Makefile index 4091b0e1c36..d0a5985ae6a 100644 --- a/converters/py-cairosvg/Makefile +++ b/converters/py-cairosvg/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.18 2020/08/31 23:07:00 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2021/03/10 18:08:27 adam Exp $ -DISTNAME= CairoSVG-2.4.2 +DISTNAME= CairoSVG-2.5.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= converters graphics python MASTER_SITES= ${MASTER_SITE_PYPI:=C/CairoSVG/} @@ -20,16 +20,14 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8 TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner -BUILD_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip - -PYTHON_VERSIONS_INCOMPATIBLE= 27 -PYTHON_VERSIONED_DEPENDENCIES+= setuptools:build USE_LANGUAGES= # none +PYTHON_VERSIONS_INCOMPATIBLE= 27 + post-install: - cd ${DESTDIR}${PREFIX}/bin && ${MV} cairosvg cairosvg${PYVERSSUFFIX} || ${TRUE} + cd ${DESTDIR}${PREFIX}/bin && \ + ${MV} cairosvg cairosvg-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/egg.mk" -.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/converters/py-cairosvg/PLIST b/converters/py-cairosvg/PLIST index 46794b5a452..278fd30e98c 100644 --- a/converters/py-cairosvg/PLIST +++ b/converters/py-cairosvg/PLIST @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.3 2020/05/17 09:33:03 kleink Exp $ -bin/cairosvg${PYVERSSUFFIX} +@comment $NetBSD: PLIST,v 1.4 2021/03/10 18:08:27 adam Exp $ +bin/cairosvg-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt diff --git a/converters/py-cairosvg/distinfo b/converters/py-cairosvg/distinfo index ea72d7a9899..8fa73c36fb9 100644 --- a/converters/py-cairosvg/distinfo +++ b/converters/py-cairosvg/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.14 2020/05/16 17:16:21 kleink Exp $ +$NetBSD: distinfo,v 1.15 2021/03/10 18:08:27 adam Exp $ -SHA1 (CairoSVG-2.4.2.tar.gz) = 4c5bf5d5a0c5d03eed65360e91655aab146726f9 -RMD160 (CairoSVG-2.4.2.tar.gz) = e29a3702c42cd2535464b7650353100e0ac5bad6 -SHA512 (CairoSVG-2.4.2.tar.gz) = 0d6dd22d9569fd3849cf7f6594c86bed719169dac1f0f3219e88d82f9d245bf29d51715159085cb26c0340c8f0dcb88412d141ec0ee3710b1477626f5a578441 -Size (CairoSVG-2.4.2.tar.gz) = 38715 bytes +SHA1 (CairoSVG-2.5.2.tar.gz) = 668456d600604676de932dd055ca6bab62aa8175 +RMD160 (CairoSVG-2.5.2.tar.gz) = f8b4138754f7bef8c1ef70ed1c8ab9a635cda47b +SHA512 (CairoSVG-2.5.2.tar.gz) = 070fbb549614401a7d8290497b0eb7702330ee264c5f625cd1e7aac4aea7d71ee7d2d8899297212e1a3c11c93903b191c0c699336d9000796318b11f4e075576 +Size (CairoSVG-2.5.2.tar.gz) = 8397659 bytes -- cgit v1.2.3