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:           Wed Apr 10 11:19:09 UTC 2024

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

Log Message:
py-pdf: updated to 4.2.0

Version 4.2.0, 2024-04-07

New Features (ENH)
- Allow multiple charsets for NameObject.read_from_stream
- Add support for /Kids in page labels
- Allow to update fields on many pages
- Tolerate PDF with invalid xref pointed objects
- Add Enforce from PDF2.0 in viewer_preferences
- Add += and -= operators to ArrayObject

Bug Fixes (BUG)
- Fix merge_page sometimes generating unknown operator 'QQ'
- Fix fields update where annotations are kids of field
- Process CMYK images without a filter correctly
- Extract text in layout mode without finding resources
- Prevent recursive loop in some PDF files

Robustness (ROB)
- Tolerate "truncated" xref
- Replace error by warning for EOD in RunLengthDecode/ASCIIHexDecode
- Rebuild xref table if one entry is invalid
- Robustify stream extraction

Documentation (DOC)
- Update release process for latest changes
- Encryption/decryption: Clone document instead of copying all pages
- Minor improvements
- Update annotation list
- Update references and formatting
- Correct threads reference, plus minor changes
- Minor readability increases
- Simplify PaperSize examples
- Minor improvements

Developer Experience (DEV)
- Remove unused dependencies
- Remove page labels PR link from message
- Fix changelog generator regarding whitespace and handling of "Other" group
- Add REL to known PR prefixes
- Release using the REL commit instead of git tag
- Unify code between PdfReader and PdfWriter
- Bump softprops/action-gh-release from 1 to 2

Maintenance (MAINT)
- Ressources → Resources (and internal name childs)
- Fix typos found by codespell
- Update Read the Docs configuration
- Add root_object, _info and _ID to PdfReader

Testing (TST)
- Allow loading truncated images if required
- Fix download issues from
- Improve test_get_contents_from_nullobject to show real use-case
- Add missing test annotations


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/textproc/py-pdf/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/py-pdf/PLIST
cvs rdiff -u -r1.19 -r1.20 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.22 pkgsrc/textproc/py-pdf/Makefile:1.23
--- pkgsrc/textproc/py-pdf/Makefile:1.22        Mon Mar 11 13:18:00 2024
+++ pkgsrc/textproc/py-pdf/Makefile     Wed Apr 10 11:19:09 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2024/03/11 13:18:00 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2024/04/10 11:19:09 adam Exp $
 
-DISTNAME=      pypdf-4.1.0
+DISTNAME=      pypdf-4.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pypdf/}
@@ -21,7 +21,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
 
 .include "../../lang/python/pyversion.mk"
 .if ${PYTHON_VERSION} < 310
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.10.0.0:../../devel/py-typing-extensions
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.0:../../devel/py-typing-extensions
 .endif
 
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/textproc/py-pdf/PLIST
diff -u pkgsrc/textproc/py-pdf/PLIST:1.6 pkgsrc/textproc/py-pdf/PLIST:1.7
--- pkgsrc/textproc/py-pdf/PLIST:1.6    Sun Jan 21 20:28:37 2024
+++ pkgsrc/textproc/py-pdf/PLIST        Wed Apr 10 11:19:09 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2024/01/21 20:28:37 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2024/04/10 11:19:09 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -42,6 +42,9 @@ ${PYSITELIB}/pypdf/_crypt_providers/_fal
 ${PYSITELIB}/pypdf/_crypt_providers/_pycryptodome.py
 ${PYSITELIB}/pypdf/_crypt_providers/_pycryptodome.pyc
 ${PYSITELIB}/pypdf/_crypt_providers/_pycryptodome.pyo
+${PYSITELIB}/pypdf/_doc_common.py
+${PYSITELIB}/pypdf/_doc_common.pyc
+${PYSITELIB}/pypdf/_doc_common.pyo
 ${PYSITELIB}/pypdf/_encryption.py
 ${PYSITELIB}/pypdf/_encryption.pyc
 ${PYSITELIB}/pypdf/_encryption.pyo

Index: pkgsrc/textproc/py-pdf/distinfo
diff -u pkgsrc/textproc/py-pdf/distinfo:1.19 pkgsrc/textproc/py-pdf/distinfo:1.20
--- pkgsrc/textproc/py-pdf/distinfo:1.19        Mon Mar 11 13:18:00 2024
+++ pkgsrc/textproc/py-pdf/distinfo     Wed Apr 10 11:19:09 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2024/03/11 13:18:00 wiz Exp $
+$NetBSD: distinfo,v 1.20 2024/04/10 11:19:09 adam Exp $
 
-BLAKE2s (pypdf-4.1.0.tar.gz) = 38b4ce1c2aeed68779a1daac6e6f760750c5dc9115882719ce21269738025fa5
-SHA512 (pypdf-4.1.0.tar.gz) = 7faccd6aaca4e5ba030fff6bbc353e40bfba5c28a092f52a33030630038e964def9bd312c27c183a47b1bc431ea1d2a482aad8abcefb886ac02a0c3b839bd8a1
-Size (pypdf-4.1.0.tar.gz) = 282765 bytes
+BLAKE2s (pypdf-4.2.0.tar.gz) = 655ea38d0d0a210a7bfefeb59998ef7c43655b3c6966fb291529c9184f08d26d
+SHA512 (pypdf-4.2.0.tar.gz) = a85fe0d780f09cdf9f49d6bbbbd93e7c72c526c8627fd988c56f0889e85fe6a91ec86090430f2979516390a6fd6af9dd40a4f6a4715b9fdf2aeedda6ea1f9a35
+Size (pypdf-4.2.0.tar.gz) = 288449 bytes



Home | Main Index | Thread Index | Old Index