pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/py-cairosvg



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jun 12 07:25:58 UTC 2024

Modified Files:
        pkgsrc/converters/py-cairosvg: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/converters/py-cairosvg/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/converters/py-cairosvg/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/converters/py-cairosvg/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/converters/py-cairosvg/Makefile
diff -u pkgsrc/converters/py-cairosvg/Makefile:1.22 pkgsrc/converters/py-cairosvg/Makefile:1.23
--- pkgsrc/converters/py-cairosvg/Makefile:1.22 Tue Jun  6 12:40:25 2023
+++ pkgsrc/converters/py-cairosvg/Makefile      Wed Jun 12 07:25:58 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2023/06/06 12:40:25 riastradh Exp $
+# $NetBSD: Makefile,v 1.23 2024/06/12 07:25:58 adam Exp $
 
-DISTNAME=      CairoSVG-2.5.2
+DISTNAME=      CairoSVG-2.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION=   2
 CATEGORIES=    converters graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=C/CairoSVG/}
 
@@ -11,26 +10,24 @@ HOMEPAGE=   http://www.cairosvg.org/
 COMMENT=       Simple SVG Converter for Cairo
 LICENSE=       gnu-lgpl-v3
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
 DEPENDS+=      ${PYPKGPREFIX}-cairocffi-[0-9]*:../../graphics/py-cairocffi
 DEPENDS+=      ${PYPKGPREFIX}-cssselect2-[0-9]*:../../textproc/py-cssselect2
 DEPENDS+=      ${PYPKGPREFIX}-defusedxml-[0-9]*:../../textproc/py-defusedxml
 DEPENDS+=      ${PYPKGPREFIX}-tinycss2-[0-9]*:../../textproc/py-tinycss2
-TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 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
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-USE_PKG_RESOURCES=     yes
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} cairosvg cairosvg-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/converters/py-cairosvg/PLIST
diff -u pkgsrc/converters/py-cairosvg/PLIST:1.4 pkgsrc/converters/py-cairosvg/PLIST:1.5
--- pkgsrc/converters/py-cairosvg/PLIST:1.4     Wed Mar 10 18:08:27 2021
+++ pkgsrc/converters/py-cairosvg/PLIST Wed Jun 12 07:25:58 2024
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.4 2021/03/10 18:08:27 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2024/06/12 07:25:58 adam Exp $
 bin/cairosvg-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/cairosvg/VERSION
 ${PYSITELIB}/cairosvg/__init__.py
 ${PYSITELIB}/cairosvg/__init__.pyc

Index: pkgsrc/converters/py-cairosvg/distinfo
diff -u pkgsrc/converters/py-cairosvg/distinfo:1.17 pkgsrc/converters/py-cairosvg/distinfo:1.18
--- pkgsrc/converters/py-cairosvg/distinfo:1.17 Tue Oct 26 10:06:49 2021
+++ pkgsrc/converters/py-cairosvg/distinfo      Wed Jun 12 07:25:58 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.17 2021/10/26 10:06:49 nia Exp $
+$NetBSD: distinfo,v 1.18 2024/06/12 07:25:58 adam Exp $
 
-BLAKE2s (CairoSVG-2.5.2.tar.gz) = 5fbd607cee5a0ad3d27d52bbfc7b27f05569378a1e3564a5cfaebeea069016dc
-SHA512 (CairoSVG-2.5.2.tar.gz) = 070fbb549614401a7d8290497b0eb7702330ee264c5f625cd1e7aac4aea7d71ee7d2d8899297212e1a3c11c93903b191c0c699336d9000796318b11f4e075576
-Size (CairoSVG-2.5.2.tar.gz) = 8397659 bytes
+BLAKE2s (CairoSVG-2.7.1.tar.gz) = bdac5c5a1de647d332ebf12b92e2655e4f0f9a69339f9726057330bf8ea7e48b
+SHA512 (CairoSVG-2.7.1.tar.gz) = fd2cdf38b6ee7860ded728694de8cb413d9442939e60501f7657e2dc43a16b6c6c863faa88a15ea001b7ee7949b2d441bcf609b1d64a49f3091573e14e8b1d92
+Size (CairoSVG-2.7.1.tar.gz) = 8399085 bytes



Home | Main Index | Thread Index | Old Index