misc/py-sagemaker-shim: New port: SageMaker: Adapter algorithms for Grand Challenge inference API

This commit is contained in:
Yuri Victorovich
2025-12-02 16:20:48 -08:00
parent f8e917621d
commit 83364a5e5f
5 changed files with 53 additions and 0 deletions
+1
View File
@@ -562,6 +562,7 @@
SUBDIR += py-sagemaker
SUBDIR += py-sagemaker-core
SUBDIR += py-sagemaker-mlops
SUBDIR += py-sagemaker-shim
SUBDIR += py-sagemaker-train
SUBDIR += py-schedulefree
SUBDIR += py-scikit-fusion
+28
View File
@@ -0,0 +1,28 @@
PORTNAME= sagemaker-shim
PORTVERSION= 0.6.1
CATEGORIES= misc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= SageMaker: Adapter algorithms for Grand Challenge inference API
WWW= https://github.com/DIAGNijmegen/rse-sagemaker-shim
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aioboto3>0:devel/py-aioboto3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}botocore>0:devel/py-botocore@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fastapi>0:www/py-fastapi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}uvicorn>0:www/py-uvicorn@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517
NO_ARCH= yes
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1733176900
SHA256 (sagemaker_shim-0.6.1.tar.gz) = 139e55ccecbed90230fc3365606954850317a0700f3581cb8dbe64e2f4454f83
SIZE (sagemaker_shim-0.6.1.tar.gz) = 35684
@@ -0,0 +1,19 @@
--- pyproject.toml.orig 2025-10-23 07:40:05 UTC
+++ pyproject.toml
@@ -3,7 +3,7 @@ license = {text = "Apache-2.0"}
{name = "James Meakin"},
]
license = {text = "Apache-2.0"}
-requires-python = "==3.12.*"
+requires-python = ">=3.11"
dependencies = [
"fastapi!=0.89.0",
"uvicorn",
@@ -74,3 +74,7 @@ package = true
[tool.uv]
package = true
+
+[build-system]
+requires = ["setuptools", "wheel"]
+build-backend = "setuptools.build_meta"
+2
View File
@@ -0,0 +1,2 @@
sagemaker-shim adapts algorithms that implement the Grand Challenge inference
API for running in Amazon SageMaker.