git: 44953f304c62 - main - security/py-pyhanko: Allow build with py-pyhanko-certvalidator 0.25.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 08 Oct 2023 12:03:26 UTC
The branch main has been updated by sunpoet:

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

commit 44953f304c62e25e336affd80579f6e34d3ec19c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-08 11:55:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-08 11:55:25 +0000

    security/py-pyhanko: Allow build with py-pyhanko-certvalidator 0.25.0
    
    - Bump PORTREVISION for package change
    
    Reference:      https://github.com/MatthiasValvekens/pyHanko/commit/121252173a8f7ae6bb252d9c75f62ce1373bf82f
---
 security/py-pyhanko/Makefile                   | 3 ++-
 security/py-pyhanko/files/patch-pyproject.toml | 6 ++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/security/py-pyhanko/Makefile b/security/py-pyhanko/Makefile
index c1b81e8f6cf5..15a0319df264 100644
--- a/security/py-pyhanko/Makefile
+++ b/security/py-pyhanko/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pyhanko
 PORTVERSION=	0.20.1
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +18,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FL
 		${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.24<0.25:security/py-pyhanko-certvalidator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.24<0.26: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} \
diff --git a/security/py-pyhanko/files/patch-pyproject.toml b/security/py-pyhanko/files/patch-pyproject.toml
index ffee0d52ad24..b009556a7ac3 100644
--- a/security/py-pyhanko/files/patch-pyproject.toml
+++ b/security/py-pyhanko/files/patch-pyproject.toml
@@ -16,12 +16,14 @@
  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,7 +36,7 @@ requires-python = ">=3.7"
+@@ -36,8 +36,8 @@ requires-python = ">=3.7"
  dependencies = [
      "asn1crypto>=1.5.1",
      "qrcode>=6.1",
 -    "tzlocal>=4.3",
+-    "pyhanko-certvalidator==0.24.*",
 +    "tzlocal>=4.2",
-     "pyhanko-certvalidator==0.24.*",
++    "pyhanko-certvalidator>=0.24,<0.26",
      "click>=7.1.2",
      "requests>=2.24.0",
+     "pyyaml>=5.3.1",