pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-pdf



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov 10 13:21:45 UTC 2026

Modified Files:
        pkgsrc/textproc/py-pdf: Makefile distinfo

Log Message:
py-pdf: updated to 7.0.1

7.0.1, 2026-11-10

Security (SEC)
- Determine image buffer sizes using the actual bytes per pixel

Performance Improvements (PI)
- Don't parse content streams without text operators in extract_text()

Bug Fixes (BUG)
- Decode UTF-8 text strings
- Fix page reference lookup for hierarchical page trees in PdfWriter
- Copy the operations in ContentStream.replicate()
- Deal with more rendering intents for inline images


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 pkgsrc/textproc/py-pdf/Makefile
cvs rdiff -u -r1.76 -r1.77 pkgsrc/textproc/py-pdf/distinfo

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

Modified files:

Index: pkgsrc/textproc/py-pdf/Makefile
diff -u pkgsrc/textproc/py-pdf/Makefile:1.85 pkgsrc/textproc/py-pdf/Makefile:1.86
--- pkgsrc/textproc/py-pdf/Makefile:1.85        Sun Nov  8 18:33:03 2026
+++ pkgsrc/textproc/py-pdf/Makefile     Tue Nov 10 13:21:45 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.85 2026/11/08 18:33:03 wiz Exp $
+# $NetBSD: Makefile,v 1.86 2026/11/10 13:21:45 adam Exp $
 
-DISTNAME=      pypdf-7.0.0
+DISTNAME=      pypdf-7.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pypdf/}
@@ -11,6 +11,8 @@ COMMENT=      Pure-python PDF library
 LICENSE=       modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.11:../../devel/py-flit_core
+# crypto
+DEPENDS+=      ${PYPKGPREFIX}-cryptography>=43:../../security/py-cryptography
 # fonts
 DEPENDS+=      ${PYPKGPREFIX}-fonttools>=0:../../fonts/py-fonttools
 # image
@@ -21,12 +23,10 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-test-timeo
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=0:../../devel/py-test-xdist
 TEST_DEPENDS+= ${PYPKGPREFIX}-yaml>=0:../../textproc/py-yaml
 
-PYTHON_VERSIONS_INCOMPATIBLE=  311
-# crypto
-PYTHON_VERSIONED_DEPENDENCIES+=        cryptography
-
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  311
+
 .if make(test)
 ALLOW_NETWORK_ACCESS=  yes
 .endif
@@ -36,6 +36,5 @@ do-test:
        ${RUN} cd ${WRKSRC}/${PYSETUPSUBDIR} && \
        ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} -m "not samples"
 
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-pdf/distinfo
diff -u pkgsrc/textproc/py-pdf/distinfo:1.76 pkgsrc/textproc/py-pdf/distinfo:1.77
--- pkgsrc/textproc/py-pdf/distinfo:1.76        Sun Nov  8 18:33:03 2026
+++ pkgsrc/textproc/py-pdf/distinfo     Tue Nov 10 13:21:45 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.76 2026/11/08 18:33:03 wiz Exp $
+$NetBSD: distinfo,v 1.77 2026/11/10 13:21:45 adam Exp $
 
-BLAKE2s (pypdf-7.0.0.tar.gz) = c2d1fbd0a068acbad040964de2b573b72cf68a41cdeb370f8e8c8c5e3becc52d
-SHA512 (pypdf-7.0.0.tar.gz) = 08292a13b012a0bc04d1e51da1c5d2dff57e33fc414ced59ca95d35a7374e9a2e493f2536775e86c8b8187311deb273b69710aa9a02ffbe34514ca4fd436d5d4
-Size (pypdf-7.0.0.tar.gz) = 7201622 bytes
+BLAKE2s (pypdf-7.0.1.tar.gz) = dacf1221d03d64ffeb8e00a3d47fe3c269a922c7a67a7e8c1a665fbfa039a69d
+SHA512 (pypdf-7.0.1.tar.gz) = 87c5e52747e108dd5b4944dc0743c45b14ce1d35b33741c6f1be889c2e6c2ac50c0db0d656f2dc289a0e7a724000c0cac4ac8c0fa5b1484f74e1155a65059d37
+Size (pypdf-7.0.1.tar.gz) = 7206748 bytes



Home | Main Index | Thread Index | Old Index