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:   wiz
Date:           Wed Jan 28 10:33:31 UTC 2026

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

Log Message:
py-xhtml2pdf: update to 0.2.17.

v0.2.17

What's Changed

    Pylint fixes by @cclauss in #773
    pre-commit autoupdate 2024-07-24 by @cclauss in #774
    GitHub Actions: Add Python 3.13 beta 4 to the testing by @cclauss in #775
    Tidy up documentation by @kytta in #729
    Keep GitHub Actions up to date with GitHub's Dependabot by @cclauss in #772
    fix reDOS CVE in getColor function by @Trupal00p in #784
    Reuse background PDF file over multiple pages (#778) by @sjoerdjob in #779
    Update import for breaking changes in python-bidi 0.5.0 by @bengosney in #767
    Add support of base64 fonts by @vladimir-g in #740
    tests: skip cases that download artifacts when http_proxy is set by @adrien-n in #793
    Typos workflow by @mikemanger in #795

v0.2.16 – Reportlab compatibility

🐛 Bug-Fixes

    [ #751 ] Add compatibility for reportlab >= 4.1

v0.2.13 – Fix regressions from code cleanup

🐛 Bug fixes

    [ #731 ] Fix TypeError on column widths specified as percentages
    [ #730 ] Fix TypeError when formatting width in debug logging

v0.2.12 – Bug fixes and code cleanup

🐛 Bug fixes

    [ #106 ] Fix page number & page count
    [ #723 ] Fix ZeroDivisionError on broken image files

📘 Documentation

    [ #707 ] Update README
    [ #711 ] Modernize Sphinx configuration

🧹 Cleanup

    [ #700 ] Change print statement to log.exception
    [ #706 ] Remove Python2 compatibility
    [ #705 ] Depend on html5lib >= 1.1
    [ #699 ] Depend on reportlab >= 4.0.4
    [ #714 ] Use black code style
    [ #715 ] Enforce consistent file formatting
    [ #716 ] Add ruff code linter
    [ #717 ] Start using type hints & validate them via mypy
    [ #718 ] Drop support for Python 3.7 (reached end of life on 2023-06-27)
    [ #719 ] Add support for Python 3.12 (released on 2023-10-02)

v0.2.11 – Bug fixes with reportlab >4.0 and pycairo

This release only aims to fix issues with pycairo and xhtml2pdf dependencies with reportlab.

v0.2.10 – Fix canvas graph

This is a bug fixes release changes here:

    Fix canvas graph
    Remove duplicate pypdf entry from setup.py

v0.2.9 – Community Bug fixes

Released: 2023-01-30

Important notes

    Text RTL has new implementation but I am not sure if works as required, more works need so use it, for text and let me know if it's works.

🎉 New

    OL tag allow start counter
    Div, P, And Body allows dir attribute (rtl and ltr) to provide text direction

💪🏼 Improvements

    Page counter and Page number are now available as simple text inside paragraphs
    New regex for strip up to curly bracket
    Change pyPDF3 to pypdf.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/print/py-xhtml2pdf/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/print/py-xhtml2pdf/PLIST
cvs rdiff -u -r1.4 -r1.5 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.7 pkgsrc/print/py-xhtml2pdf/Makefile:1.8
--- pkgsrc/print/py-xhtml2pdf/Makefile:1.7      Thu Oct  9 07:57:54 2025
+++ pkgsrc/print/py-xhtml2pdf/Makefile  Wed Jan 28 10:33:30 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2025/10/09 07:57:54 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2026/01/28 10:33:30 wiz Exp $
 
-DISTNAME=      xhtml2pdf-0.2.8
+DISTNAME=      xhtml2pdf-0.2.17
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    print python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xhtml2pdf/}
@@ -10,16 +10,19 @@ HOMEPAGE=   https://github.com/xhtml2pdf/x
 COMMENT=       PDF generator using HTML and CSS
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-PDF2-[0-9]*:../../print/py-PDF2
-DEPENDS+=      ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
-DEPENDS+=      ${PYPKGPREFIX}-arabic-reshaper>=2.1.0:../../converters/py-arabic-reshaper
-DEPENDS+=      ${PYPKGPREFIX}-bidi>=0.4.2:../../converters/py-bidi
-DEPENDS+=      ${PYPKGPREFIX}-html5lib>=1.0:../../textproc/py-html5lib
-DEPENDS+=      ${PYPKGPREFIX}-reportlab>=3.3.0:../../print/py-reportlab
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+DEPENDS+=      ${PYPKGPREFIX}-pdf>=3.1.0:../../textproc/py-pdf
+DEPENDS+=      ${PYPKGPREFIX}-Pillow>=8.1.1:../../graphics/py-Pillow
+DEPENDS+=      ${PYPKGPREFIX}-arabic-reshaper>=3.0.0:../../converters/py-arabic-reshaper
+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
 
 USE_LANGUAGES=                 # none
-USE_PKG_RESOURCES=             yes
 PYTHON_VERSIONS_INCOMPATIBLE=  310
 
 post-install:
@@ -28,5 +31,5 @@ post-install:
        ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
 .endfor
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/print/py-xhtml2pdf/PLIST
diff -u pkgsrc/print/py-xhtml2pdf/PLIST:1.2 pkgsrc/print/py-xhtml2pdf/PLIST:1.3
--- pkgsrc/print/py-xhtml2pdf/PLIST:1.2 Mon Nov 14 19:32:41 2022
+++ pkgsrc/print/py-xhtml2pdf/PLIST     Wed Jan 28 10:33:30 2026
@@ -1,12 +1,13 @@
-@comment $NetBSD: PLIST,v 1.2 2022/11/14 19:32:41 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2026/01/28 10:33:30 wiz Exp $
 bin/pisa-${PYVERSSUFFIX}
 bin/xhtml2pdf-${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}/licenses/AUTHORS.rst
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/xhtml2pdf/__init__.py
 ${PYSITELIB}/xhtml2pdf/__init__.pyc
 ${PYSITELIB}/xhtml2pdf/__init__.pyo

Index: pkgsrc/print/py-xhtml2pdf/distinfo
diff -u pkgsrc/print/py-xhtml2pdf/distinfo:1.4 pkgsrc/print/py-xhtml2pdf/distinfo:1.5
--- pkgsrc/print/py-xhtml2pdf/distinfo:1.4      Mon Nov 14 19:32:41 2022
+++ pkgsrc/print/py-xhtml2pdf/distinfo  Wed Jan 28 10:33:30 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2022/11/14 19:32:41 wiz Exp $
+$NetBSD: distinfo,v 1.5 2026/01/28 10:33:30 wiz Exp $
 
-BLAKE2s (xhtml2pdf-0.2.8.tar.gz) = 9e3cfcbe45e59eb019b0ad1254ef807eff059273531a5e6a594eb31d04fc0a97
-SHA512 (xhtml2pdf-0.2.8.tar.gz) = 15c46121caac5e2be289e547a1358d81a93352efdb47b4e106aaab93a8b3ff5851a51638b72c2508c4b9c67ecac4edc1a79ab527c2039d79d4c2a3dd7c6708ba
-Size (xhtml2pdf-0.2.8.tar.gz) = 107374 bytes
+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



Home | Main Index | Thread Index | Old Index