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:   wiz
Date:           Sun Nov  5 09:26:47 UTC 2023

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

Log Message:
py-pdf: update to 3.17.0.

## Version 3.17.0, 2023-10-29

### Security (SEC)
-  Infinite recursion when using PdfWriter(clone_from=reader) (#2264)

### New Features (ENH)
-  Add parameter to select images to be removed (#2214)

### Bug Fixes (BUG)
-  Correctly handle image mode 1 with FlateDecode (#2249)
-  Error when filling a value with parentheses #2268 (#2269)
-  Handle empty root outline (#2239)

## Version 3.16.4, 2023-10-10

### Bug Fixes (BUG)
-  Avoid exceeding recursion depth when retrieving image mode (#2251)

## Version 3.16.3, 2023-10-08

### Bug Fixes (BUG)
-  Invalid cm/tm in visitor functions (#2206)
-  Encrypt / decrypt Stream object dictionaries (#2228)
-  Support nested color spaces for the /DeviceN color space (#2241)
-  Images property fails if NullObject in list (#2215)

### Developer Experience (DEV)
-  Unify mypy options and warn redundant workarounds (#2223)

## Version 3.16.2, 2023-09-24

### Bug Fixes (BUG)
-  PDF size increases because of too high float writing precision (#2213)
-  Fix test_watermarking_reportlab_rendering() (#2203)

## Version 3.16.1, 2023-09-17

⚠️ The 'rename PdfWriter.create_viewer_preference to
PdfWriter.create_viewer_preferences (#2190)' could be a breaking change for you,
if you use it. As it was only introduced last week I'm confident enough that
nobody will be affected though. Hence only the patch update.

### Bug Fixes (BUG)
-  Missing new line in extract_text with cm operations (#2142)
-  _get_fonts not processing properly CIDFonts and annotations (#2194)

### Maintenance (MAINT)
-  Rename PdfWriter.create_viewer_preference to PdfWriter.create_viewer_preferences (#2190)

## Version 3.16.0, 2023-09-10

### Security (SEC)
-  Infinite recursion caused by IndirectObject clone (#2156)

### New Features (ENH)
-  Ease access to ViewerPreferences (#2144)

### Bug Fixes (BUG)
-  Catch the case where w[0] is an IndirectObject instead of an int (#2154)
-  Cope with indirect objects in filters and remove deprecated code (#2177)
-  Accept tabs in cmaps (#2174) / cope with extra space (#2151)
-  Merge pages without resources (#2150)
-  getcontents() shall return None if contents is NullObject (#2161)
-  Fix conversion from 1 to LA (#2175)

### Robustness (ROB)
-  Accept XYZ with no arguments (#2178)


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/py-pdf/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-pdf/PLIST
cvs rdiff -u -r1.10 -r1.11 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.13 pkgsrc/textproc/py-pdf/Makefile:1.14
--- pkgsrc/textproc/py-pdf/Makefile:1.13        Sat Oct 28 19:57:19 2023
+++ pkgsrc/textproc/py-pdf/Makefile     Sun Nov  5 09:26:47 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2023/10/28 19:57:19 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2023/11/05 09:26:47 wiz Exp $
 
-DISTNAME=      pypdf-3.15.5
+DISTNAME=      pypdf-3.17.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pypdf/}
 

Index: pkgsrc/textproc/py-pdf/PLIST
diff -u pkgsrc/textproc/py-pdf/PLIST:1.4 pkgsrc/textproc/py-pdf/PLIST:1.5
--- pkgsrc/textproc/py-pdf/PLIST:1.4    Sat Oct 28 19:57:19 2023
+++ pkgsrc/textproc/py-pdf/PLIST        Sun Nov  5 09:26:47 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2023/10/28 19:57:19 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2023/11/05 09:26:47 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -72,6 +72,9 @@ ${PYSITELIB}/pypdf/_version.pyo
 ${PYSITELIB}/pypdf/_writer.py
 ${PYSITELIB}/pypdf/_writer.pyc
 ${PYSITELIB}/pypdf/_writer.pyo
+${PYSITELIB}/pypdf/_xobj_image_helpers.py
+${PYSITELIB}/pypdf/_xobj_image_helpers.pyc
+${PYSITELIB}/pypdf/_xobj_image_helpers.pyo
 ${PYSITELIB}/pypdf/annotations/__init__.py
 ${PYSITELIB}/pypdf/annotations/__init__.pyc
 ${PYSITELIB}/pypdf/annotations/__init__.pyo
@@ -114,6 +117,9 @@ ${PYSITELIB}/pypdf/generic/_rectangle.py
 ${PYSITELIB}/pypdf/generic/_utils.py
 ${PYSITELIB}/pypdf/generic/_utils.pyc
 ${PYSITELIB}/pypdf/generic/_utils.pyo
+${PYSITELIB}/pypdf/generic/_viewerpref.py
+${PYSITELIB}/pypdf/generic/_viewerpref.pyc
+${PYSITELIB}/pypdf/generic/_viewerpref.pyo
 ${PYSITELIB}/pypdf/pagerange.py
 ${PYSITELIB}/pypdf/pagerange.pyc
 ${PYSITELIB}/pypdf/pagerange.pyo

Index: pkgsrc/textproc/py-pdf/distinfo
diff -u pkgsrc/textproc/py-pdf/distinfo:1.10 pkgsrc/textproc/py-pdf/distinfo:1.11
--- pkgsrc/textproc/py-pdf/distinfo:1.10        Thu Sep  7 12:09:13 2023
+++ pkgsrc/textproc/py-pdf/distinfo     Sun Nov  5 09:26:47 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2023/09/07 12:09:13 adam Exp $
+$NetBSD: distinfo,v 1.11 2023/11/05 09:26:47 wiz Exp $
 
-BLAKE2s (pypdf-3.15.5.tar.gz) = b51c696efc0a60d4579f8411f21abce86c7a713607c2b6d917a107488282e35b
-SHA512 (pypdf-3.15.5.tar.gz) = 1374a267de21faac2b1ced69de20ebb8380fc6cbb5275ce04d0ddff0cfc36e7cb3b33617ae7fa76d6684386f61dac8084710fd56a8684d5190969207432614b4
-Size (pypdf-3.15.5.tar.gz) = 271114 bytes
+BLAKE2s (pypdf-3.17.0.tar.gz) = 65e6562b46b8849f8b00a813691d6468a5e2f81a5f2aa8b4a8b400ff635a64b6
+SHA512 (pypdf-3.17.0.tar.gz) = a141b1fe4adfe6f4250fd56c00b50bd0e7d6af7ab37c42dff70ef29c89f3f55171532fd00faea117f55f1936c0de45479ee058f38e421879d6f59a4cce450253
+Size (pypdf-3.17.0.tar.gz) = 275270 bytes



Home | Main Index | Thread Index | Old Index