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:           Mon Nov  4 17:58:39 UTC 2024

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

Log Message:
py-pdf: update to 5.1.0.

## Version 5.1.0, 2024-10-27

### New Features (ENH)
- Add `layout_mode_font_height_weight` argument to `PageObject.extract_text()` (#2920)

### Bug Fixes (BUG)
- Fix font specificier for FreeText annotation (#2893)
- Line breaks are not generated due to incorrect calculation of text leading (#2890)
- Improve handling of spaces in text extraction (#2882)

### Robustness (ROB)
- Soft failure for flate encode image mode 1 with wrong LUT size (#2900)

### Documentation (DOC)
- Use latest package versions (#2907)
- Correct example of reading FileAttachment annotation (#2906)

### Developer Experience (DEV)
- Update pinned requirements (#2918)
- Make make_release.py compatible with Windows environment (#2894)

### Maintenance (MAINT)
- Remove references to outdated Python versions (#2919)
- Generalize the method of obtaining space_code (#2891)
- Unnecessary character mapping process (#2888)
- New LZW decoding implementation (#2887)

### Testing (TST)
- Add LzwCodec for encoding (#2883)

### Code Style (STY)
- Capitalize error messages (#2903)
- Modify error messages in PdfWriter (#2902)


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/textproc/py-pdf/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/py-pdf/PLIST
cvs rdiff -u -r1.24 -r1.25 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.28 pkgsrc/textproc/py-pdf/Makefile:1.29
--- pkgsrc/textproc/py-pdf/Makefile:1.28        Fri Oct 11 12:43:58 2024
+++ pkgsrc/textproc/py-pdf/Makefile     Mon Nov  4 17:58:39 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2024/10/11 12:43:58 adam Exp $
+# $NetBSD: Makefile,v 1.29 2024/11/04 17:58:39 wiz Exp $
 
-DISTNAME=      pypdf-5.0.1
+DISTNAME=      pypdf-5.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pypdf/}
@@ -15,9 +15,16 @@ TOOL_DEPENDS+=       ${PYPKGPREFIX}-flit_core>
 DEPENDS+=      ${PYPKGPREFIX}-Pillow>=8.0.0:../../graphics/py-Pillow
 DEPENDS+=      ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
 TEST_DEPENDS+= ${PYPKGPREFIX}-test_socket-[0-9]*:../../devel/py-test_socket
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
+TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
 
 USE_LANGUAGES= # none
 
+# for testing
+ALLOW_NETWORK_ACCESS=  yes
+# as of 5.1.0
+# 70 failed, 818 passed, 9 skipped, 3 xfailed
+
 .include "../../lang/python/pyversion.mk"
 .if ${PYTHON_VERSION} < 311
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.0:../../devel/py-typing-extensions

Index: pkgsrc/textproc/py-pdf/PLIST
diff -u pkgsrc/textproc/py-pdf/PLIST:1.8 pkgsrc/textproc/py-pdf/PLIST:1.9
--- pkgsrc/textproc/py-pdf/PLIST:1.8    Wed Jul 17 03:50:23 2024
+++ pkgsrc/textproc/py-pdf/PLIST        Mon Nov  4 17:58:39 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2024/07/17 03:50:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2024/11/04 17:58:39 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -12,6 +12,9 @@ ${PYSITELIB}/pypdf/_cmap.pyo
 ${PYSITELIB}/pypdf/_codecs/__init__.py
 ${PYSITELIB}/pypdf/_codecs/__init__.pyc
 ${PYSITELIB}/pypdf/_codecs/__init__.pyo
+${PYSITELIB}/pypdf/_codecs/_codecs.py
+${PYSITELIB}/pypdf/_codecs/_codecs.pyc
+${PYSITELIB}/pypdf/_codecs/_codecs.pyo
 ${PYSITELIB}/pypdf/_codecs/adobe_glyphs.py
 ${PYSITELIB}/pypdf/_codecs/adobe_glyphs.pyc
 ${PYSITELIB}/pypdf/_codecs/adobe_glyphs.pyo

Index: pkgsrc/textproc/py-pdf/distinfo
diff -u pkgsrc/textproc/py-pdf/distinfo:1.24 pkgsrc/textproc/py-pdf/distinfo:1.25
--- pkgsrc/textproc/py-pdf/distinfo:1.24        Fri Oct 11 12:43:58 2024
+++ pkgsrc/textproc/py-pdf/distinfo     Mon Nov  4 17:58:39 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.24 2024/10/11 12:43:58 adam Exp $
+$NetBSD: distinfo,v 1.25 2024/11/04 17:58:39 wiz Exp $
 
-BLAKE2s (pypdf-5.0.1.tar.gz) = 465e8cb9889e37d8a5c42c66c9d0a0328d70633931092cd8ae96c5d14d9e4020
-SHA512 (pypdf-5.0.1.tar.gz) = 73f893900c352a84b6cdeb60a61b6a41992981e0ed09c41581eab0e8b63143f82747bd45b1fd632413f47cdebf0fe9929b507c7d2a335829f9127b5e89bd7907
-Size (pypdf-5.0.1.tar.gz) = 4999113 bytes
+BLAKE2s (pypdf-5.1.0.tar.gz) = 0d2c60c11a9339bfee4aef498b9aea472dc8b054837ffc3ca73cb25efcf3c334
+SHA512 (pypdf-5.1.0.tar.gz) = 5f531c48525e9c8fe31b994b8fc2c662cfb58ee5261790bf8bbec12be65fc69982d6a59a9ee5014f1e48ec9663661fcb3117119709d48692ed9205615ec6b126
+Size (pypdf-5.1.0.tar.gz) = 5011381 bytes



Home | Main Index | Thread Index | Old Index