git: dd389477021c - main - devel/py-botocore: Update to 1.34.70

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 31 Mar 2024 03:39:48 UTC
The branch main has been updated by sunpoet:

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

commit dd389477021cae596fff12caba3c84d2ac2fe254
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-31 03:06:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-31 03:06:19 +0000

    devel/py-botocore: Update to 1.34.70
    
    Changes:        https://github.com/boto/botocore/blob/develop/CHANGELOG.rst
---
 devel/py-botocore/Makefile | 15 +++++++++++----
 devel/py-botocore/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/devel/py-botocore/Makefile b/devel/py-botocore/Makefile
index aff8cea6462d..db8746b54084 100644
--- a/devel/py-botocore/Makefile
+++ b/devel/py-botocore/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	botocore
-PORTVERSION=	1.34.60
+PORTVERSION=	1.34.70
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,8 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jmespath>=0.7.1<2.0.0:devel/py-jmespath@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dateutil>=2.1<3.0.0:devel/py-dateutil@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.4,1<1.27,1:net/py-urllib3@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}dateutil>=2.1<3.0.0:devel/py-dateutil@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}awscrt>=0.19.19:devel/py-awscrt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema@${PY_FLAVOR}
 
@@ -29,4 +28,12 @@ CRT_DESC=	Common runtime support
 
 CRT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}awscrt>=0.19.19:devel/py-awscrt@${PY_FLAVOR}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.4,1<1.27,1:net/py-urllib3@${PY_FLAVOR}
+.else
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.4,1<3,1:net/py-urllib3@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-botocore/distinfo b/devel/py-botocore/distinfo
index ba49a0f5723b..da0e6a1a1162 100644
--- a/devel/py-botocore/distinfo
+++ b/devel/py-botocore/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710712416
-SHA256 (botocore-1.34.60.tar.gz) = 4101494f0b692c95c592cba2719a61854e1c2923d89c60eaddf0e0d986442562
-SIZE (botocore-1.34.60.tar.gz) = 12225810
+TIMESTAMP = 1711466120
+SHA256 (botocore-1.34.70.tar.gz) = fa03d4972cd57d505e6c0eb5d7c7a1caeb7dd49e84f963f7ebeca41fe8ab736e
+SIZE (botocore-1.34.70.tar.gz) = 12251618