git: 3da1ad54b0ae - main - security/theonionbox: Fix build with py-urllib3 1.26.5
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Jul 24 20:33:10 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3da1ad54b0ae97610202c7add6ea4be4df24b047
commit 3da1ad54b0ae97610202c7add6ea4be4df24b047
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-24 20:24:06 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-24 20:24:06 +0000
security/theonionbox: Fix build with py-urllib3 1.26.5
- While I'm here, update version requirement of RUN_DEPENDS
---
security/theonionbox/Makefile | 2 +-
security/theonionbox/files/patch-setup.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/security/theonionbox/Makefile b/security/theonionbox/Makefile
index b875e4cbf285..26eac4db5ce0 100644
--- a/security/theonionbox/Makefile
+++ b/security/theonionbox/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}apscheduler>=3.4:devel/py-apscheduler@${PY_F
${PYTHON_PKGNAMEPREFIX}requests>2.18:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stem>=1.5.4:security/py-stem@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tzlocal>=1.5:devel/py-tzlocal@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}urllib3>=1.22:net/py-urllib3@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1,1<1.27,1:net/py-urllib3@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} # workaround for bug#230613: missing internal sqlite3 module in python
USES= python:3.6+
diff --git a/security/theonionbox/files/patch-setup.py b/security/theonionbox/files/patch-setup.py
index 5dcf08528423..0447f6547c50 100644
--- a/security/theonionbox/files/patch-setup.py
+++ b/security/theonionbox/files/patch-setup.py
@@ -32,7 +32,7 @@
'tzlocal>=1.5',
'futures>=3.2; python_version<"3.0"',
- 'urllib3>=1.24.2, <1.25' # '<1.25' due to requests 2.21 requirement
-+ 'urllib3>=1.21.1,<1.26' # copied (except the exclusions) from requests 2.22
++ 'urllib3>=1.21.1,<1.27' # copied (except the exclusions) from requests 2.25.1
],
long_description_content_type='text/x-rst; charset=UTF-8',
classifiers=[
More information about the dev-commits-ports-all
mailing list