head 1.4; access; symbols pkgsrc-2026Q3:1.4.0.2 pkgsrc-2026Q3-base:1.4 pkgsrc-2026Q2:1.2.0.4 pkgsrc-2026Q2-base:1.2 pkgsrc-2026Q1:1.2.0.2 pkgsrc-2026Q1-base:1.2; locks; strict; comment @# @; 1.4 date 2026.09.03.10.03.21; author adam; state Exp; branches; next 1.3; commitid 6Yc82ZZmzvwIZ9UG; 1.3 date 2026.06.28.15.41.36; author wiz; state Exp; branches; next 1.2; commitid hjtQh9zHnnKc1ALG; 1.2 date 2026.02.17.09.30.09; author adam; state Exp; branches; next 1.1; commitid yfYvJVyNyf85bIuG; 1.1 date 2026.01.28.10.30.58; author wiz; state Exp; branches; next ; commitid BXCwkMYf3SuS99sG; desc @@ 1.4 log @py-hanko: updated to 0.37.0 0.37.0 Breaking changes requests was relegated to the optional dependency group [requests] due to the change in default fetching backends (see below). Deprecate fallback to OS trust list through oscrypto. Remove long-standing deprecated APIs Signer.sign, Signer.sign_prescribed_attributes, Signer.sign_general_data validate_cms_signature, validate_detached_cms PdfSigner.digest_doc_for_signing open_pkcs11_session(token_label=...) find_cms_attribute The HTTPTimeStamper reshuffle (see below) should not be a breaking change for most users, but code that relies on subclassing these objects will likely need some attention. Dependency changes aiohttp was moved to the default dependency list. requests was relegated to the optional dependencies (see below). The [async-http] optional dependency group was kept around to avoid breaking dependency resolution downstream, but is now empty. New features and enhancements Validation Let FileSystemTLCache accept a str path. Miscellaneous Make aiohttp the default backend for fetching validation data and timestamp tokens HTTPTimeStamper absorbs AIOHttpTimeStamper, which becomes a deprecated subclass. Requests-based version renamed to RequestsHTTPTimeStamper. Make aiohttp resource management more hands-off. Bugs fixed Resolve /Parent and mark ancestors when inserting a page. Specify encoding="utf-8" on all text file reads. @ text @# $NetBSD: Makefile,v 1.3 2026/06/28 15:41:36 wiz Exp $ # # Changelog: https://docs.pyhanko.eu/en/latest/changelog.html#pyhanko DISTNAME= pyhanko-0.37.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} CATEGORIES= security python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyhanko/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/MatthiasValvekens/pyHanko COMMENT= Tools for stamping and signing PDF files LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=80.8.0:../../devel/py-setuptools DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3.9:../../www/py-aiohttp DEPENDS+= ${PYPKGPREFIX}-asn1crypto>=1.5.1:../../security/py-asn1crypto DEPENDS+= ${PYPKGPREFIX}-cryptography>=48.0.0:../../security/py-cryptography DEPENDS+= ${PYPKGPREFIX}-hanko-certvalidator>=0.32.0:../../security/py-hanko-certvalidator DEPENDS+= ${PYPKGPREFIX}-lxml>=5.4.0:../../textproc/py-lxml DEPENDS+= ${PYPKGPREFIX}-tzlocal>=4.3:../../time/py-tzlocal TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun>=1.1.0:../../devel/py-freezegun TEST_DEPENDS+= ${PYPKGPREFIX}-test-aiohttp>=1.1.0:../../www/py-test-aiohttp TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4.0:../../devel/py-test-cov USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 310 311 .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.3 log @*: limit Python versions due to py-numpy dropping Python 3.11 support @ text @d1 3 a3 1 # $NetBSD: Makefile,v 1.2 2026/02/17 09:30:09 adam Exp $ d5 1 a5 1 DISTNAME= pyhanko-0.33.0 d16 1 d18 3 d22 3 a24 5 DEPENDS+= ${PYPKGPREFIX}-hanko-certvalidator>=0.29.0:../../security/py-hanko-certvalidator DEPENDS+= ${PYPKGPREFIX}-requests>=2.31.0:../../devel/py-requests DEPENDS+= ${PYPKGPREFIX}-yaml>=6.0:../../textproc/py-yaml DEPENDS+= ${PYPKGPREFIX}-cryptography>=43.0.3:../../security/py-cryptography DEPENDS+= ${PYPKGPREFIX}-lxml>=5.4.0:../../textproc/py-lxml @ 1.2 log @py-hanko: updated to 0.33.0 0.33.0 New features and enhancements Signing Explicitly define a no-op stamping style Miscellaneous Integrate some actual signing hardware into CI processes. Bugs fixed Use embedded intermediate certificates when validating existing timestamps. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2026/01/28 10:30:58 wiz Exp $ d24 2 @ 1.1 log @security/py-hanko: import py-hanko-0.32.0 pyhanko is a library for working with signatures in PDF documents. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= pyhanko-0.32.0 d13 1 a13 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools @