git: 3a9cf3829a51 - main - devel/py-scikit-build-core: Use PY_EXCEPTIONGROUP and PY_TOMLI
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Sep 2025 04:47:00 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3a9cf3829a5168a92c1382b56a78df5dbb5748e9
commit 3a9cf3829a5168a92c1382b56a78df5dbb5748e9
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-09-10 04:37:59 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-09-10 04:37:59 +0000
devel/py-scikit-build-core: Use PY_EXCEPTIONGROUP and PY_TOMLI
- While I'm here, clean up USES=python
Approved by: portmgr (blanket)
With hat: python
---
devel/py-scikit-build-core/Makefile | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/devel/py-scikit-build-core/Makefile b/devel/py-scikit-build-core/Makefile
index 52e91908fb39..0c4739f0f45b 100644
--- a/devel/py-scikit-build-core/Makefile
+++ b/devel/py-scikit-build-core/Makefile
@@ -18,8 +18,10 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=23.2:devel/py-packaging@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pathspec>=0.10.1:devel/py-pathspec@${PY_FLAVOR}
+RUN_DEPENDS= ${PY_EXCEPTIONGROUP} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>=23.2:devel/py-packaging@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pathspec>=0.10.1:devel/py-pathspec@${PY_FLAVOR} \
+ ${PY_TOMLI}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>=0.8:devel/py-build@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cattrs>=22.2.0:devel/py-cattrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fastjsonschema>0:devel/py-fastjsonschema@${PY_FLAVOR} \
@@ -36,7 +38,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>=0.8:devel/py-build@${PY_FLAVOR} \
git:devel/git \
ninja>0:devel/ninja
-USES= python:3.9+
+USES= python
USE_PYTHON= pep517 autoplist pytest
TEST_ENV= ${MAKE_ENV} \
@@ -44,13 +46,6 @@ TEST_ENV= ${MAKE_ENV} \
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 31100
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}exceptiongroup>=1.0:devel/py-exceptiongroup@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tomli>=1.2.2:textproc/py-tomli@${PY_FLAVOR}
-.endif
-
# tests as of 0.11.1: 1 failed, 415 passed, 5 skipped, 3 xfailed, 1 warning in 603.00s (0:10:03), see https://github.com/scikit-build/scikit-build-core/issues/1057
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>