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: kleink
Date: Mon Feb 9 16:54:37 UTC 2026
Modified Files:
pkgsrc/print/py-weasyprint: Makefile distinfo
Log Message:
py-weasyprint: Update to 68.1.
Version 68.1
------------
Released on 2026-02-06.
Bug fixes:
* Don’t crash when SVG clip paths are not in defs tags
* Fix position of box bounding box
* Fix transparency with Acrobat and Edge
* Don’t rely on random default font to define test page size
* Fix pattern detection of URL schemes
* Improve API compatibility between URLFetcherResponse and addinfourl
* Fix charset for old URL fetcher requests
* Fix calc for many properties
Version 68.0
------------
Released on 2026-01-19.
**This is a security update (CVE-2025-68616).**
We strongly recommend to upgrade WeasyPrint to the latest version if you
use the ``default_url_fetcher`` function in your custom URL fetcher,
or if you use the ``allowed_protocols`` parameter of the
``default_url_fetcher`` function.
Security:
* Always use URL fetcher for HTTP redirects
Python API:
* ``default_url_fetcher()`` is deprecated, use the new ``URLFetcher``
class instead, see :ref:`URL Fetchers` for more information about URL
fetchers
* ``DocumentMetadata.generate_rdf_metadata`` is now a method that can
be overridden instead of a parameter, see
:ref:`Factur-X / ZUGFeRD (Electronic Invoices)` for examples to
create e-invoices
Features:
* Refactor URL fetcher API
* Support legacy 0 value for angles
* Add font-face support to SVG
* Add font shorthand support for SVG text elements
* Honor language-specific rules for text-transform
* Improve SVG and SVG emojis rendering
* Add CLI for Factur-X / ZUGFeRD e-invoices
Bug fixes:
* Refactor URL fetcher API
* Handle box-sizing: border-box in grid layout
* Process whitespace after checking all pending targets
* Preserve page groups during layout repagination
* Don’t use isolated transparency groups
* Fix repeating radial gradients rendering
* Fix validation of colors
* Share grid items rendering advancement between a box and its copies
* Correctly handle fallback values of attr()
* Fix SVG fonts
* Always define extra skip height that may be used after
* Fix numbers validation in font-feature-settings
* Fix keyword values for text-decoration-thickness
* Respect inline images when defining minimum table width
Documentation:
* Update Python command for Windows installation steps
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/print/py-weasyprint/Makefile
cvs rdiff -u -r1.33 -r1.34 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.59 pkgsrc/print/py-weasyprint/Makefile:1.60
--- pkgsrc/print/py-weasyprint/Makefile:1.59 Tue Jan 27 08:40:28 2026
+++ pkgsrc/print/py-weasyprint/Makefile Mon Feb 9 16:54:37 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.59 2026/01/27 08:40:28 wiz Exp $
+# $NetBSD: Makefile,v 1.60 2026/02/09 16:54:37 kleink Exp $
-DISTNAME= weasyprint-67.0
+DISTNAME= weasyprint-68.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= print python
MASTER_SITES= ${MASTER_SITE_PYPI:=w/weasyprint/}
@@ -19,7 +18,7 @@ DEPENDS+= ${PYPKGPREFIX}-fonttools>=4.59
DEPENDS+= ${PYPKGPREFIX}-html5lib>=1.1:../../textproc/py-html5lib
DEPENDS+= ${PYPKGPREFIX}-pydyf>=0.11.0:../../print/py-pydyf
DEPENDS+= ${PYPKGPREFIX}-pyphen>=0.9.1:../../textproc/py-pyphen
-DEPENDS+= ${PYPKGPREFIX}-tinycss2>=1.3.0:../../textproc/py-tinycss2
+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
Index: pkgsrc/print/py-weasyprint/distinfo
diff -u pkgsrc/print/py-weasyprint/distinfo:1.33 pkgsrc/print/py-weasyprint/distinfo:1.34
--- pkgsrc/print/py-weasyprint/distinfo:1.33 Fri Dec 12 10:34:01 2025
+++ pkgsrc/print/py-weasyprint/distinfo Mon Feb 9 16:54:37 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.33 2025/12/12 10:34:01 adam Exp $
+$NetBSD: distinfo,v 1.34 2026/02/09 16:54:37 kleink Exp $
-BLAKE2s (weasyprint-67.0.tar.gz) = 12251f5b26cfce0c51f5fc9c08cee641cfc82d96cbd680678380a81b3c795c32
-SHA512 (weasyprint-67.0.tar.gz) = e0241507e57aaee18e0f6ae469de12df4ae4930a5e9f7e9ef428fbd6eb59efe40598423e6ce6de5c12d088439d30ec562cc28f342c7720e742ab16d8110380f1
-Size (weasyprint-67.0.tar.gz) = 1534152 bytes
+BLAKE2s (weasyprint-68.1.tar.gz) = 118bb35ec4dc79c686e6100a115e6bd17c702da54e968d72a292d64f35110c48
+SHA512 (weasyprint-68.1.tar.gz) = b080a40882d0b56dc3696aa4edc403a85c20a7b69a14c0bf179f0897af173945f327bc42f9be354d6734822af54413c56a1fec84b8ecd37e51bb5b752c3c676a
+Size (weasyprint-68.1.tar.gz) = 1542379 bytes
Home |
Main Index |
Thread Index |
Old Index