git: 78061c6c89a0 - main - misc/py-smdebug-rulesconfig: New port: SageMaker: SMDebug RulesConfig (library for Amazon Sagemaker)

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 22 Aug 2025 17:45:22 UTC
The branch main has been updated by yuri:

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

commit 78061c6c89a0fd2dbe6a8b80db6443ec27414e93
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-08-22 16:31:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-08-22 17:45:19 +0000

    misc/py-smdebug-rulesconfig: New port: SageMaker: SMDebug RulesConfig (library for Amazon Sagemaker)
---
 misc/Makefile                         |  1 +
 misc/py-smdebug-rulesconfig/Makefile  | 19 +++++++++++++++++++
 misc/py-smdebug-rulesconfig/distinfo  |  3 +++
 misc/py-smdebug-rulesconfig/pkg-descr | 13 +++++++++++++
 4 files changed, 36 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 50ea312a49dc..30a1016d3774 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -533,6 +533,7 @@
     SUBDIR += py-shap2
     SUBDIR += py-shell-gpt
     SUBDIR += py-sigopt
+    SUBDIR += py-smdebug-rulesconfig
     SUBDIR += py-soapy_power
     SUBDIR += py-spdx-tools
     SUBDIR += py-spinners
diff --git a/misc/py-smdebug-rulesconfig/Makefile b/misc/py-smdebug-rulesconfig/Makefile
new file mode 100644
index 000000000000..7453602b9b5b
--- /dev/null
+++ b/misc/py-smdebug-rulesconfig/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	smdebug-rulesconfig
+DISTVERSION=	1.0.1
+CATEGORIES=	misc python # machine-learning
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	SageMaker: SMDebug RulesConfig (library for Amazon Sagemaker)
+WWW=		https://github.com/awslabs/sagemaker-debugger-rulesconfig
+
+LICENSE=	APACHE20
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-smdebug-rulesconfig/distinfo b/misc/py-smdebug-rulesconfig/distinfo
new file mode 100644
index 000000000000..375a74ff9c53
--- /dev/null
+++ b/misc/py-smdebug-rulesconfig/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1755880100
+SHA256 (smdebug_rulesconfig-1.0.1.tar.gz) = 7a19e6eb2e6bcfefbc07e4a86ef7a88f32495001a038bf28c7d8e77ab793fcd6
+SIZE (smdebug_rulesconfig-1.0.1.tar.gz) = 12060
diff --git a/misc/py-smdebug-rulesconfig/pkg-descr b/misc/py-smdebug-rulesconfig/pkg-descr
new file mode 100644
index 000000000000..8d569260be8e
--- /dev/null
+++ b/misc/py-smdebug-rulesconfig/pkg-descr
@@ -0,0 +1,13 @@
+Amazon SageMaker Debugger is designed to be a debugger for machine learning
+models. It lets you go beyond just looking at scalars like losses and
+accuracies during training and gives you full visibility into all tensors
+'flowing through the graph' during training or inference.
+
+Amazon SageMaker Debugger RulesConfig provides a mapping of builtin rules with
+default configurations. These configurations will affect both DebugHookConfig
+and DebugRuleConfigurations in the Amazon SageMaker Python SDK.
+
+This library, intended to be used with Amazon SageMaker Python SDK, helps you
+specify builtin rules without worrying about any details or tweak the
+configuration of builtin rules. These builtin rules are available in Amazon
+SageMaker.