git: 14513a52a140 - main - net/py-s3transfer: Update to 0.6.0

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

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

commit 14513a52a140c2529513d81fa1c29efdaded57c2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-11-19 08:12:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-11-19 08:12:28 +0000

    net/py-s3transfer: Update to 0.6.0
    
    - Update version requirement of RUN_DEPENDS
    - Convert to USE_PYTHON=unittest
    - Take maintainership
    
    Changes:        https://github.com/boto/s3transfer/blob/develop/CHANGELOG.rst
---
 net/py-s3transfer/Makefile             | 17 +++++------------
 net/py-s3transfer/distinfo             |  6 +++---
 net/py-s3transfer/files/patch-setup.py | 22 ----------------------
 3 files changed, 8 insertions(+), 37 deletions(-)

diff --git a/net/py-s3transfer/Makefile b/net/py-s3transfer/Makefile
index b50c9c2f2321..d6100179d582 100644
--- a/net/py-s3transfer/Makefile
+++ b/net/py-s3transfer/Makefile
@@ -1,28 +1,21 @@
 PORTNAME=	s3transfer
-PORTVERSION=	0.5.0
+PORTVERSION=	0.6.0
 CATEGORIES=	net python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Amazon S3 Transfer Manager for Python
 WWW=		https://github.com/boto/s3transfer
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}botocore>=1.12.36:devel/py-botocore@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=1.3.3:devel/py-nose@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}botocore>=1.12.36<2.0.0:devel/py-botocore@${PY_FLAVOR}
 
-USES=		python:3.6+
-USE_PYTHON=	autoplist distutils
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils unittest
 
 NO_ARCH=	yes
 
-# setup.py test runs integration tests which fail
-# https://github.com/boto/s3transfer/issues/41
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v tests/unit tests/functional
-
 .include <bsd.port.mk>
diff --git a/net/py-s3transfer/distinfo b/net/py-s3transfer/distinfo
index 87f96cb00cfc..3cb72ab27325 100644
--- a/net/py-s3transfer/distinfo
+++ b/net/py-s3transfer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632779595
-SHA256 (s3transfer-0.5.0.tar.gz) = 50ed823e1dc5868ad40c8dc92072f757aa0e653a192845c94a3b676f4a62da4c
-SIZE (s3transfer-0.5.0.tar.gz) = 133535
+TIMESTAMP = 1657564372
+SHA256 (s3transfer-0.6.0.tar.gz) = 2ed07d3866f523cc561bf4a00fc5535827981b117dd7876f036b0c1aca42c947
+SIZE (s3transfer-0.6.0.tar.gz) = 134871
diff --git a/net/py-s3transfer/files/patch-setup.py b/net/py-s3transfer/files/patch-setup.py
deleted file mode 100644
index 5c6ef40e8707..000000000000
--- a/net/py-s3transfer/files/patch-setup.py
+++ /dev/null
@@ -1,22 +0,0 @@
---- setup.py.orig	2016-08-06 10:02:48 UTC
-+++ setup.py
-@@ -14,6 +14,10 @@ requires = [
-     'botocore>=1.3.0,<2.0.0',
- ]
- 
-+tests_require = [
-+    'nose>=1.3.3',
-+    'mock>=1.3.0',
-+]
- 
- if sys.version_info[0] == 2:
-     # concurrent.futures is only in python3, so for
-@@ -41,6 +45,8 @@ setup(
-         ':python_version=="2.6" or python_version=="2.7"': [
-             'futures>=2.2.0,<4.0.0']
-     },
-+    tests_require=tests_require,
-+    test_suite='nose.collector',
-     license="Apache License 2.0",
-     classifiers=(
-         'Development Status :: 1 - Planning',