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 Jul 17 03:50:23 UTC 2024

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

Log Message:
py-pdf: updated to 4.3.0

Version 4.3.0, 2024-06-23

New Features (ENH)
- Accept ETen-B5 and UniCNS-UTF16 encodings
- Add decode_as_image() to ContentStreams
- context manager for PdfReader
- Add capability to set font and size in fields
- Allow to pass input file without named argument

Bug Fixes (BUG)
- Fix deprecation for Ressources when using old constants
- Fix images issue 4 bits encoding and LUT starting with UTF16_BOM
- Reading large compressed images takes huge time to process
- Highlighted Text Cannot Be Printed
- Fix UnboundLocalError on malformed pdf

Robustness (ROB)
- Cope with missing Standard 14 fonts in fields
- Improve inline image extraction
- Cope with loops in Fields tree
- Discard /I in choice fields for compatibility with Acrobat
- Cope with some issues in pillow
- Cope with some image extraction issues

Documentation (DOC)
- Various improvements on docstrings and examples

Maintenance (MAINT)
- Deprecate interiour_color with replacement interior_color
- Add deprecate_with_replacement to PdfWriter.find_bookmark

Code Style (STY)
- Change Link to be a non-markup annotation


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/textproc/py-pdf/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/py-pdf/PLIST
cvs rdiff -u -r1.20 -r1.21 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.24 pkgsrc/textproc/py-pdf/Makefile:1.25
--- pkgsrc/textproc/py-pdf/Makefile:1.24        Sun Apr 14 08:58:05 2024
+++ pkgsrc/textproc/py-pdf/Makefile     Wed Jul 17 03:50:23 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2024/04/14 08:58:05 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2024/07/17 03:50:23 adam Exp $
 
-DISTNAME=      pypdf-4.2.0
+DISTNAME=      pypdf-4.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pypdf/}
 
@@ -14,7 +13,7 @@ LICENSE=      modified-bsd
 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.9:../../devel/py-flit_core
 # full
 DEPENDS+=      ${PYPKGPREFIX}-Pillow>=8.0.0:../../graphics/py-Pillow
-DEPENDS+=      ${PYPKGPREFIX}-cryptodome-[0-9]*:../../security/py-cryptodome
+DEPENDS+=      ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/textproc/py-pdf/PLIST
diff -u pkgsrc/textproc/py-pdf/PLIST:1.7 pkgsrc/textproc/py-pdf/PLIST:1.8
--- pkgsrc/textproc/py-pdf/PLIST:1.7    Wed Apr 10 11:19:09 2024
+++ pkgsrc/textproc/py-pdf/PLIST        Wed Jul 17 03:50:23 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2024/04/10 11:19:09 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2024/07/17 03:50:23 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -129,6 +129,9 @@ ${PYSITELIB}/pypdf/generic/_data_structu
 ${PYSITELIB}/pypdf/generic/_fit.py
 ${PYSITELIB}/pypdf/generic/_fit.pyc
 ${PYSITELIB}/pypdf/generic/_fit.pyo
+${PYSITELIB}/pypdf/generic/_image_inline.py
+${PYSITELIB}/pypdf/generic/_image_inline.pyc
+${PYSITELIB}/pypdf/generic/_image_inline.pyo
 ${PYSITELIB}/pypdf/generic/_outline.py
 ${PYSITELIB}/pypdf/generic/_outline.pyc
 ${PYSITELIB}/pypdf/generic/_outline.pyo

Index: pkgsrc/textproc/py-pdf/distinfo
diff -u pkgsrc/textproc/py-pdf/distinfo:1.20 pkgsrc/textproc/py-pdf/distinfo:1.21
--- pkgsrc/textproc/py-pdf/distinfo:1.20        Wed Apr 10 11:19:09 2024
+++ pkgsrc/textproc/py-pdf/distinfo     Wed Jul 17 03:50:23 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.20 2024/04/10 11:19:09 adam Exp $
+$NetBSD: distinfo,v 1.21 2024/07/17 03:50:23 adam Exp $
 
-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
+BLAKE2s (pypdf-4.3.0.tar.gz) = bad8e24fd9570caedcc80051a1016270d2e66e05b5d8a62402de7b9ab67f9d3a
+SHA512 (pypdf-4.3.0.tar.gz) = 517ce35670af7390b9c399b4464de743d3a4d8e084738d549e7866c333ce073d5b8d6f2f087023a9fb4c0b4037f08ad20ba35328dfeb3771a8d94a7cbd2a5468
+Size (pypdf-4.3.0.tar.gz) = 293094 bytes



Home | Main Index | Thread Index | Old Index