pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/py-xhtml2pdf



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Oct 26 08:15:02 UTC 2026

Modified Files:
        pkgsrc/print/py-xhtml2pdf: Makefile PLIST distinfo

Log Message:
py-xhtml2pdf: updated to 0.2.28

0.2.28

New

Output for print shops: @page { bleed: 3mm; marks: crop cross } grows
the page around its trim size, with a TrimBox and a BleedBox,
backgrounds that reach into the bleed and crop and registration marks
outside it.
device-cmyk() and cmyk() colours in CSS, written to the PDF in
DeviceCMYK.
PDF/X-4: pdfx={"profile": ..., "condition": ...}, or
--pdfx-profile on the command line, adds the output intent, XMP
metadata and page boxes PDF/X asks for, tags RGB as sRGB and draws neutral
greys on the black plate.
A document with bleed, marks or PDF/X logs the images drawn under 300 ppi
and the text set in fonts that are not embedded.
@font-face takes OpenType fonts with PostScript (CFF) outlines, and
WOFF and WOFF2 web fonts, converted to TrueType with fontTools: the new
fonts extra, pip install 'xhtml2pdf[fonts]'. The first source of
a src list that loads is used; the rest are fallbacks.

Bug-Fixes

Text in the MSung-Light face (traditional Chinese) is written with the
CMap of its own character collection, UniCNS-UCS2-H. Viewers that
check the pair, such as Poppler, showed none of it.
A colour function in the background shorthand is read as the
background colour, also when an argument has a decimal point:
background: rgb(10.5, 0, 0) was taken for an image.
A Type 1 face named in @font-face by its .pfb file is embedded,
with the .afm beside it, as one named by its .afm already was.
An SVG list-style-image is drawn as vectors. It was rasterised with
renderPM, and failed the document when its backend was not installed.

Documentation

A guide to printing: :doc:guide/printing.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/print/py-xhtml2pdf/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/print/py-xhtml2pdf/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/print/py-xhtml2pdf/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-xhtml2pdf/Makefile
diff -u pkgsrc/print/py-xhtml2pdf/Makefile:1.11 pkgsrc/print/py-xhtml2pdf/Makefile:1.12
--- pkgsrc/print/py-xhtml2pdf/Makefile:1.11     Fri Oct 16 19:44:10 2026
+++ pkgsrc/print/py-xhtml2pdf/Makefile  Mon Oct 26 08:15:02 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2026/10/16 19:44:10 adam Exp $
+# $NetBSD: Makefile,v 1.12 2026/10/26 08:15:02 adam Exp $
 
-DISTNAME=      xhtml2pdf-0.2.18
+DISTNAME=      xhtml2pdf-0.2.28
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    print python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xhtml2pdf/}
@@ -13,14 +13,13 @@ LICENSE=    apache-2.0
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-Pillow>=8.1.1:../../graphics/py-Pillow
 DEPENDS+=      ${PYPKGPREFIX}-arabic-reshaper>=3.0.0:../../converters/py-arabic-reshaper
-DEPENDS+=      ${PYPKGPREFIX}-asn1crypto>=0:../../security/py-asn1crypto
-DEPENDS+=      ${PYPKGPREFIX}-bidi>=0.5.0:../../converters/py-bidi
-DEPENDS+=      ${PYPKGPREFIX}-hanko>=0.12.1:../../security/py-hanko
-DEPENDS+=      ${PYPKGPREFIX}-hanko-certvalidator>=0.19.5:../../security/py-hanko-certvalidator
 DEPENDS+=      ${PYPKGPREFIX}-html5lib>=1.1:../../textproc/py-html5lib
 DEPENDS+=      ${PYPKGPREFIX}-pdf>=3.1.0:../../textproc/py-pdf
-DEPENDS+=      ${PYPKGPREFIX}-reportlab>=4.0.4:../../print/py-reportlab
+DEPENDS+=      ${PYPKGPREFIX}-reportlab>=4.4.9:../../print/py-reportlab
 DEPENDS+=      ${PYPKGPREFIX}-svglib>=1.2.1:../../graphics/py-svglib
