git: f6c04701416e - main - devel/py-scikit-build: update 0.18.1 → 0.19.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Apr 2026 15:43:01 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f6c04701416e3fca4225c1cb0a8db225dad99c82
commit f6c04701416e3fca4225c1cb0a8db225dad99c82
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-30 15:42:34 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-30 15:42:48 +0000
devel/py-scikit-build: update 0.18.1 → 0.19.0
---
devel/py-scikit-build/Makefile | 13 ++++++++++---
devel/py-scikit-build/distinfo | 6 +++---
devel/py-scikit-build/files/patch-pyproject.toml | 16 ++++++++++++++++
3 files changed, 29 insertions(+), 6 deletions(-)
diff --git a/devel/py-scikit-build/Makefile b/devel/py-scikit-build/Makefile
index 307705d357eb..931d034ec8a3 100644
--- a/devel/py-scikit-build/Makefile
+++ b/devel/py-scikit-build/Makefile
@@ -1,5 +1,5 @@
PORTNAME= scikit-build
-DISTVERSION= 0.18.1
+DISTVERSION= 0.19.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,9 +21,12 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=42.0.0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tomli>0:textproc/py-tomli@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0.32.0:devel/py-wheel@${PY_FLAVOR}
TEST_DEPENDS= cmake:devel/cmake-core \
${PYTHON_PKGNAMEPREFIX}build>=0.7:devel/py-build@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}path.py>=11.5.0:devel/py-path.py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-mock>=1.10.4:devel/py-pytest-mock@${PY_FLAVOR} \
@@ -31,10 +34,14 @@ TEST_DEPENDS= cmake:devel/cmake-core \
${PYTHON_PKGNAMEPREFIX}virtualenv>0:devel/py-virtualenv@${PY_FLAVOR}
USES= python
-USE_PYTHON= pep517 autoplist pytest # 1 tests fail, 4 errors, see https://github.com/scikit-build/scikit-build/issues/791
+USE_PYTHON= pep517 autoplist pytest
NO_ARCH= yes
-# tests 2 failed, 61 passed, 2 skipped, 4 warnings in 285.83s (0:04:45), see https://github.com/scikit-build/scikit-build/issues/1124
+# tests as of 0.19.0: all failuresfrom tests writing into Python's installadin dir which is odd for why are they doing this
+# Results (166.59s):
+# 4 failed
+# 384 passed
+# 25 skipped
.include <bsd.port.mk>
diff --git a/devel/py-scikit-build/distinfo b/devel/py-scikit-build/distinfo
index 939b217ac61c..5171153cdd55 100644
--- a/devel/py-scikit-build/distinfo
+++ b/devel/py-scikit-build/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1731111056
-SHA256 (scikit_build-0.18.1.tar.gz) = a4152ac5a084d499c28a7797be0628d8366c336e2fb0e1a063eb32e55efcb8e7
-SIZE (scikit_build-0.18.1.tar.gz) = 274171
+TIMESTAMP = 1777562350
+SHA256 (scikit_build-0.19.0.tar.gz) = 46e1b2d71343d14e4c07d7e60902e673c78defb9a2c282b70ad80fb8502ade2e
+SIZE (scikit_build-0.19.0.tar.gz) = 274552
diff --git a/devel/py-scikit-build/files/patch-pyproject.toml b/devel/py-scikit-build/files/patch-pyproject.toml
new file mode 100644
index 000000000000..450edb471004
--- /dev/null
+++ b/devel/py-scikit-build/files/patch-pyproject.toml
@@ -0,0 +1,16 @@
+-- Ignore FutureWarning from wheel bdist_wheel when using setuptools < 70.1
+-- The 'wheel' package is deprecated as the canonical location for bdist_wheel,
+-- but we need to support older setuptools versions that don't have the integrated version.
+-- This warning should not cause test failures.
+-- See: https://github.com/scikit-build/scikit-build/issues/1124
+
+--- pyproject.toml.orig 2026-04-30 15:21:38 UTC
++++ pyproject.toml
+@@ -184,6 +184,7 @@ filterwarnings = [
+ 'default:subprocess .* is still running:ResourceWarning',
+ 'ignore:pkg_resources is deprecated as an API:DeprecationWarning',
+ 'ignore:onerror argument is deprecated, use onexc instead:DeprecationWarning', # Caused by wheel and Python 3.12
++ 'ignore:The .wheel. package is no longer the canonical location.*:FutureWarning', # Caused by wheel and old setuptools
+ 'ignore:(ast.Str|Attribute s|ast.NameConstant|ast.Num) is deprecated:DeprecationWarning:_pytest',
+ ]
+ log_level = "INFO"