git: b6ebe2614870 - main - dns/py-dnspython: Update version 2.2.0=>2.2.1

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 12 Mar 2022 10:29:29 UTC
The branch main has been updated by bofh:

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

commit b6ebe2614870a008ed9fb585a36707c3397a6401
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-03-09 05:04:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-03-12 10:29:21 +0000

    dns/py-dnspython: Update version 2.2.0=>2.2.1
    
     - Remove OPTIONS PYCRYPTODOME
     - Add OPTIONS CURIO DNSSEC DOH EXAMPLES IDNA TRIO
    Relnotes: https://www.dnspython.org/news/2.2.1/
---
 dns/py-dnspython/Makefile | 24 ++++++++++++++++++------
 dns/py-dnspython/distinfo |  6 +++---
 2 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile
index 6a355b9e46f3..016b76877ff9 100644
--- a/dns/py-dnspython/Makefile
+++ b/dns/py-dnspython/Makefile
@@ -1,7 +1,7 @@
 # Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
 
 PORTNAME=	dnspython
-PORTVERSION=	2.2.0
+PORTVERSION=	2.2.1
 PORTEPOCH=	1
 CATEGORIES=	dns python
 MASTER_SITES=	CHEESESHOP
@@ -13,8 +13,7 @@ COMMENT=	DNS toolkit for Python
 LICENSE=	ISCL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.3:devel/py-setuptools_scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python:3.6+
@@ -25,9 +24,22 @@ NO_ARCH=	yes
 PORTEXAMPLES=	ddns.py e164.py mx.py name.py reverse.py reverse_name.py xfr.py \
 		zonediff.py
 
-OPTIONS_DEFINE=			EXAMPLES PYCRYPTODOME
-PYCRYPTODOME_DESC=		Enable pycryptodome (part of dnssec needs it)
-PYCRYPTODOME_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR}
+OPTIONS_DEFINE=		CURIO DNSSEC DOH EXAMPLES IDNA TRIO
+CURIO_DESC=		Coroutine-based library Support
+DNSSEC_DESC=		DNSSEC Support
+DOH_DESC=		DNS over HTTPS Support
+IDNA_DESC=		Internationalizede Domain Names in Application Support
+TRIO_DESC=		TRIO Support
+CURIO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}curio>=1.2:devel/py-curio@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}sniffio>=1.1:devel/py-sniffio@${PY_FLAVOR}
+DNSSEC_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=2.6:security/py-cryptography@${PY_FLAVOR}
+DOH_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h2>0:www/py-h2@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}httpx>=0.21.10:www/py-httpx@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}requests-toolbelt>0:www/py-requests-toolbelt@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
+	# Requires h2>=4.1.0
+IDNA_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}idna>=2.1:dns/py-idna@${PY_FLAVOR}
+TRIO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}trio>=0.14.0:net/py-trio@${PY_FLAVOR}
 
 post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
diff --git a/dns/py-dnspython/distinfo b/dns/py-dnspython/distinfo
index b8d8bcc1b53b..f3ae37bddbe0 100644
--- a/dns/py-dnspython/distinfo
+++ b/dns/py-dnspython/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1646099692
-SHA256 (dnspython-2.2.0.tar.gz) = e79351e032d0b606b98d38a4b0e6e2275b31a5b85c873e587cc11b73aca026d6
-SIZE (dnspython-2.2.0.tar.gz) = 278858
+TIMESTAMP = 1646762904
+SHA256 (dnspython-2.2.1.tar.gz) = 0f7569a4a6ff151958b64304071d370daa3243d15941a7beedf0c9fe5105603e
+SIZE (dnspython-2.2.1.tar.gz) = 281325