git: bab68edeb4b6 - main - dns/py-dns-crawler: Update to 1.6.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 25 Dec 2023 09:09:27 UTC
The branch main has been updated by sunpoet:

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

commit bab68edeb4b6d338c2810d030519dcb7fd674618
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-25 09:00:24 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-25 09:00:24 +0000

    dns/py-dns-crawler: Update to 1.6.2
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://gitlab.nic.cz/adam/dns-crawler/-/blob/master/CHANGELOG.md
---
 dns/py-dns-crawler/Makefile                     | 32 +++++++-------
 dns/py-dns-crawler/distinfo                     |  6 +--
 dns/py-dns-crawler/files/patch-requirements.txt | 55 +++++++++++++------------
 3 files changed, 48 insertions(+), 45 deletions(-)

diff --git a/dns/py-dns-crawler/Makefile b/dns/py-dns-crawler/Makefile
index f88097c9636f..d70f5128f423 100644
--- a/dns/py-dns-crawler/Makefile
+++ b/dns/py-dns-crawler/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	dns-crawler
-PORTVERSION=	1.5.8
+PORTVERSION=	1.6.2
 CATEGORIES=	dns python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,27 +11,29 @@ WWW=		https://gitlab.nic.cz/adam/dns-crawler
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.4.0:devel/py-asn1crypto@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=41:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-git-versioning>=0<2:devel/py-setuptools-git-versioning@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.5.1:devel/py-asn1crypto@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cert-human>=1.0.7:security/py-cert-human@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dnspython>=2.1.0,1:dns/py-dnspython@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}ecdsa>=0.16.1:security/py-ecdsa@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}forcediphttpsadapter>=1.0.1:www/py-forcediphttpsadapter@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}checkdmarc>=4.3.1:mail/py-checkdmarc@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dnspython>=2.3.0,1:dns/py-dnspython@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ecdsa>=0.18.0:security/py-ecdsa@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}forcediphttpsadapter>=1.0.2:www/py-forcediphttpsadapter@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}GeoIP2>=3.0.0:net/py-GeoIP2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}hstspreload>=0:www/py-hstspreload@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}idna>=2.10:dns/py-idna@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyaml>=20.4.0:textproc/py-pyaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.9.9:security/py-pycryptodome@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyicu>=2.6:devel/py-pyicu@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}openssl>=20.0.1,1:security/py-openssl@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}redis>=3.5.3:databases/py-redis@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyaml>=21.10.1:textproc/py-pyaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyicu>=2.10.2:devel/py-pyicu@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}openssl>=23.1.1,1:security/py-openssl@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-magic>=0.4.27:devel/py-python-magic@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}redis>=4.5.4:databases/py-redis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.23.0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.9.1:www/py-requests-toolbelt@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}rq>=1.7.0:devel/py-rq@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.11,1:net/py-urllib3@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.10.1:www/py-requests-toolbelt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rq>=1.13.0:devel/py-rq@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent cryptography distutils
+USE_PYTHON=	autoplist concurrent cryptography pep517
 
 NO_ARCH=	yes
 
diff --git a/dns/py-dns-crawler/distinfo b/dns/py-dns-crawler/distinfo
index eb32dc977349..466482ffb786 100644
--- a/dns/py-dns-crawler/distinfo
+++ b/dns/py-dns-crawler/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696432948
-SHA256 (dns-crawler-1.5.8.tar.gz) = 7f66d5538f1ecf4d1622fda0029259d0e335b8e01286a93775143f36546afb39
-SIZE (dns-crawler-1.5.8.tar.gz) = 67025
+TIMESTAMP = 1703227900
+SHA256 (dns-crawler-1.6.2.tar.gz) = 0ba6fd8a6ddffecaa694b550aabc31db8c0d47aa2b4adec350918f5824261c2e
+SIZE (dns-crawler-1.6.2.tar.gz) = 44938
diff --git a/dns/py-dns-crawler/files/patch-requirements.txt b/dns/py-dns-crawler/files/patch-requirements.txt
index 2e35735707cd..037bc2501ab5 100644
--- a/dns/py-dns-crawler/files/patch-requirements.txt
+++ b/dns/py-dns-crawler/files/patch-requirements.txt
@@ -1,38 +1,39 @@
---- requirements.txt.orig	2021-03-23 13:56:03 UTC
+--- requirements.txt.orig	2023-04-06 14:35:46 UTC
 +++ requirements.txt
 @@ -1,18 +1,18 @@
--asn1crypto==1.4.0
+-asn1crypto==1.5.1
 -cert_human==1.0.7
--cryptography==3.3.1
--ecdsa==0.16.1
--forcediphttpsadapter==1.0.1
+-cryptography==38.0.4
+-ecdsa==0.18.0
+-forcediphttpsadapter==1.0.2
 -geoip2==3.0.0
-+asn1crypto>=1.4.0
++asn1crypto>=1.5.1
 +cert_human>=1.0.7
-+cryptography>=3.3.1
-+ecdsa>=0.16.1
-+forcediphttpsadapter>=1.0.1
++cryptography>=38.0.4
++ecdsa>=0.18.0
++forcediphttpsadapter>=1.0.2
 +geoip2>=3.0.0
  hstspreload
 -idna==2.10
--pyaml==20.4.0
--pycryptodome==3.9.9
--PyICU==2.6
--pyopenssl==20.0.1
--redis==3.5.3
--requests_toolbelt==0.9.1
+-pyaml==21.10.1
+-PyICU==2.10.2
+-pyOpenSSL==23.1.1
+-redis==4.5.4
+-requests_toolbelt==0.10.1
 -requests==2.23.0
--rq==1.7.0
--dnspython==2.1.0
--urllib3==1.25.11
+-rq==1.13.0
+-dnspython==2.3.0
+-checkdmarc==4.3.1
+-python-magic==0.4.27
+\ No newline at end of file
 +idna>=2.10
-+pyaml>=20.4.0
-+pycryptodome>=3.9.9
-+PyICU>=2.6
-+pyopenssl>=20.0.1
-+redis>=3.5.3
-+requests_toolbelt>=0.9.1
++pyaml>=21.10.1
++PyICU>=2.10.2
++pyOpenSSL>=23.1.1
++redis>=4.5.4
++requests_toolbelt>=0.10.1
 +requests>=2.23.0
-+rq>=1.7.0
-+dnspython>=2.1.0
-+urllib3>=1.25.11
++rq>=1.13.0
++dnspython>=2.3.0
++checkdmarc>=4.3.1
++python-magic>=0.4.27