git: c8525b9dab3d - main - misc/py-skops: New port: Set of tools related to machine learning in production

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 29 Jun 2026 05:55:36 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c8525b9dab3dd3505c5b70445786b0af46a4bb3e

commit c8525b9dab3dd3505c5b70445786b0af46a4bb3e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-28 17:08:30 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-29 05:55:31 +0000

    misc/py-skops: New port: Set of tools related to machine learning in production
---
 misc/Makefile           |  1 +
 misc/py-skops/Makefile  | 27 +++++++++++++++++++++++++++
 misc/py-skops/distinfo  |  3 +++
 misc/py-skops/pkg-descr |  2 ++
 4 files changed, 33 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 3d66f877201a..c711206b15fe 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -623,6 +623,7 @@
     SUBDIR += py-shap2
     SUBDIR += py-shell-gpt
     SUBDIR += py-sigopt
+    SUBDIR += py-skops
     SUBDIR += py-smdebug-rulesconfig
     SUBDIR += py-snakemake-interface-common
     SUBDIR += py-snakemake-interface-executor-plugins
diff --git a/misc/py-skops/Makefile b/misc/py-skops/Makefile
new file mode 100644
index 000000000000..782ca8b7d75f
--- /dev/null
+++ b/misc/py-skops/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	skops
+DISTVERSION=	0.14.0
+CATEGORIES=	misc python # machine-learning
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Set of tools related to machine learning in production
+WWW=		https://skops.readthedocs.io/en/stable \
+		https://github.com/skops-dev/skops
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.25.0:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=17.0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}prettytable>=3.9:devel/py-prettytable@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.2:science/py-scikit-learn@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.10.0:science/py-scipy@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist concurrent
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-skops/distinfo b/misc/py-skops/distinfo
new file mode 100644
index 000000000000..151a5af22893
--- /dev/null
+++ b/misc/py-skops/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1782631060
+SHA256 (skops-0.14.0.tar.gz) = 6c8c0e047f691a3a582c3258943eecafcbfd79c8c7eef66260f3703e363254f0
+SIZE (skops-0.14.0.tar.gz) = 608084
diff --git a/misc/py-skops/pkg-descr b/misc/py-skops/pkg-descr
new file mode 100644
index 000000000000..ead09147b55f
--- /dev/null
+++ b/misc/py-skops/pkg-descr
@@ -0,0 +1,2 @@
+skops is a set of tools for scikit-learn compatibility and machine learning
+in production, including model cards and persistence helpers.