security/py-pyhanko-certvalidator: Add ASYNC_HTTP option

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-11-28 12:39:38 +08:00
parent fe9922bcc4
commit 499e5f4343
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 15 additions and 0 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= pyhanko-certvalidator
PORTVERSION= 0.26.5
PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -24,4 +25,9 @@ USE_PYTHON= autoplist concurrent cryptography pep517
NO_ARCH= yes
OPTIONS_DEFINE= ASYNC_HTTP
ASYNC_HTTP_DESC=Asynchronous support
ASYNC_HTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.8<3.12:www/py-aiohttp@${PY_FLAVOR}
.include <bsd.port.mk>

View file

@ -8,3 +8,12 @@
"wheel"
]
build-backend = "setuptools.build_meta"
@@ -51,7 +51,7 @@ Homepage = "https://github.com/MatthiasValvekens/certv
Homepage = "https://github.com/MatthiasValvekens/certvalidator"
[project.optional-dependencies]
-async-http = ["aiohttp>=3.8,<3.11"]
+async-http = ["aiohttp>=3.8,<3.12"]
testing = [
"pytest>=6.1.1",
"pytest-cov>=4.0,<6.1",