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:           Sat Aug  5 07:29:15 UTC 2023

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

Log Message:
py-pdf: updated to 3.14.0

Version 3.14.0, 2023-07-29

New Features (ENH)
-  Accelerate image list keys generation
-  Use `cryptography` for encryption/decryption as a fallback for PyCryptodome
-  Extract LaTeX characters
-  ASCIIHexDecode.decode now returns bytes instead of str

Bug Fixes (BUG)
-  Add RunLengthDecode filter
-  Process /Separation ColorSpace
-  Handle single element ColorSpace list
-  Process lookup decoded as TextStringObjects

Robustness (ROB)
-  Cope with garbage collector during cloning

Maintenance (MAINT)
-  Cleanup of annotations

Version 3.13.0, 2023-07-23

New Features (ENH)
-  Add is_open in outlines in PdfReader and PdfWriter

Bug Fixes (BUG)
-  Search /DA in hierarchy fields
-  Cope with different ISO date length
-  Decode Black only/CMYK deviceN images
-  Process CMYK in deflate images

Developer Experience (DEV)
-  Add mypy to pre-commit
-  Release automation


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/py-pdf/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-pdf/PLIST
cvs rdiff -u -r1.6 -r1.7 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.7 pkgsrc/textproc/py-pdf/Makefile:1.8
--- pkgsrc/textproc/py-pdf/Makefile:1.7 Wed Jul 19 12:53:20 2023
+++ pkgsrc/textproc/py-pdf/Makefile     Sat Aug  5 07:29:15 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2023/07/19 12:53:20 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2023/08/05 07:29:15 adam Exp $
 
-DISTNAME=      pypdf-3.12.2
+DISTNAME=      pypdf-3.14.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-CATEGORIES=    textproc
+CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pypdf/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,19 +10,19 @@ HOMEPAGE=   https://github.com/py-pdf/pypd
 COMMENT=       Pure-python PDF library
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.2:../../devel/py-flit_core
+# full
+DEPENDS+=      ${PYPKGPREFIX}-Pillow>=8.0.0:../../graphics/py-Pillow
 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}
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 310
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.10.0.0:../../devel/py-typing-extensions
+.endif
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-pdf/PLIST
diff -u pkgsrc/textproc/py-pdf/PLIST:1.2 pkgsrc/textproc/py-pdf/PLIST:1.3
--- pkgsrc/textproc/py-pdf/PLIST:1.2    Wed Jul  5 22:02:21 2023
+++ pkgsrc/textproc/py-pdf/PLIST        Sat Aug  5 07:29:15 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2023/07/05 22:02:21 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/08/05 07:29:15 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -22,6 +22,16 @@ ${PYSITELIB}/pypdf/_codecs/symbol.py
 ${PYSITELIB}/pypdf/_codecs/symbol.pyc
 ${PYSITELIB}/pypdf/_codecs/zapfding.py
 ${PYSITELIB}/pypdf/_codecs/zapfding.pyc
+${PYSITELIB}/pypdf/_crypt_providers/__init__.py
+${PYSITELIB}/pypdf/_crypt_providers/__init__.pyc
+${PYSITELIB}/pypdf/_crypt_providers/_base.py
+${PYSITELIB}/pypdf/_crypt_providers/_base.pyc
+${PYSITELIB}/pypdf/_crypt_providers/_cryptography.py
+${PYSITELIB}/pypdf/_crypt_providers/_cryptography.pyc
+${PYSITELIB}/pypdf/_crypt_providers/_fallback.py
+${PYSITELIB}/pypdf/_crypt_providers/_fallback.pyc
+${PYSITELIB}/pypdf/_crypt_providers/_pycryptodome.py
+${PYSITELIB}/pypdf/_crypt_providers/_pycryptodome.pyc
 ${PYSITELIB}/pypdf/_encryption.py
 ${PYSITELIB}/pypdf/_encryption.pyc
 ${PYSITELIB}/pypdf/_merger.py
@@ -42,6 +52,14 @@ ${PYSITELIB}/pypdf/_version.py
 ${PYSITELIB}/pypdf/_version.pyc
 ${PYSITELIB}/pypdf/_writer.py
 ${PYSITELIB}/pypdf/_writer.pyc
+${PYSITELIB}/pypdf/annotations/__init__.py
+${PYSITELIB}/pypdf/annotations/__init__.pyc
+${PYSITELIB}/pypdf/annotations/_base.py
+${PYSITELIB}/pypdf/annotations/_base.pyc
+${PYSITELIB}/pypdf/annotations/_markup_annotations.py
+${PYSITELIB}/pypdf/annotations/_markup_annotations.pyc
+${PYSITELIB}/pypdf/annotations/_non_markup_annotations.py
+${PYSITELIB}/pypdf/annotations/_non_markup_annotations.pyc
 ${PYSITELIB}/pypdf/constants.py
 ${PYSITELIB}/pypdf/constants.pyc
 ${PYSITELIB}/pypdf/errors.py
@@ -50,8 +68,6 @@ ${PYSITELIB}/pypdf/filters.py
 ${PYSITELIB}/pypdf/filters.pyc
 ${PYSITELIB}/pypdf/generic/__init__.py
 ${PYSITELIB}/pypdf/generic/__init__.pyc
-${PYSITELIB}/pypdf/generic/_annotations.py
-${PYSITELIB}/pypdf/generic/_annotations.pyc
 ${PYSITELIB}/pypdf/generic/_base.py
 ${PYSITELIB}/pypdf/generic/_base.pyc
 ${PYSITELIB}/pypdf/generic/_data_structures.py

Index: pkgsrc/textproc/py-pdf/distinfo
diff -u pkgsrc/textproc/py-pdf/distinfo:1.6 pkgsrc/textproc/py-pdf/distinfo:1.7
--- pkgsrc/textproc/py-pdf/distinfo:1.6 Wed Jul 19 12:53:20 2023
+++ pkgsrc/textproc/py-pdf/distinfo     Sat Aug  5 07:29:15 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2023/07/19 12:53:20 wiz Exp $
+$NetBSD: distinfo,v 1.7 2023/08/05 07:29:15 adam Exp $
 
-BLAKE2s (pypdf-3.12.2.tar.gz) = e8c269d2dc69f7159f2c7982e001d2bf60a61b1963ab6d8113fdff8efac03265
-SHA512 (pypdf-3.12.2.tar.gz) = f04a6909f3e8146f90fa98d6bff0f480e907807030846b44d2bed5c8708db7c2d8d1b3ef5bb8814544dbe8332a5ecc3199c87c9c0275931f8287ae3488a02a0e
-Size (pypdf-3.12.2.tar.gz) = 258907 bytes
+BLAKE2s (pypdf-3.14.0.tar.gz) = 78d2df78375696166a302d55e07b85f14afbaa22c5248691cdd34fe3f68a4beb
+SHA512 (pypdf-3.14.0.tar.gz) = 22657c2960607575a9e5034d83a1994f9d9718f18b8b09726f201201206a88d7e6339c54a0c4ee57befaa74780c7720eee562a9d31e869974d8f1957a48dd266
+Size (pypdf-3.14.0.tar.gz) = 267578 bytes



Home | Main Index | Thread Index | Old Index