Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2023 16:20:03 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9a13da62ab9a - main - devel/py-aiobotocore: Add AWSCLI and BOTO3 options
Message-ID:  <202309291620.38TGK3Jm052637@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 9a13da62ab9a70363e2c5e9a632a24cd589eeb76
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-29 16:13:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-29 16:13:50 +0000

    devel/py-aiobotocore: Add AWSCLI and BOTO3 options
---
 devel/py-aiobotocore/Makefile             |  7 +++++++
 devel/py-aiobotocore/files/patch-setup.py | 13 +++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/devel/py-aiobotocore/Makefile b/devel/py-aiobotocore/Makefile
index b4fa88419dbd..8daee3dc98a9 100644
--- a/devel/py-aiobotocore/Makefile
+++ b/devel/py-aiobotocore/Makefile
@@ -22,4 +22,11 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	AWSCLI BOTO3
+AWSCLI_DESC=	Use awscli
+BOTO3_DESC=	Use boto3
+
+AWSCLI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}awscli>=1.29.17:devel/py-awscli@${PY_FLAVOR}
+BOTO3_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto3>=1.28.17:www/py-boto3@${PY_FLAVOR}
+
 .include <bsd.port.mk>
diff --git a/devel/py-aiobotocore/files/patch-setup.py b/devel/py-aiobotocore/files/patch-setup.py
new file mode 100644
index 000000000000..48ee2155f064
--- /dev/null
+++ b/devel/py-aiobotocore/files/patch-setup.py
@@ -0,0 +1,13 @@
+--- setup.py.orig	2023-08-11 20:42:50 UTC
++++ setup.py
+@@ -14,8 +14,8 @@ install_requires = [
+ ]
+ 
+ extras_require = {
+-    'awscli': ['awscli>=1.29.17,<1.29.18'],
+-    'boto3': ['boto3>=1.28.17,<1.28.18'],
++    'awscli': ['awscli>=1.29.17'],
++    'boto3': ['boto3>=1.28.17'],
+ }
+ 
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309291620.38TGK3Jm052637>