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 Sep 22 16:19:49 UTC 2024
Modified Files:
pkgsrc/textproc/py-pdf: Makefile distinfo
Log Message:
py-pdf: update to 5.0.0.
## Version 5.0.0, 2024-09-15
This version drops support for Python 3.7 (not maintained since July 2023), PdfMerger (use PdfWriter instead) and AnnotationBuilder (use annotations instead).
### Deprecations (DEP)
- Remove the deprecated PfdMerger and AnnotationBuilder classes and other deprecations cleanup (#2813)
- Drop Python 3.7 support (#2793)
### New Features (ENH)
- Add capability to remove /Info from PDF (#2820)
- Add incremental capability to PdfWriter (#2811)
- Add UniGB-UTF16 encodings (#2819)
- Accept utf strings for metadata (#2802)
- Report PdfReadError instead of RecursionError (#2800)
- Compress PDF files merging identical objects (#2795)
### Bug Fixes (BUG)
- Fix sheared image (#2801)
### Robustness (ROB)
- Robustify .set_data() (#2821)
- Raise PdfReadError when missing /Root in trailer (#2808)
- Fix extract_text() issues on damaged PDFs (#2760)
- Handle images with empty data when processing an image from bytes (#2786)
### Developer Experience (DEV)
- Fix coverage uploads (#2832)
- Test against Python 3.13 (#2776)
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/textproc/py-pdf/Makefile
cvs rdiff -u -r1.22 -r1.23 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.26 pkgsrc/textproc/py-pdf/Makefile:1.27
--- pkgsrc/textproc/py-pdf/Makefile:1.26 Mon Jul 22 05:51:55 2024
+++ pkgsrc/textproc/py-pdf/Makefile Sun Sep 22 16:19:49 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2024/07/22 05:51:55 adam Exp $
+# $NetBSD: Makefile,v 1.27 2024/09/22 16:19:49 wiz Exp $
-DISTNAME= pypdf-4.3.1
+DISTNAME= pypdf-5.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pypdf/}
@@ -14,11 +14,12 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>
# full
DEPENDS+= ${PYPKGPREFIX}-Pillow>=8.0.0:../../graphics/py-Pillow
DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
+# tests not included
+# https://github.com/py-pdf/pypdf/issues/2864
+#TEST_DEPENDS+= ${PYPKGPREFIX}-test_socket-[0-9]*:../../devel/py-test_socket
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 311
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.0:../../devel/py-typing-extensions
Index: pkgsrc/textproc/py-pdf/distinfo
diff -u pkgsrc/textproc/py-pdf/distinfo:1.22 pkgsrc/textproc/py-pdf/distinfo:1.23
--- pkgsrc/textproc/py-pdf/distinfo:1.22 Mon Jul 22 05:51:55 2024
+++ pkgsrc/textproc/py-pdf/distinfo Sun Sep 22 16:19:49 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.22 2024/07/22 05:51:55 adam Exp $
+$NetBSD: distinfo,v 1.23 2024/09/22 16:19:49 wiz Exp $
-BLAKE2s (pypdf-4.3.1.tar.gz) = 6e9aa0d7d220fed0b4fbcf2b953a8adea0078a406be6cefae55f20de1893fc46
-SHA512 (pypdf-4.3.1.tar.gz) = f5ae6e9d7672915a41a6f9043d05000bbce0c95c1cb75b35734a3e6cbe6ea734091b5b2b6ff78a58f97645f1bb3b3a8d50c2b810342aad51bdaa741983e4f902
-Size (pypdf-4.3.1.tar.gz) = 293266 bytes
+BLAKE2s (pypdf-5.0.0.tar.gz) = 43ca2a7bcc68d9ffbabdae76a45f741bfbf1c8eb7118db44bed21ee70a02a841
+SHA512 (pypdf-5.0.0.tar.gz) = acfec9ca10fa3a5a1fb2ca0aad70bf22404df6dc466c01374fa03e164a9869b2f451c6966c4d9e99bf2c15b0448e933e3146dbdaf331443b40b87c1cd701acf9
+Size (pypdf-5.0.0.tar.gz) = 291148 bytes
Home |
Main Index |
Thread Index |
Old Index