git: db83b690ad7f - main - net-p2p/py-transmission-rpc: Allow build with py-typing-extensions 4.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Apr 2022 15:07:32 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=db83b690ad7f7ef5a01238a5284afaf1584381a6
commit db83b690ad7f7ef5a01238a5284afaf1584381a6
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-26 14:57:57 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-26 15:01:54 +0000
net-p2p/py-transmission-rpc: Allow build with py-typing-extensions 4.2.0
- While I'm here, update USES=python
---
net-p2p/py-transmission-rpc/Makefile | 4 ++--
net-p2p/py-transmission-rpc/files/patch-setup.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-p2p/py-transmission-rpc/Makefile b/net-p2p/py-transmission-rpc/Makefile
index e7330299f516..68bc6fb49381 100644
--- a/net-p2p/py-transmission-rpc/Makefile
+++ b/net-p2p/py-transmission-rpc/Makefile
@@ -10,10 +10,10 @@ COMMENT= Python module for Transmission bittorent client RPC protocol
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.2<4.2.0.0:devel/py-typing-extensions@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.2<4.2.0.1:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.23.0<3.0.0:www/py-requests@${PY_FLAVOR}
-USES= python:3.6+
+USES= python:3.7+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/net-p2p/py-transmission-rpc/files/patch-setup.py b/net-p2p/py-transmission-rpc/files/patch-setup.py
index 115a05de0c07..6b45e4ece429 100644
--- a/net-p2p/py-transmission-rpc/files/patch-setup.py
+++ b/net-p2p/py-transmission-rpc/files/patch-setup.py
@@ -8,7 +8,7 @@ https://github.com/Trim21/transmission-rpc/commit/9dafcea404b9
install_requires = \
-['requests>=2.23.0,<3.0.0', 'typing_extensions>=3.7.4.2,<4.0.0.0']
-+['requests>=2.23.0,<3.0.0', 'typing_extensions>=3.7.4.2,<4.2.0.0']
++['requests>=2.23.0,<3.0.0', 'typing_extensions>=3.7.4.2,<4.2.0.1']
extras_require = \
{'docs': ['sphinx==4.2.0', 'sphinx-rtd-theme==1.0.0']}