git: e047381479ea - main - dns/py-dns-crawler: Update to 1.5.8

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

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

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

    dns/py-dns-crawler: Update to 1.5.8
    
    Changes:        https://gitlab.nic.cz/adam/dns-crawler/-/blob/master/CHANGELOG.md
---
 dns/py-dns-crawler/Makefile                     | 24 +++++++--------
 dns/py-dns-crawler/distinfo                     |  6 ++--
 dns/py-dns-crawler/files/patch-requirements.txt | 38 +++++++++++++++++++++++
 dns/py-dns-crawler/files/patch-setup.py         | 41 -------------------------
 4 files changed, 53 insertions(+), 56 deletions(-)

diff --git a/dns/py-dns-crawler/Makefile b/dns/py-dns-crawler/Makefile
index fb90714d7016..f88097c9636f 100644
--- a/dns/py-dns-crawler/Makefile
+++ b/dns/py-dns-crawler/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	dns-crawler
-PORTVERSION=	1.4.9
-PORTREVISION=	1
+PORTVERSION=	1.5.8
 CATEGORIES=	dns python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,22 +12,23 @@ 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.3.0:devel/py-asn1crypto@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.4.0:devel/py-asn1crypto@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cert-human>=1.0.7:security/py-cert-human@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dnspython>=0,1:dns/py-dnspython@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}ecdsa>=0.15:security/py-ecdsa@${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}GeoIP2>=3.0.0:net/py-GeoIP2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}hstspreload>=0:www/py-hstspreload@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}idna>=2.9:dns/py-idna@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyaml>=19.12.0:textproc/py-pyaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.9.7:security/py-pycryptodome@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyicu>=2.4.3:devel/py-pyicu@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}openssl>=19.1.0:security/py-openssl@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}redis>=3.4.1:databases/py-redis@${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}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.2.2:devel/py-rq@${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}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent cryptography distutils
diff --git a/dns/py-dns-crawler/distinfo b/dns/py-dns-crawler/distinfo
index bd3eda879206..eb32dc977349 100644
--- a/dns/py-dns-crawler/distinfo
+++ b/dns/py-dns-crawler/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1622213966
-SHA256 (dns-crawler-1.4.9.tar.gz) = f59340c4ef1769a04a4f9ebc07f27114fae289b91d287433a42c326958afb71d
-SIZE (dns-crawler-1.4.9.tar.gz) = 66705
+TIMESTAMP = 1696432948
+SHA256 (dns-crawler-1.5.8.tar.gz) = 7f66d5538f1ecf4d1622fda0029259d0e335b8e01286a93775143f36546afb39
+SIZE (dns-crawler-1.5.8.tar.gz) = 67025
diff --git a/dns/py-dns-crawler/files/patch-requirements.txt b/dns/py-dns-crawler/files/patch-requirements.txt
new file mode 100644
index 000000000000..2e35735707cd
--- /dev/null
+++ b/dns/py-dns-crawler/files/patch-requirements.txt
@@ -0,0 +1,38 @@
+--- requirements.txt.orig	2021-03-23 13:56:03 UTC
++++ requirements.txt
+@@ -1,18 +1,18 @@
+-asn1crypto==1.4.0
+-cert_human==1.0.7
+-cryptography==3.3.1
+-ecdsa==0.16.1
+-forcediphttpsadapter==1.0.1
+-geoip2==3.0.0
++asn1crypto>=1.4.0
++cert_human>=1.0.7
++cryptography>=3.3.1
++ecdsa>=0.16.1
++forcediphttpsadapter>=1.0.1
++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
+-requests==2.23.0
+-rq==1.7.0
+-dnspython==2.1.0
+-urllib3==1.25.11
++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
++requests>=2.23.0
++rq>=1.7.0
++dnspython>=2.1.0
++urllib3>=1.25.11
diff --git a/dns/py-dns-crawler/files/patch-setup.py b/dns/py-dns-crawler/files/patch-setup.py
deleted file mode 100644
index dbc26bca9f5c..000000000000
--- a/dns/py-dns-crawler/files/patch-setup.py
+++ /dev/null
@@ -1,41 +0,0 @@
---- setup.py.orig	2020-07-10 06:16:32 UTC
-+++ setup.py
-@@ -39,23 +39,23 @@ setup(
-         ]
-     },
-     install_requires=[
--        "asn1crypto==1.3.0",
--        "cert_human==1.0.7",
--        "cryptography==2.8",
-+        "asn1crypto>=1.3.0",
-+        "cert_human>=1.0.7",
-+        "cryptography>=2.8",
-         "dnspython",
--        "ecdsa==0.15",
--        "forcediphttpsadapter==1.0.1",
--        "geoip2==3.0.0",
-+        "ecdsa>=0.15",
-+        "forcediphttpsadapter>=1.0.1",
-+        "geoip2>=3.0.0",
-         "hstspreload",
--        "idna==2.9",
--        "pyaml==19.12.0",
--        "PyICU==2.4.3",
--        "pycryptodome==3.9.7",
--        "pyopenssl==19.1.0",
--        "redis==3.4.1",
--        "requests_toolbelt==0.9.1",
--        "requests==2.23.0",
--        "rq==1.2.2",
-+        "idna>=2.9",
-+        "pyaml>=19.12.0",
-+        "PyICU>=2.4.3",
-+        "pycryptodome>=3.9.7",
-+        "pyopenssl>=19.1.0",
-+        "redis>=3.4.1",
-+        "requests_toolbelt>=0.9.1",
-+        "requests>=2.23.0",
-+        "rq>=1.2.2",
-     ],
-     keywords=["crawler", "dns", "http", "https"],
-     classifiers=[