git: 4fbf20975d81 - main - security/py-pyhanko: Update to 0.28.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 29 May 2025 04:53:23 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4fbf20975d81cda98d960358673d556f651b7fd7

commit 4fbf20975d81cda98d960358673d556f651b7fd7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-05-29 04:44:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-05-29 04:52:25 +0000

    security/py-pyhanko: Update to 0.28.0
    
    Changes:        https://github.com/MatthiasValvekens/pyHanko/releases
                    https://github.com/MatthiasValvekens/pyHanko/blob/master/docs/changelog.rst
                    https://pyhanko.readthedocs.io/en/latest/changelog.html
---
 security/py-pyhanko/Makefile                   |  4 ++--
 security/py-pyhanko/distinfo                   |  6 +++---
 security/py-pyhanko/files/patch-pyproject.toml | 10 ++++++++--
 3 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/security/py-pyhanko/Makefile b/security/py-pyhanko/Makefile
index 8541d75a1d02..3a8a2e5d6366 100644
--- a/security/py-pyhanko/Makefile
+++ b/security/py-pyhanko/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pyhanko
-PORTVERSION=	0.27.1
+PORTVERSION=	0.28.0
 CATEGORIES=	security python
 MASTER_SITES=	PYPI \
 		https://github.com/MatthiasValvekens/pyHanko/releases/download/v${PORTVERSION}/
@@ -18,7 +18,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FL
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.5.1:devel/py-asn1crypto@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}click>=8.1.3<8.2.0:devel/py-click@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.8:devel/py-defusedxml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.26.5<0.27:security/py-pyhanko-certvalidator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.27.0<0.28:security/py-pyhanko-certvalidator@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}qrcode>=7.3.1:textproc/py-qrcode@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \
diff --git a/security/py-pyhanko/distinfo b/security/py-pyhanko/distinfo
index 4cd65e8ba54c..9f36b6fe9951 100644
--- a/security/py-pyhanko/distinfo
+++ b/security/py-pyhanko/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1747715466
-SHA256 (pyhanko-0.27.1.tar.gz) = 2378e3189591740a94d5633d772cb11d9a619dab7ed5437fa3004c95ae279de8
-SIZE (pyhanko-0.27.1.tar.gz) = 389689
+TIMESTAMP = 1748107942
+SHA256 (pyhanko-0.28.0.tar.gz) = ec9832f1347ab52b7cb4cc9ea184a2d44e168ffdf16823a667aaed391809b430
+SIZE (pyhanko-0.28.0.tar.gz) = 509521
diff --git a/security/py-pyhanko/files/patch-pyproject.toml b/security/py-pyhanko/files/patch-pyproject.toml
index eadfc8905bdf..dee4b3a1faff 100644
--- a/security/py-pyhanko/files/patch-pyproject.toml
+++ b/security/py-pyhanko/files/patch-pyproject.toml
@@ -1,6 +1,6 @@
---- pyproject.toml.orig	2024-03-07 22:13:09 UTC
+--- pyproject.toml.orig	2025-05-24 12:37:13 UTC
 +++ pyproject.toml
-@@ -1,12 +1,12 @@ requires = [
+@@ -1,17 +1,16 @@ requires = [
  [build-system]
  requires = [
 -    "setuptools>=67.4",
@@ -15,3 +15,9 @@
  description = "Tools for stamping and signing PDF files"
  authors = [{name = "Matthias Valvekens", email = "dev@mvalvekens.be"}]
  maintainers = [{name = "Matthias Valvekens", email = "dev@mvalvekens.be"}]
+-license = "MIT"
+-license-files = ["LICENSE", "src/pyhanko/pdf_utils/LICENSE.PyPDF2"]
++license = {text = "MIT"}
+ keywords = [
+     "signature",
+     "pdf",