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:           Thu Sep  3 06:44:49 UTC 2026

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

Log Message:
py-xhtml2pdf: updated to 0.2.18

0.2.18

Support ReportLab 5 and Python 3.10-3.14, fix 14 bugs, harden the test suite


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/print/py-xhtml2pdf/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/print/py-xhtml2pdf/PLIST
cvs rdiff -u -r1.5 -r1.6 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.9 pkgsrc/print/py-xhtml2pdf/Makefile:1.10
--- pkgsrc/print/py-xhtml2pdf/Makefile:1.9      Sun Jun 28 15:41:36 2026
+++ pkgsrc/print/py-xhtml2pdf/Makefile  Thu Sep  3 06:44:48 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2026/06/28 15:41:36 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2026/09/03 06:44:48 adam Exp $
 
-DISTNAME=      xhtml2pdf-0.2.17
+DISTNAME=      xhtml2pdf-0.2.18
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    print python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xhtml2pdf/}
@@ -10,26 +10,23 @@ HOMEPAGE=   https://github.com/xhtml2pdf/x
 COMMENT=       PDF generator using HTML and CSS
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-DEPENDS+=      ${PYPKGPREFIX}-pdf>=3.1.0:../../textproc/py-pdf
+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}-html5lib>=1.1:../../textproc/py-html5lib
-DEPENDS+=      ${PYPKGPREFIX}-svglib>=1.2.1:../../graphics/py-svglib
-DEPENDS+=      ${PYPKGPREFIX}-reportlab>=4.0.4:../../print/py-reportlab
-DEPENDS+=      ${PYPKGPREFIX}-asn1crypto-[0-9]*:../../security/py-asn1crypto
 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}-svglib>=1.2.1:../../graphics/py-svglib
 
-USE_LANGUAGES=                 # none
-PYTHON_VERSIONS_INCOMPATIBLE=  310 311
+USE_LANGUAGES= # none
 
-post-install:
-.for bin in pisa xhtml2pdf
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
-.endfor
+PY_RENAME_BINARIES=    pisa xhtml2pdf
+
+PYTHON_VERSIONS_INCOMPATIBLE=  310 311
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/print/py-xhtml2pdf/PLIST
diff -u pkgsrc/print/py-xhtml2pdf/PLIST:1.3 pkgsrc/print/py-xhtml2pdf/PLIST:1.4
--- pkgsrc/print/py-xhtml2pdf/PLIST:1.3 Wed Jan 28 10:33:30 2026
+++ pkgsrc/print/py-xhtml2pdf/PLIST     Thu Sep  3 06:44:48 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2026/01/28 10:33:30 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/09/03 06:44:48 adam Exp $
 bin/pisa-${PYVERSSUFFIX}
 bin/xhtml2pdf-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -11,6 +11,9 @@ ${PYSITELIB}/${WHEEL_INFODIR}/top_level.
 ${PYSITELIB}/xhtml2pdf/__init__.py
 ${PYSITELIB}/xhtml2pdf/__init__.pyc
 ${PYSITELIB}/xhtml2pdf/__init__.pyo
+${PYSITELIB}/xhtml2pdf/__main__.py
+${PYSITELIB}/xhtml2pdf/__main__.pyc
+${PYSITELIB}/xhtml2pdf/__main__.pyo
 ${PYSITELIB}/xhtml2pdf/builders/__init__.py
 ${PYSITELIB}/xhtml2pdf/builders/__init__.pyc
 ${PYSITELIB}/xhtml2pdf/builders/__init__.pyo
@@ -53,6 +56,9 @@ ${PYSITELIB}/xhtml2pdf/pdf.pyo
 ${PYSITELIB}/xhtml2pdf/pisa.py
 ${PYSITELIB}/xhtml2pdf/pisa.pyc
 ${PYSITELIB}/xhtml2pdf/pisa.pyo
+${PYSITELIB}/xhtml2pdf/properties.py
+${PYSITELIB}/xhtml2pdf/properties.pyc
+${PYSITELIB}/xhtml2pdf/properties.pyo
 ${PYSITELIB}/xhtml2pdf/reportlab_paragraph.py
 ${PYSITELIB}/xhtml2pdf/reportlab_paragraph.pyc
 ${PYSITELIB}/xhtml2pdf/reportlab_paragraph.pyo

Index: pkgsrc/print/py-xhtml2pdf/distinfo
diff -u pkgsrc/print/py-xhtml2pdf/distinfo:1.5 pkgsrc/print/py-xhtml2pdf/distinfo:1.6
--- pkgsrc/print/py-xhtml2pdf/distinfo:1.5      Wed Jan 28 10:33:30 2026
+++ pkgsrc/print/py-xhtml2pdf/distinfo  Thu Sep  3 06:44:48 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2026/01/28 10:33:30 wiz Exp $
+$NetBSD: distinfo,v 1.6 2026/09/03 06:44:48 adam Exp $
 
-BLAKE2s (xhtml2pdf-0.2.17.tar.gz) = 776e7e11c8e582349d2391b4367d5077a0db7fb46db7f771df78567936ae6795
-SHA512 (xhtml2pdf-0.2.17.tar.gz) = 584070777cdbb3b45bdb3701b5598d22b9154434c61f9d0e941d46743862ffb6750cbda28833deed0e0df8305ab3c3df2ba4793b8a18a5728f815a9a17f7a4ed
-Size (xhtml2pdf-0.2.17.tar.gz) = 139727 bytes
+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



Home | Main Index | Thread Index | Old Index