Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 2021 20:33:10 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: e850f85719aa - main - textproc/py-transifex-client: Fix build with py-urllib3 1.26.5
Message-ID:  <202107242033.16OKXAT5009090@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=e850f85719aaedf39c4cbad555dbf45ec159eb1a

commit e850f85719aaedf39c4cbad555dbf45ec159eb1a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-24 20:24:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-07-24 20:24:16 +0000

    textproc/py-transifex-client: Fix build with py-urllib3 1.26.5
    
    - While I'm here, update version requirement of RUN_DEPENDS
---
 textproc/py-transifex-client/Makefile                     | 2 +-
 textproc/py-transifex-client/files/patch-requirements.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/textproc/py-transifex-client/Makefile b/textproc/py-transifex-client/Makefile
index 7063608ff26e..32b9f76dfd3e 100644
--- a/textproc/py-transifex-client/Makefile
+++ b/textproc/py-transifex-client/Makefile
@@ -13,7 +13,7 @@ COMMENT=	Command line interface for Transifex
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} # <1.26
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}urllib3>=1.24.2,1<2.0.0,1:net/py-urllib3@${PY_FLAVOR}
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}requests>=2.19.1:www/py-requests@${PY_FLAVOR} # <3.0.0
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-slugify>=1.26.0:textproc/py-python-slugify@${PY_FLAVOR}
diff --git a/textproc/py-transifex-client/files/patch-requirements.txt b/textproc/py-transifex-client/files/patch-requirements.txt
index c761ee94da55..a003920d2d12 100644
--- a/textproc/py-transifex-client/files/patch-requirements.txt
+++ b/textproc/py-transifex-client/files/patch-requirements.txt
@@ -5,7 +5,7 @@
 -six==1.11.0
 -requests>=2.19.1,<3.0.0
 -python-slugify==1.2.6
-+urllib3<1.26
++urllib3>=1.24.2,<2.0.0
 +six>=1.11.0
 +requests>=2.19.1
 +python-slugify>=1.2.6



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