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:           Wed Jul  5 22:02:21 UTC 2023

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

Log Message:
py-pdf: update to 3.12.0.

3.12.0

What's Changed

We finally fully support modern cryptography for encrypting and decrypting PDF files.
A big thank you to @exiledkingcc who did this work a while a go 🙏

New Features (ENH)

    Add AES support for encrypting PDF files (#1918, #1935, #1936, #1938) by @exiledkingcc
    Add page deletion feature to PdfWriter (#1843) by @pubpub-zz

Bug Fixes (BUG)

    PdfReader.get_fields() attempts to delete non-existing index "/Off" (#1933) by @dmjohnsson23
    Remove unused objects when cloning_from (#1926) by @pubpub-zz
    Add the TK.SIZE into the trailer (#1911) by @talcher
    add_named_destination() maintains named destination list sort order (#1930) by @robertkearns

3.11.1

Bug Fixes (BUG)

    Cascaded filters in image objects (#1913) by @pubpub-zz
    Append pdf with named destination using numbers for pages (#1858) by @pubpub-zz
    Ignore "/B" fields only on pages in PdfWriter.append() (#1875) by @pubpub-zz


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-pdf/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-pdf/PLIST
cvs rdiff -u -r1.3 -r1.4 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.4 pkgsrc/textproc/py-pdf/Makefile:1.5
--- pkgsrc/textproc/py-pdf/Makefile:1.4 Wed Jun 28 08:45:30 2023
+++ pkgsrc/textproc/py-pdf/Makefile     Wed Jul  5 22:02:21 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2023/06/28 08:45:30 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2023/07/05 22:02:21 wiz Exp $
 
-DISTNAME=      pypdf-3.11.0
+DISTNAME=      pypdf-3.12.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pypdf/}
@@ -11,14 +11,18 @@ COMMENT=    Pure-python PDF library
 LICENSE=       modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+DEPENDS+=      ${PYPKGPREFIX}-cryptodome-[0-9]*:../../security/py-cryptodome
+DEPENDS+=      ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
+# no tests in pypi distfile
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-test_socket-[0-9]*:../../devel/py-test_socket
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+#do-test:
+#      cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-pdf/PLIST
diff -u pkgsrc/textproc/py-pdf/PLIST:1.1 pkgsrc/textproc/py-pdf/PLIST:1.2
--- pkgsrc/textproc/py-pdf/PLIST:1.1    Sun May 28 18:52:36 2023
+++ pkgsrc/textproc/py-pdf/PLIST        Wed Jul  5 22:02:21 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2023/05/28 18:52:36 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/07/05 22:02:21 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -34,8 +34,6 @@ ${PYSITELIB}/pypdf/_protocols.py
 ${PYSITELIB}/pypdf/_protocols.pyc
 ${PYSITELIB}/pypdf/_reader.py
 ${PYSITELIB}/pypdf/_reader.pyc
-${PYSITELIB}/pypdf/_security.py
-${PYSITELIB}/pypdf/_security.pyc
 ${PYSITELIB}/pypdf/_text_extraction/__init__.py
 ${PYSITELIB}/pypdf/_text_extraction/__init__.pyc
 ${PYSITELIB}/pypdf/_utils.py

Index: pkgsrc/textproc/py-pdf/distinfo
diff -u pkgsrc/textproc/py-pdf/distinfo:1.3 pkgsrc/textproc/py-pdf/distinfo:1.4
--- pkgsrc/textproc/py-pdf/distinfo:1.3 Wed Jun 28 08:45:30 2023
+++ pkgsrc/textproc/py-pdf/distinfo     Wed Jul  5 22:02:21 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2023/06/28 08:45:30 wiz Exp $
+$NetBSD: distinfo,v 1.4 2023/07/05 22:02:21 wiz Exp $
 
-BLAKE2s (pypdf-3.11.0.tar.gz) = a1bcb8c1ec2e9d332fdf7c94f1195475e4d3a92f6e9f79e00e4f26a52ec55572
-SHA512 (pypdf-3.11.0.tar.gz) = ccc6de6c7401eb5342a8dc72af6c99591d11f3c6a7cae040a4092ab5a3628945ebefcae2a05da57a41e036a91e0e03199240f7830cee709beddc0fec0c776424
-Size (pypdf-3.11.0.tar.gz) = 259329 bytes
+BLAKE2s (pypdf-3.12.0.tar.gz) = 52f2834f964e8458dce39f000dbbe03aba63e9a50e3fbc98829ecf480d823256
+SHA512 (pypdf-3.12.0.tar.gz) = fbb989d8aa8da33a538ac828ea68da94a0384e9f283fc08924e828f007a7499877d84db69ea31a10595825a1b82cc6a3b02716a8d6e9fe023bf322d315a93a52
+Size (pypdf-3.12.0.tar.gz) = 258464 bytes



Home | Main Index | Thread Index | Old Index