git: eba449f1a3ea - main - devel/py-botocore: Allow build with py-jmespath 1.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 May 2022 11:49:06 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=eba449f1a3ea4dbc3fafa8b9e48d009c06f515e3 commit eba449f1a3ea4dbc3fafa8b9e48d009c06f515e3 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-05-13 11:36:09 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-05-13 11:40:11 +0000 devel/py-botocore: Allow build with py-jmespath 1.0.0+ --- devel/py-botocore/Makefile | 3 +-- devel/py-botocore/files/patch-setup.cfg | 11 +++++++++++ devel/py-botocore/files/patch-setup.py | 11 +++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/devel/py-botocore/Makefile b/devel/py-botocore/Makefile index 7cb9b62d44ea..7baccf9846c9 100644 --- a/devel/py-botocore/Makefile +++ b/devel/py-botocore/Makefile @@ -14,9 +14,8 @@ 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<1.0.0:devel/py-jmespath@${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} \ diff --git a/devel/py-botocore/files/patch-setup.cfg b/devel/py-botocore/files/patch-setup.cfg new file mode 100644 index 000000000000..5667dc16a6c9 --- /dev/null +++ b/devel/py-botocore/files/patch-setup.cfg @@ -0,0 +1,11 @@ +--- 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 new file mode 100644 index 000000000000..5be511fc7d67 --- /dev/null +++ b/devel/py-botocore/files/patch-setup.py @@ -0,0 +1,11 @@ +--- 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', + ]