Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2024 04:42:19 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 499e5f434313 - main - security/py-pyhanko-certvalidator: Add ASYNC_HTTP option
Message-ID:  <202411280442.4AS4gJrk034004@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 499e5f4343138fb34cc228762d48900ebf5479ee
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-28 04:39:38 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-28 04:39:38 +0000

    security/py-pyhanko-certvalidator: Add ASYNC_HTTP option
    
    - Bump PORTREVISION for package change
---
 security/py-pyhanko-certvalidator/Makefile                   | 6 ++++++
 security/py-pyhanko-certvalidator/files/patch-pyproject.toml | 9 +++++++++
 2 files changed, 15 insertions(+)

diff --git a/security/py-pyhanko-certvalidator/Makefile b/security/py-pyhanko-certvalidator/Makefile
index f536835d662e..02ec17ee02ba 100644
--- a/security/py-pyhanko-certvalidator/Makefile
+++ b/security/py-pyhanko-certvalidator/Makefile
@@ -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>
diff --git a/security/py-pyhanko-certvalidator/files/patch-pyproject.toml b/security/py-pyhanko-certvalidator/files/patch-pyproject.toml
index 274b65b868a0..1533917164e8 100644
--- a/security/py-pyhanko-certvalidator/files/patch-pyproject.toml
+++ b/security/py-pyhanko-certvalidator/files/patch-pyproject.toml
@@ -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",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411280442.4AS4gJrk034004>