git: 92d868ae574b - main - dns/py-dns-lexicon: Update to 3.15.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 05 Oct 2023 02:01:59 UTC
The branch main has been updated by sunpoet:

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

commit 92d868ae574bc538d10089c2f2ddea03cbaf7132
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-05 01:56:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-05 02:00:22 +0000

    dns/py-dns-lexicon: Update to 3.15.0
    
    Changes:        https://github.com/AnalogJ/lexicon/releases
---
 dns/py-dns-lexicon/Makefile | 12 +++++++++---
 dns/py-dns-lexicon/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/dns/py-dns-lexicon/Makefile b/dns/py-dns-lexicon/Makefile
index 085795827b60..0bd2dc2354af 100644
--- a/dns/py-dns-lexicon/Makefile
+++ b/dns/py-dns-lexicon/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	dns-lexicon
-PORTVERSION=	3.14.1
+PORTVERSION=	3.15.0
 CATEGORIES=	dns python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4:www/py-beautifulsoup@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4:devel/py-importlib-metadata@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyotp>=2:security/py-pyotp@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=3:devel/py-yaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tldextract>=2:dns/py-tldextract@${PY_FLAVOR}
@@ -41,4 +41,10 @@ OCI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}oci>=2:devel/py-oci@${PY_FLAVOR}
 ROUTE53_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto3>=1.28:www/py-boto3@${PY_FLAVOR}
 SOFTLAYER_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}softlayer>=5:net/py-softlayer@${PY_FLAVOR}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.6:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/dns/py-dns-lexicon/distinfo b/dns/py-dns-lexicon/distinfo
index 0eec3af03d93..599f86c3221c 100644
--- a/dns/py-dns-lexicon/distinfo
+++ b/dns/py-dns-lexicon/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692211785
-SHA256 (dns_lexicon-3.14.1.tar.gz) = fa1d71b79bc7e3d056b0aab1a11160d57d7c524eaa50f4303552d6aff2ffe514
-SIZE (dns_lexicon-3.14.1.tar.gz) = 153758
+TIMESTAMP = 1696432950
+SHA256 (dns_lexicon-3.15.0.tar.gz) = 0ab2695d91a462a940329d6212fbf95d4b3acc4bba27b62bd8359c0bee7ad248
+SIZE (dns_lexicon-3.15.0.tar.gz) = 154091