git: fbf1a695cd2c - main - Mk/Uses/python.mk: Introduce PY_BACKPORTS.ZSTD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Dec 2025 11:28:08 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fbf1a695cd2c3aa6c1604bffb8ef1b1791622701
commit fbf1a695cd2c3aa6c1604bffb8ef1b1791622701
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-09 06:43:25 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-09 11:22:21 +0000
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.
---
Mk/Uses/python.mk | 4 ++++
1 file changed, 4 insertions(+)
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}