aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-12-09 06:43:25 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-12-09 11:22:21 +0000
commitfbf1a695cd2c3aa6c1604bffb8ef1b1791622701 (patch)
treece5a0f9da64ede4b833b97c8b04d80538af0a2d8
parente098ee96ce68c26f89c88f51af0779f12e43d4b4 (diff)
Mk/Uses/python.mk: Introduce PY_BACKPORTS.ZSTD
The minimal version is set to 1.0.0 because it is required by devel/py-hatch and net/py-urllib3.
-rw-r--r--Mk/Uses/python.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index e670f842489b..97ddbfe0dfdc 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -870,6 +870,10 @@ PY_SETUPTOOLS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAV
. endif
# Common Python modules that can be needed but only for some versions of Python.
+. if ${PYTHON_REL} < 31400
+PY_BACKPORTS.ZSTD= ${PYTHON_PKGNAMEPREFIX}backports.zstd>=1.0.0:devel/py-backports.zstd@${PY_FLAVOR}
+. endif
+
. if ${PYTHON_REL} < 31100
PY_EXCEPTIONGROUP= ${PYTHON_PKGNAMEPREFIX}exceptiongroup>=1.1.1:devel/py-exceptiongroup@${PY_FLAVOR}
PY_TOMLI= ${PYTHON_PKGNAMEPREFIX}tomli>=2.3<3:textproc/py-tomli@${PY_FLAVOR}