git: ded827aadabb - main - security/py-pyhanko: Update to 0.21.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 27 Nov 2023 18:09:16 UTC
The branch main has been updated by sunpoet:

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

commit ded827aadabb6f75f2b35a47e460ac21ce6aaa3a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 18:03:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 18:07:56 +0000

    security/py-pyhanko: Update to 0.21.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                   | 13 ++++++-------
 security/py-pyhanko/distinfo                   |  6 +++---
 security/py-pyhanko/files/patch-pyproject.toml | 14 ++++++--------
 3 files changed, 15 insertions(+), 18 deletions(-)

diff --git a/security/py-pyhanko/Makefile b/security/py-pyhanko/Makefile
index 0a86884312af..737bcec44d7e 100644
--- a/security/py-pyhanko/Makefile
+++ b/security/py-pyhanko/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pyhanko
-PORTVERSION=	0.20.1
-PORTREVISION=	2
+PORTVERSION=	0.21.0
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,11 +16,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.5.1:devel/py-asn1crypto@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}click>=7.1.2:devel/py-click@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.26<0.27:security/py-pyhanko-certvalidator@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}yaml>=5.3.1:devel/py-yaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}qrcode>=6.1:textproc/py-qrcode@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>=2.24.0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click>=8.1.3:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.26.2<0.27:security/py-pyhanko-certvalidator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=6.0:devel/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}qrcode>=7.3.1:textproc/py-qrcode@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tzlocal>=4.2:devel/py-tzlocal@${PY_FLAVOR}
 
 USES=		python
diff --git a/security/py-pyhanko/distinfo b/security/py-pyhanko/distinfo
index 0814fe45f5d6..be4ea86e48a5 100644
--- a/security/py-pyhanko/distinfo
+++ b/security/py-pyhanko/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1695143369
-SHA256 (pyHanko-0.20.1.tar.gz) = 93de44061c0907c9121cf35f20294930f31f22cf71334907ddde8e8fefbafcbc
-SIZE (pyHanko-0.20.1.tar.gz) = 353441
+TIMESTAMP = 1701083404
+SHA256 (pyHanko-0.21.0.tar.gz) = e5609fb8a0b8d60168999cffaa382f0361066cb429204ad2b76e84e6e7f5eb93
+SIZE (pyHanko-0.21.0.tar.gz) = 376386
diff --git a/security/py-pyhanko/files/patch-pyproject.toml b/security/py-pyhanko/files/patch-pyproject.toml
index b9c38aaf4807..a4ba7610b2ca 100644
--- a/security/py-pyhanko/files/patch-pyproject.toml
+++ b/security/py-pyhanko/files/patch-pyproject.toml
@@ -1,4 +1,4 @@
---- pyproject.toml.orig	2023-09-17 17:59:16 UTC
+--- pyproject.toml.orig	2023-11-25 23:58:39 UTC
 +++ pyproject.toml
 @@ -1,12 +1,12 @@
  [build-system]
@@ -16,14 +16,12 @@
  description = "Tools for stamping and signing PDF files"
  authors = [{name = "Matthias Valvekens", email = "dev@mvalvekens.be"}]
  maintainers = [{name = "Matthias Valvekens", email = "dev@mvalvekens.be"}]
-@@ -36,8 +36,8 @@ requires-python = ">=3.7"
+@@ -36,7 +36,7 @@ requires-python = ">=3.8"
  dependencies = [
      "asn1crypto>=1.5.1",
-     "qrcode>=6.1",
+     "qrcode>=7.3.1",
 -    "tzlocal>=4.3",
--    "pyhanko-certvalidator==0.24.*",
 +    "tzlocal>=4.2",
-+    "pyhanko-certvalidator>=0.26,<0.27",
-     "click>=7.1.2",
-     "requests>=2.24.0",
-     "pyyaml>=5.3.1",
+     "pyhanko-certvalidator>=0.26.2,<0.27",
+     "click>=8.1.3",
+     "requests>=2.31.0",