diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2025-05-05 12:04:32 +0000 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2025-05-05 14:33:05 +0000 |
| commit | 9cb9ea7c07617295fc66211ea9252609f09d0b54 (patch) | |
| tree | 7cac7c29c12e98b703566e14e052994faa542964 | |
| parent | 7fb570170257bc4fbd563cd109dcbb2c241451cf (diff) | |
Mk/Uses: Add new variable PY_TYPING_EXTENSIONS
devel/py-typing-extensions is a common dependency while the python
version is less than 3.11. To make things easier for committers add a
new var PY_TYPING_EXTENSIONS only when the python version is less than
3.11. This variable is not supposed to be used when typing-extensions is
a hard requirement irrespective of python versions.
| -rw-r--r-- | Mk/Uses/python.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index ef2f8f92b796..d2b787504316 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -857,6 +857,7 @@ PY_SETUPTOOLS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAV . if ${PYTHON_REL} < 31100 PY_EXCEPTIONGROUP= ${PYTHON_PKGNAMEPREFIX}exceptiongroup>=1.1.1:devel/py-exceptiongroup@${PY_FLAVOR} PY_TOMLI= ${PYTHON_PKGNAMEPREFIX}tomli>=2.0.2<3:textproc/py-tomli@${PY_FLAVOR} +PY_TYPING_EXTENSIONS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} . endif . if ${PYTHON_REL} >= 30000 |
