Skip to content

Commit

Permalink
devel/py-botocore: Allow build with py-jmespath 1.0.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed May 13, 2022
1 parent 3c3eebe commit eba449f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
3 changes: 1 addition & 2 deletions devel/py-botocore/Makefile
Expand Up @@ -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} \
Expand Down
11 changes: 11 additions & 0 deletions 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]
11 changes: 11 additions & 0 deletions 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',
]

0 comments on commit eba449f

Please sign in to comment.