git: 7185f8d6fa41 - main - devel/py-botocore: Update to 1.27.30

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 08:17:12 UTC
The branch main has been updated by sunpoet:

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

commit 7185f8d6fa4141047366e9db3b093bf4fa0ee1ce
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-11-19 08:11:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-11-19 08:11:56 +0000

    devel/py-botocore: Update to 1.27.30
    
    - Convert to USE_PYTHON=pytest
    - Take maintainership
    
    Changes:        https://github.com/boto/botocore/blob/develop/CHANGELOG.rst
---
 devel/py-botocore/Makefile              | 27 +++++++++------------------
 devel/py-botocore/distinfo              |  6 +++---
 devel/py-botocore/files/patch-setup.cfg | 11 -----------
 devel/py-botocore/files/patch-setup.py  | 11 -----------
 4 files changed, 12 insertions(+), 43 deletions(-)

diff --git a/devel/py-botocore/Makefile b/devel/py-botocore/Makefile
index 8f7e0f07f47c..b7d3ad83ea3f 100644
--- a/devel/py-botocore/Makefile
+++ b/devel/py-botocore/Makefile
@@ -1,34 +1,25 @@
 PORTNAME=	botocore
-
-PORTVERSION=	1.21.61
+PORTVERSION=	1.27.30
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Low-level, core functionality of boto 3
 WWW=		https://github.com/boto/botocore
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dateutil>=2.1<3.0.0:devel/py-dateutil@${PY_FLAVOR}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}jmespath>=0.7.1<2.0.0:devel/py-jmespath@${PY_FLAVOR}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.4,1<1.27,1:net/py-urllib3@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${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}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}awscrt>=0.13.8:devel/py-awscrt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema@${PY_FLAVOR}
 
-USES=		python:3.6+
-USE_PYTHON=	autoplist distutils
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes
 
-# setup.py test runs integration tests which fail
-# https://github.com/boto/s3transfer/issues/41
-# Note: this is an AWS python package wide issue
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v tests/unit tests/functional
-
 .include <bsd.port.mk>
diff --git a/devel/py-botocore/distinfo b/devel/py-botocore/distinfo
index 42edcef06005..7623228f1456 100644
--- a/devel/py-botocore/distinfo
+++ b/devel/py-botocore/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634205447
-SHA256 (botocore-1.21.61.tar.gz) = 92ae0ca56a6582bddf42aca199ac3f67579910860bcd86166ae10f7a83f8841b
-SIZE (botocore-1.21.61.tar.gz) = 8255275
+TIMESTAMP = 1659884224
+SHA256 (botocore-1.27.30.tar.gz) = 35897569bf5f80b935f7381f6b0d1580ee0f6a94e3c568faca9ce6603391c829
+SIZE (botocore-1.27.30.tar.gz) = 9181239
diff --git a/devel/py-botocore/files/patch-setup.cfg b/devel/py-botocore/files/patch-setup.cfg
deleted file mode 100644
index 5667dc16a6c9..000000000000
--- a/devel/py-botocore/files/patch-setup.cfg
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.cfg.orig	2021-10-13 18:09:17 UTC
-+++ setup.cfg
-@@ -4,7 +4,7 @@ universal = 0
- [metadata]
- requires_dist = 
- 	python-dateutil>=2.1,<3.0.0
--	jmespath>=0.7.1,<1.0.0
-+	jmespath>=0.7.1,<2.0.0
- 	urllib3>=1.25.4,<1.27
- 
- [options.extras_require]
diff --git a/devel/py-botocore/files/patch-setup.py b/devel/py-botocore/files/patch-setup.py
deleted file mode 100644
index 5be511fc7d67..000000000000
--- a/devel/py-botocore/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig	2021-10-13 18:05:42 UTC
-+++ setup.py
-@@ -23,7 +23,7 @@ def find_version(*file_paths):
- 
- 
- requires = [
--    'jmespath>=0.7.1,<1.0.0',
-+    'jmespath>=0.7.1,<2.0.0',
-     'python-dateutil>=2.1,<3.0.0',
-     'urllib3>=1.25.4,<1.27',
- ]