pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/py-weasyprint



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Sep  3 06:51:34 UTC 2026

Modified Files:
        pkgsrc/print/py-weasyprint: Makefile distinfo

Log Message:
py-weasyprint: updated to 69.0

69.0

**This is a security update (CVE-2026-49452).**

We strongly recommend to upgrade WeasyPrint to the latest version if you use the
``--presentational-hints`` option and render untrusted HTML with restricted CSS
properties.

Security:

* Avoid CSS injection with HTML presentational hints.

Command-line API:

* The ``--srgb`` option has been replaced by ``--output-intent=srgb``. Other values are
  possible: ``device-cmyk`` for CMYK documents with no ICC profile, or the CSS
  identifier of a ``@color-profile`` rule.

Python API:

* The ``output_intent`` string entry replaces the ``srgb`` boolean in default options.

Features:

* Support logical properties
* Support viewport units
* Detect redirection loops early in URL fetcher
* Support SVG transform angle units
* Use HTML parsers for presentational hints
* Allow users to set PDF output intent


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/print/py-weasyprint/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/print/py-weasyprint/distinfo

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

Modified files:

Index: pkgsrc/print/py-weasyprint/Makefile
diff -u pkgsrc/print/py-weasyprint/Makefile:1.62 pkgsrc/print/py-weasyprint/Makefile:1.63
--- pkgsrc/print/py-weasyprint/Makefile:1.62    Wed Sep  2 19:04:11 2026
+++ pkgsrc/print/py-weasyprint/Makefile Thu Sep  3 06:51:34 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.62 2026/09/02 19:04:11 wiz Exp $
+# $NetBSD: Makefile,v 1.63 2026/09/03 06:51:34 adam Exp $
 
-DISTNAME=      weasyprint-68.1
+DISTNAME=      weasyprint-69.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    print python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/weasyprint/}
 
@@ -21,18 +20,14 @@ DEPENDS+=   ${PYPKGPREFIX}-pydyf>=0.11.0:.
 DEPENDS+=      ${PYPKGPREFIX}-pyphen>=0.9.1:../../textproc/py-pyphen
 DEPENDS+=      ${PYPKGPREFIX}-tinycss2>=1.5.0:../../textproc/py-tinycss2
 DEPENDS+=      ${PYPKGPREFIX}-tinyhtml5>=2.0.0:../../textproc/py-tinyhtml5
-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-cov>=0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8>=0:../../devel/py-test-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort>=0:../../devel/py-test-isort
 
-USE_LANGUAGES= c
+PY_RENAME_BINARIES=    weasyprint
 
 PYTHON_VERSIONS_INCOMPATIBLE=  310 311
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} weasyprint weasyprint-${PYVERSSUFFIX} || ${TRUE}
-
 BUILDLINK_API_DEPENDS.pango+=   pango>=1.44.0
 .include "../../devel/pango/buildlink3.mk"
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/print/py-weasyprint/distinfo
diff -u pkgsrc/print/py-weasyprint/distinfo:1.34 pkgsrc/print/py-weasyprint/distinfo:1.35
--- pkgsrc/print/py-weasyprint/distinfo:1.34    Mon Feb  9 16:54:37 2026
+++ pkgsrc/print/py-weasyprint/distinfo Thu Sep  3 06:51:34 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.34 2026/02/09 16:54:37 kleink Exp $
+$NetBSD: distinfo,v 1.35 2026/09/03 06:51:34 adam Exp $
 
-BLAKE2s (weasyprint-68.1.tar.gz) = 118bb35ec4dc79c686e6100a115e6bd17c702da54e968d72a292d64f35110c48
-SHA512 (weasyprint-68.1.tar.gz) = b080a40882d0b56dc3696aa4edc403a85c20a7b69a14c0bf179f0897af173945f327bc42f9be354d6734822af54413c56a1fec84b8ecd37e51bb5b752c3c676a
-Size (weasyprint-68.1.tar.gz) = 1542379 bytes
+BLAKE2s (weasyprint-69.0.tar.gz) = 65eec470242d52ce272fdedc82b16b60002588162c1b4c00181e82dd3dc158d8
+SHA512 (weasyprint-69.0.tar.gz) = fb56d7f6173f8a67f8ef4c31408c03625b0a774d0efde003f779e3da054737c88afe9f44ee40b6dda5fc92cfacfa5709d4d96bf1a112862d309eaf2d93881ef6
+Size (weasyprint-69.0.tar.gz) = 1549834 bytes



Home | Main Index | Thread Index | Old Index