pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/py-pikepdf



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Dec 26 10:19:44 UTC 2025

Modified Files:
        pkgsrc/print/py-pikepdf: Makefile PLIST distinfo

Log Message:
py-pikepdf: updated to 10.1.0

v10.1.0

- Added {class}`pikepdf.NamePath` for ergonomic access to deeply nested PDF
  structures. NamePath provides a single-operation traversal with helpful error
  messages showing exactly where traversal failed.
  See {ref}`Accessing nested objects with NamePath <namepath>` for details.
- Added explicit scalar types: {class}`pikepdf.Integer`, {class}`pikepdf.Boolean`,
  and {class}`pikepdf.Real`. When explicit conversion mode is enabled, these types
  are returned instead of Python native types (`int`, `bool`, `Decimal`), enabling
  better type safety and static type checking.
- Added {func}`pikepdf.set_object_conversion_mode` and
  {func}`pikepdf.get_object_conversion_mode` to control conversion behavior globally.
- Added {func}`pikepdf.explicit_conversion` context manager for temporarily enabling
  explicit conversion mode.
- Added safe accessor methods to {class}`pikepdf.Object`: {meth}`~pikepdf.Object.as_int`,
  {meth}`~pikepdf.Object.as_bool`, {meth}`~pikepdf.Object.as_float`, and
  {meth}`~pikepdf.Object.as_decimal` with optional default parameters for type-safe
  access to scalar values.
- `pikepdf.Integer` and `pikepdf.Real` now support full arithmetic operations with
  both `int` and `float` operands, including true division (`/`).


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/print/py-pikepdf/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/print/py-pikepdf/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/print/py-pikepdf/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/py-pikepdf/Makefile
diff -u pkgsrc/print/py-pikepdf/Makefile:1.24 pkgsrc/print/py-pikepdf/Makefile:1.25
--- pkgsrc/print/py-pikepdf/Makefile:1.24       Mon Dec 22 10:08:24 2025
+++ pkgsrc/print/py-pikepdf/Makefile    Fri Dec 26 10:19:44 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2025/12/22 10:08:24 adam Exp $
+# $NetBSD: Makefile,v 1.25 2025/12/26 10:19:44 adam Exp $
 
-DISTNAME=      pikepdf-10.0.3
+DISTNAME=      pikepdf-10.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    print python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pikepdf/}

Index: pkgsrc/print/py-pikepdf/PLIST
diff -u pkgsrc/print/py-pikepdf/PLIST:1.5 pkgsrc/print/py-pikepdf/PLIST:1.6
--- pkgsrc/print/py-pikepdf/PLIST:1.5   Fri Aug 22 07:19:12 2025
+++ pkgsrc/print/py-pikepdf/PLIST       Fri Dec 26 10:19:44 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2025/08/22 07:19:12 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2025/12/26 10:19:44 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -66,9 +66,24 @@ ${PYSITELIB}/pikepdf/models/encryption.p
 ${PYSITELIB}/pikepdf/models/image.py
 ${PYSITELIB}/pikepdf/models/image.pyc
 ${PYSITELIB}/pikepdf/models/image.pyo
-${PYSITELIB}/pikepdf/models/metadata.py
-${PYSITELIB}/pikepdf/models/metadata.pyc
-${PYSITELIB}/pikepdf/models/metadata.pyo
+${PYSITELIB}/pikepdf/models/metadata/__init__.py
+${PYSITELIB}/pikepdf/models/metadata/__init__.pyc
+${PYSITELIB}/pikepdf/models/metadata/__init__.pyo
+${PYSITELIB}/pikepdf/models/metadata/_constants.py
+${PYSITELIB}/pikepdf/models/metadata/_constants.pyc
+${PYSITELIB}/pikepdf/models/metadata/_constants.pyo
+${PYSITELIB}/pikepdf/models/metadata/_converters.py
+${PYSITELIB}/pikepdf/models/metadata/_converters.pyc
+${PYSITELIB}/pikepdf/models/metadata/_converters.pyo
+${PYSITELIB}/pikepdf/models/metadata/_core.py
+${PYSITELIB}/pikepdf/models/metadata/_core.pyc
+${PYSITELIB}/pikepdf/models/metadata/_core.pyo
+${PYSITELIB}/pikepdf/models/metadata/_docinfo.py
+${PYSITELIB}/pikepdf/models/metadata/_docinfo.pyc
+${PYSITELIB}/pikepdf/models/metadata/_docinfo.pyo
+${PYSITELIB}/pikepdf/models/metadata/_xmp.py
+${PYSITELIB}/pikepdf/models/metadata/_xmp.pyc
+${PYSITELIB}/pikepdf/models/metadata/_xmp.pyo
 ${PYSITELIB}/pikepdf/models/outlines.py
 ${PYSITELIB}/pikepdf/models/outlines.pyc
 ${PYSITELIB}/pikepdf/models/outlines.pyo

Index: pkgsrc/print/py-pikepdf/distinfo
diff -u pkgsrc/print/py-pikepdf/distinfo:1.19 pkgsrc/print/py-pikepdf/distinfo:1.20
--- pkgsrc/print/py-pikepdf/distinfo:1.19       Mon Dec 22 10:08:24 2025
+++ pkgsrc/print/py-pikepdf/distinfo    Fri Dec 26 10:19:44 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2025/12/22 10:08:24 adam Exp $
+$NetBSD: distinfo,v 1.20 2025/12/26 10:19:44 adam Exp $
 
-BLAKE2s (pikepdf-10.0.3.tar.gz) = f8aa8208feaa6ea8ccb3613aaa0521e75b4db34a0d5aa67d57683e9f54e873b8
-SHA512 (pikepdf-10.0.3.tar.gz) = 9d7bb739b27555524c4c70018c5d8425d079cfd70234b66a8e005980f19bcc27ac6f363e2aeb54badc042906a486ffc4eadbe4bd22a930c1eb969b7d46a0442f
-Size (pikepdf-10.0.3.tar.gz) = 4549203 bytes
+BLAKE2s (pikepdf-10.1.0.tar.gz) = f94493c3fe75d8abd5eb1f934d2347b7b8e83f4630b1e9fcbc24fcbbacfb33c8
+SHA512 (pikepdf-10.1.0.tar.gz) = 3d9b697633e05dcc1c949a4b195b6b218955a48b33e7e2e29db764ffc293ffb6f2a54080e4e59198e1dda585e01bec514ed00d262ee3bdb37c747c162d2cb5e5
+Size (pikepdf-10.1.0.tar.gz) = 4566184 bytes



Home | Main Index | Thread Index | Old Index