+# signing
+DEPENDS+=      ${PYPKGPREFIX}-hanko>=0.37.0:../../security/py-hanko
+DEPENDS+=      ${PYPKGPREFIX}-hanko-certvalidator>=0.32.1:../../security/py-hanko-certvalidator
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/print/py-xhtml2pdf/PLIST
diff -u pkgsrc/print/py-xhtml2pdf/PLIST:1.4 pkgsrc/print/py-xhtml2pdf/PLIST:1.5
--- pkgsrc/print/py-xhtml2pdf/PLIST:1.4 Thu Sep  3 06:44:48 2026
+++ pkgsrc/print/py-xhtml2pdf/PLIST     Mon Oct 26 08:15:02 2026
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.4 2026/09/03 06:44:48 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2026/10/26 08:15:02 adam Exp $
 bin/pisa-${PYVERSSUFFIX}
 bin/xhtml2pdf-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
-${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS.rst
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/xhtml2pdf/__init__.py
@@ -14,9 +13,39 @@ ${PYSITELIB}/xhtml2pdf/__init__.pyo
 ${PYSITELIB}/xhtml2pdf/__main__.py
 ${PYSITELIB}/xhtml2pdf/__main__.pyc
 ${PYSITELIB}/xhtml2pdf/__main__.pyo
+${PYSITELIB}/xhtml2pdf/_bidi_data.py
+${PYSITELIB}/xhtml2pdf/_bidi_data.pyc
+${PYSITELIB}/xhtml2pdf/_bidi_data.pyo
+${PYSITELIB}/xhtml2pdf/bidi.py
+${PYSITELIB}/xhtml2pdf/bidi.pyc
+${PYSITELIB}/xhtml2pdf/bidi.pyo
 ${PYSITELIB}/xhtml2pdf/builders/__init__.py
 ${PYSITELIB}/xhtml2pdf/builders/__init__.pyc
 ${PYSITELIB}/xhtml2pdf/builders/__init__.pyo
+${PYSITELIB}/xhtml2pdf/builders/block.py
+${PYSITELIB}/xhtml2pdf/builders/block.pyc
+${PYSITELIB}/xhtml2pdf/builders/block.pyo
+${PYSITELIB}/xhtml2pdf/builders/flex.py
+${PYSITELIB}/xhtml2pdf/builders/flex.pyc
+${PYSITELIB}/xhtml2pdf/builders/flex.pyo
+${PYSITELIB}/xhtml2pdf/builders/flex_layout.py
+${PYSITELIB}/xhtml2pdf/builders/flex_layout.pyc
+${PYSITELIB}/xhtml2pdf/builders/flex_layout.pyo
+${PYSITELIB}/xhtml2pdf/builders/inserts.py
+${PYSITELIB}/xhtml2pdf/builders/inserts.pyc
+${PYSITELIB}/xhtml2pdf/builders/inserts.pyo
+${PYSITELIB}/xhtml2pdf/builders/pdfx.py
+${PYSITELIB}/xhtml2pdf/builders/pdfx.pyc
+${PYSITELIB}/xhtml2pdf/builders/pdfx.pyo
+${PYSITELIB}/xhtml2pdf/builders/position.py
+${PYSITELIB}/xhtml2pdf/builders/position.pyc
+${PYSITELIB}/xhtml2pdf/builders/position.pyo
+${PYSITELIB}/xhtml2pdf/builders/preflight.py
+${PYSITELIB}/xhtml2pdf/builders/preflight.pyc
+${PYSITELIB}/xhtml2pdf/builders/preflight.pyo
+${PYSITELIB}/xhtml2pdf/builders/printmarks.py
+${PYSITELIB}/xhtml2pdf/builders/printmarks.pyc
+${PYSITELIB}/xhtml2pdf/builders/printmarks.pyo
 ${PYSITELIB}/xhtml2pdf/builders/signs.py
 ${PYSITELIB}/xhtml2pdf/builders/signs.pyc
 ${PYSITELIB}/xhtml2pdf/builders/signs.pyo
@@ -32,6 +61,9 @@ ${PYSITELIB}/xhtml2pdf/config/__init__.p
 ${PYSITELIB}/xhtml2pdf/config/httpconfig.py
 ${PYSITELIB}/xhtml2pdf/config/httpconfig.pyc
 ${PYSITELIB}/xhtml2pdf/config/httpconfig.pyo
+${PYSITELIB}/xhtml2pdf/config/resources.py
+${PYSITELIB}/xhtml2pdf/config/resources.pyc
+${PYSITELIB}/xhtml2pdf/config/resources.pyo
 ${PYSITELIB}/xhtml2pdf/context.py
 ${PYSITELIB}/xhtml2pdf/context.pyc
 ${PYSITELIB}/xhtml2pdf/context.pyo
@@ -44,6 +76,9 @@ ${PYSITELIB}/xhtml2pdf/document.pyo
 ${PYSITELIB}/xhtml2pdf/files.py
 ${PYSITELIB}/xhtml2pdf/files.pyc
 ${PYSITELIB}/xhtml2pdf/files.pyo
+${PYSITELIB}/xhtml2pdf/opentype.py
+${PYSITELIB}/xhtml2pdf/opentype.pyc
+${PYSITELIB}/xhtml2pdf/opentype.pyo
 ${PYSITELIB}/xhtml2pdf/paragraph.py
 ${PYSITELIB}/xhtml2pdf/paragraph.pyc
 ${PYSITELIB}/xhtml2pdf/paragraph.pyo
@@ -86,6 +121,12 @@ ${PYSITELIB}/xhtml2pdf/w3c/cssParser.pyo
 ${PYSITELIB}/xhtml2pdf/w3c/cssSpecial.py
 ${PYSITELIB}/xhtml2pdf/w3c/cssSpecial.pyc
 ${PYSITELIB}/xhtml2pdf/w3c/cssSpecial.pyo
+${PYSITELIB}/xhtml2pdf/w3c/css_variables.py
+${PYSITELIB}/xhtml2pdf/w3c/css_variables.pyc
+${PYSITELIB}/xhtml2pdf/w3c/css_variables.pyo
+${PYSITELIB}/xhtml2pdf/w3c/generated_content.py
+${PYSITELIB}/xhtml2pdf/w3c/generated_content.pyc
+${PYSITELIB}/xhtml2pdf/w3c/generated_content.pyo
 ${PYSITELIB}/xhtml2pdf/wsgi.py
 ${PYSITELIB}/xhtml2pdf/wsgi.pyc
 ${PYSITELIB}/xhtml2pdf/wsgi.pyo

Index: pkgsrc/print/py-xhtml2pdf/distinfo
diff -u pkgsrc/print/py-xhtml2pdf/distinfo:1.6 pkgsrc/print/py-xhtml2pdf/distinfo:1.7
--- pkgsrc/print/py-xhtml2pdf/distinfo:1.6      Thu Sep  3 06:44:48 2026
+++ pkgsrc/print/py-xhtml2pdf/distinfo  Mon Oct 26 08:15:02 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2026/09/03 06:44:48 adam Exp $
+$NetBSD: distinfo,v 1.7 2026/10/26 08:15:02 adam Exp $
 
-BLAKE2s (xhtml2pdf-0.2.18.tar.gz) = c7461950555e3e62cb0987311c85ee4a5af056d904ae7114075d6d9cbfb0893e
-SHA512 (xhtml2pdf-0.2.18.tar.gz) = c9b6894b10dcc23680fbe3164b0d2806064182641ef61d97e4852c6c58580d1ab80898b97282829b16341a78c72f5402a584d715151b740fccb7b9eef7d48624
-Size (xhtml2pdf-0.2.18.tar.gz) = 212844 bytes
+BLAKE2s (xhtml2pdf-0.2.28.tar.gz) = 4d4a6b7f20bbbafd4d06ea4118b688be02d82fb60913514f5bfe0ab3b084dbe3
+SHA512 (xhtml2pdf-0.2.28.tar.gz) = 9b252f618210569785e2d77809b0135f0bc95b8969eecc92406c7326f141cba9c1c38220a71abbc37032f2be0e0fe579be3de3a25aebe6f22c75744828051f5f
+Size (xhtml2pdf-0.2.28.tar.gz) = 516835 bytes



Home | Main Index | Thread Index | Old Index