aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-12-02 21:08:20 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2025-12-03 00:20:47 +0000
commitd573134d9fc1b24f1bef64ac00273bd5fdaec456 (patch)
tree86af5b3dc81a313b98bb604dc78a90e355d40a54
parent5cbb92f3644f29f638225b3586f9223455bb91df (diff)
misc/py-sagemaker-mlops: New port: SageMaker: MLOps package for workflow orchestration
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-sagemaker-mlops/Makefile27
-rw-r--r--misc/py-sagemaker-mlops/distinfo3
-rw-r--r--misc/py-sagemaker-mlops/files/patch-pyproject.toml17
-rw-r--r--misc/py-sagemaker-mlops/pkg-descr3
5 files changed, 51 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index f326c81758e4..09627b5bf2a5 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -561,6 +561,7 @@
SUBDIR += py-safetensors
SUBDIR += py-sagemaker
SUBDIR += py-sagemaker-core
+ SUBDIR += py-sagemaker-mlops
SUBDIR += py-sagemaker-train
SUBDIR += py-schedulefree
SUBDIR += py-scikit-fusion
diff --git a/misc/py-sagemaker-mlops/Makefile b/misc/py-sagemaker-mlops/Makefile
new file mode 100644
index 000000000000..7d4dfc0b7d73
--- /dev/null
+++ b/misc/py-sagemaker-mlops/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= sagemaker-mlops
+DISTVERSION= 1.0
+CATEGORIES= misc python # machine-learning
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= SageMaker: MLOps package for workflow orchestration
+WWW= https://github.com/aws/sagemaker-python-sdk
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.35.75<2.0:www/py-boto3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}botocore>=1.35.75<2.0:devel/py-botocore@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sagemaker-core>=2.0.0:misc/py-sagemaker-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sagemaker-serve>=0.1.0:misc/py-sagemaker-serve@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sagemaker-train>=0.1.0:misc/py-sagemaker-train@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-sagemaker-mlops/distinfo b/misc/py-sagemaker-mlops/distinfo
new file mode 100644
index 000000000000..d4c41130acd1
--- /dev/null
+++ b/misc/py-sagemaker-mlops/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1733169906
+SHA256 (sagemaker_mlops-1.0.tar.gz) = 23569d405f4b88a6d9e9ca3a2e94e10501366a55b3a0381ebe74a232567da5d3
+SIZE (sagemaker_mlops-1.0.tar.gz) = 78543
diff --git a/misc/py-sagemaker-mlops/files/patch-pyproject.toml b/misc/py-sagemaker-mlops/files/patch-pyproject.toml
new file mode 100644
index 000000000000..77328136b945
--- /dev/null
+++ b/misc/py-sagemaker-mlops/files/patch-pyproject.toml
@@ -0,0 +1,17 @@
+--- pyproject.toml.orig 2025-11-20 21:01:00 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=64", "wheel"]
++requires = ["setuptools", "wheel"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
+@@ -39,7 +39,6 @@ dev = [
+ ]
+
+ [tool.setuptools]
+-package-dir = {"" = "src"}
+ include-package-data = true
+
+ [tool.setuptools.dynamic]
diff --git a/misc/py-sagemaker-mlops/pkg-descr b/misc/py-sagemaker-mlops/pkg-descr
new file mode 100644
index 000000000000..5cb460d6e678
--- /dev/null
+++ b/misc/py-sagemaker-mlops/pkg-descr
@@ -0,0 +1,3 @@
+SageMaker MLOps package provides high-level orchestration capabilities
+for Amazon SageMaker workflows, including pipeline definitions, step
+implementations, and model building utilities.