git: 5a7edb77e9fc - main - www/py-boto3: Update to 1.24.30
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Nov 2022 08:17:47 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5a7edb77e9fc08ddaa2d8b39e10747426daed3b5
commit 5a7edb77e9fc08ddaa2d8b39e10747426daed3b5
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-11-19 08:12:42 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-11-19 08:12:42 +0000
www/py-boto3: Update to 1.24.30
- Convert to USE_PYTHON=pytest
Changes: https://github.com/boto/boto3/blob/develop/CHANGELOG.rst
---
www/py-boto3/Makefile | 24 +++++++-----------------
www/py-boto3/distinfo | 6 +++---
www/py-boto3/files/patch-setup.cfg | 11 -----------
www/py-boto3/files/patch-setup.py | 26 --------------------------
www/py-boto3/pkg-descr | 10 +++++-----
5 files changed, 15 insertions(+), 62 deletions(-)
diff --git a/www/py-boto3/Makefile b/www/py-boto3/Makefile
index ba6daa73df04..1413b96ef127 100644
--- a/www/py-boto3/Makefile
+++ b/www/py-boto3/Makefile
@@ -1,6 +1,5 @@
PORTNAME= boto3
-PORTVERSION= 1.18.61
-PORTREVISION= 1
+PORTVERSION= 1.24.30
CATEGORIES= www python devel
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,25 +10,16 @@ WWW= https://github.com/boto/boto3
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}botocore>=1.21.61<1.22.0:devel/py-botocore@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}botocore>=1.27.${PORTVERSION:E}<1.28.0:devel/py-botocore@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jmespath>=0.7.1<2.0.0:devel/py-jmespath@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}s3transfer>=0.5.0<0.6.0:net/py-s3transfer@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}s3transfer>=0.6.0<0.7.0:net/py-s3transfer@${PY_FLAVOR}
-# Actually 2.6-2.7,3.3-3.7
-USES= python:3.6+
-USE_GITHUB= yes # tests missing from PyPI sdist
-USE_PYTHON= autoplist distutils
-
-GH_ACCOUNT= boto
+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
+USE_GITHUB= yes
+GH_ACCOUNT= boto
.include <bsd.port.mk>
diff --git a/www/py-boto3/distinfo b/www/py-boto3/distinfo
index 7d2ce5820963..c44176c2fd00 100644
--- a/www/py-boto3/distinfo
+++ b/www/py-boto3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634205518
-SHA256 (boto-boto3-1.18.61_GH0.tar.gz) = 16aca1497a2eee857f542a0b9f2fd28e080e394afd3c15ed9d0b4be7eb39bbdb
-SIZE (boto-boto3-1.18.61_GH0.tar.gz) = 428681
+TIMESTAMP = 1657834267
+SHA256 (boto-boto3-1.24.30_GH0.tar.gz) = c5293f0de207e9161e2e6042e168c153d9a2fe6ae0c27fb04336d1ae2bcdce70
+SIZE (boto-boto3-1.24.30_GH0.tar.gz) = 518030
diff --git a/www/py-boto3/files/patch-setup.cfg b/www/py-boto3/files/patch-setup.cfg
deleted file mode 100644
index fecac01126f4..000000000000
--- a/www/py-boto3/files/patch-setup.cfg
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.cfg.orig 2021-10-13 18:09:14 UTC
-+++ setup.cfg
-@@ -4,7 +4,7 @@ universal = 0
- [metadata]
- requires_dist =
- botocore>=1.21.61,<1.22.0
-- jmespath>=0.7.1,<1.0.0
-+ jmespath>=0.7.1,<2.0.0
- s3transfer>=0.5.0,<0.6.0
-
- [options.extras_require]
diff --git a/www/py-boto3/files/patch-setup.py b/www/py-boto3/files/patch-setup.py
deleted file mode 100644
index 5dec2da0c688..000000000000
--- a/www/py-boto3/files/patch-setup.py
+++ /dev/null
@@ -1,26 +0,0 @@
---- setup.py.orig 2021-10-13 18:09:14 UTC
-+++ setup.py
-@@ -14,10 +14,13 @@ VERSION_RE = re.compile(r'''__version__ = ['"]([0-9.]+
-
- requires = [
- 'botocore>=1.21.61,<1.22.0',
-- 'jmespath>=0.7.1,<1.0.0',
-+ 'jmespath>=0.7.1,<2.0.0',
- 's3transfer>=0.5.0,<0.6.0'
- ]
-
-+tests_require = [
-+ 'nose',
-+]
-
- def get_version():
- init = open(os.path.join(ROOT, 'boto3', '__init__.py')).read()
-@@ -41,6 +44,8 @@ setup(
- },
- include_package_data=True,
- install_requires=requires,
-+ tests_require=tests_require,
-+ test_suite='nose.collector',
- license="Apache License 2.0",
- python_requires=">= 3.6",
- classifiers=[
diff --git a/www/py-boto3/pkg-descr b/www/py-boto3/pkg-descr
index 42d31d588999..92674fc27655 100644
--- a/www/py-boto3/pkg-descr
+++ b/www/py-boto3/pkg-descr
@@ -1,5 +1,5 @@
-Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK)
-for Python, which allows Python developers to write software that makes
-use of services like Amazon S3 and Amazon EC2. You can find the latest,
-most up to date, documentation at Read the Docs, including a list of
-services that are supported.
+Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for
+Python, which allows Python developers to write software that makes use of
+services like Amazon S3 and Amazon EC2. You can find the latest, most up to
+date, documentation at our doc site, including a list of services that are
+supported.