pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/py-cairosvg py-cairosvg: updated to 2.5.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3bbdd880614d
branches:  trunk
changeset: 448583:3bbdd880614d
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Mar 10 18:08:27 2021 +0000

description:
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

diffstat:

 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(-)

diffs (65 lines):

diff -r 8b052d659b64 -r 3bbdd880614d converters/py-cairosvg/ALTERNATIVES
--- a/converters/py-cairosvg/ALTERNATIVES       Wed Mar 10 17:08:32 2021 +0000
+++ b/converters/py-cairosvg/ALTERNATIVES       Wed Mar 10 18:08:27 2021 +0000
@@ -1,1 +1,1 @@
-bin/cairosvg @PREFIX@/bin/cairosvg@PYVERSSUFFIX@
+bin/cairosvg @PREFIX@/bin/cairosvg-@PYVERSSUFFIX@
diff -r 8b052d659b64 -r 3bbdd880614d converters/py-cairosvg/Makefile
--- a/converters/py-cairosvg/Makefile   Wed Mar 10 17:08:32 2021 +0000
+++ b/converters/py-cairosvg/Makefile   Wed Mar 10 18:08:27 2021 +0000
@@ -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-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 -r 8b052d659b64 -r 3bbdd880614d converters/py-cairosvg/PLIST
--- a/converters/py-cairosvg/PLIST      Wed Mar 10 17:08:32 2021 +0000
+++ b/converters/py-cairosvg/PLIST      Wed Mar 10 18:08:27 2021 +0000
@@ -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 -r 8b052d659b64 -r 3bbdd880614d converters/py-cairosvg/distinfo
--- a/converters/py-cairosvg/distinfo   Wed Mar 10 17:08:32 2021 +0000
+++ b/converters/py-cairosvg/distinfo   Wed Mar 10 18:08:27 2021 +0000
@@ -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


Home | Main Index | Thread Index | Old Index