diff options
Diffstat (limited to '')
-rw-r--r-- | misc/py-sagemaker-core/Makefile | 30 | ||||
-rw-r--r-- | misc/py-sagemaker-core/distinfo | 3 | ||||
-rw-r--r-- | misc/py-sagemaker-core/files/patch-pyproject.toml | 9 | ||||
-rw-r--r-- | misc/py-sagemaker-core/pkg-descr | 7 | ||||
-rw-r--r-- | misc/py-sagemaker/Makefile | 48 | ||||
-rw-r--r-- | misc/py-sagemaker/distinfo | 3 | ||||
-rw-r--r-- | misc/py-sagemaker/pkg-descr | 10 |
7 files changed, 110 insertions, 0 deletions
diff --git a/misc/py-sagemaker-core/Makefile b/misc/py-sagemaker-core/Makefile new file mode 100644 index 000000000000..e6c02a325f36 --- /dev/null +++ b/misc/py-sagemaker-core/Makefile @@ -0,0 +1,30 @@ +PORTNAME= sagemaker-core +DISTVERSION= 1.0.54 +CATEGORIES= misc python # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Sagemaker core functionalities +WWW= https://github.com/aws/sagemaker-core + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.35.36:www/py-boto3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}platformdirs>=4.0.0:devel/py-platformdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0.0:devel/py-pydantic2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=13.0.0:textproc/py-rich@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/misc/py-sagemaker-core/distinfo b/misc/py-sagemaker-core/distinfo new file mode 100644 index 000000000000..756437765622 --- /dev/null +++ b/misc/py-sagemaker-core/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1755879212 +SHA256 (sagemaker_core-1.0.54.tar.gz) = c3706174c346f22f85db9fd0ab8bb54a4112c089faeb055a68a2677e30ce9b3b +SIZE (sagemaker_core-1.0.54.tar.gz) = 411314 diff --git a/misc/py-sagemaker-core/files/patch-pyproject.toml b/misc/py-sagemaker-core/files/patch-pyproject.toml new file mode 100644 index 000000000000..0df034cb4cac --- /dev/null +++ b/misc/py-sagemaker-core/files/patch-pyproject.toml @@ -0,0 +1,9 @@ +--- pyproject.toml.orig 2025-08-22 16:19:19 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=64"] ++requires = ["setuptools"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/misc/py-sagemaker-core/pkg-descr b/misc/py-sagemaker-core/pkg-descr new file mode 100644 index 000000000000..3ecd7c4fbe95 --- /dev/null +++ b/misc/py-sagemaker-core/pkg-descr @@ -0,0 +1,7 @@ +sagemaker-core is a Python SDK designed to provide an object-oriented interface +for interacting with Amazon SageMaker resources. It offers full parity with +SageMaker APIs, allowing developers to leverage all SageMaker capabilities +directly through the SDK. sagemaker-core introduces features such as dedicated +resource classes, resource chaining, auto code completion, comprehensive +documentation and type hints to enhance the developer experience as well as +productivity. diff --git a/misc/py-sagemaker/Makefile b/misc/py-sagemaker/Makefile new file mode 100644 index 000000000000..9241b1930d6c --- /dev/null +++ b/misc/py-sagemaker/Makefile @@ -0,0 +1,48 @@ +PORTNAME= sagemaker +DISTVERSION= 2.251.0 +CATEGORIES= misc python # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= SageMaker: Library for training, deploying models on Amazon SageMaker +WWW= https://sagemaker.readthedocs.io/en/stable/ \ + https://github.com/aws/sagemaker-python-sdk + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=24<26:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cloudpickle>=2.2.1:devel/py-cloudpickle@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}docker>0:sysutils/py-docker@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fastapi>0:www/py-fastapi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}google-pasta>=0:devel/py-google-pasta@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}graphene>=3<4:devel/py-graphene@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}omegaconf>=2.2<3:devel/py-omegaconf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=0:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pathos>=0:devel/py-pathos@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}platformdirs>=0:devel/py-platformdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sagemaker-core>=1.0.17:misc/py-sagemaker-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}schema>=0:devel/py-schema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}smdebug-rulesconfig>=1.0.1:misc/py-smdebug-rulesconfig@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tblib>=1.7.0<4:devel/py-tblib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}uvicorn>=0:www/py-uvicorn@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/misc/py-sagemaker/distinfo b/misc/py-sagemaker/distinfo new file mode 100644 index 000000000000..e16fefb1fb4f --- /dev/null +++ b/misc/py-sagemaker/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1755878742 +SHA256 (sagemaker-2.251.0.tar.gz) = 86573b6db1e39fe7f1ff71749ddf3e231778b387944621c74b8ddc746f27b326 +SIZE (sagemaker-2.251.0.tar.gz) = 1228366 diff --git a/misc/py-sagemaker/pkg-descr b/misc/py-sagemaker/pkg-descr new file mode 100644 index 000000000000..0e6c037ecb96 --- /dev/null +++ b/misc/py-sagemaker/pkg-descr @@ -0,0 +1,10 @@ +SageMaker Python SDK is an open source library for training and deploying +machine learning models on Amazon SageMaker. + +With the SDK, you can train and deploy models using popular deep learning +frameworks Apache MXNet and TensorFlow. You can also train and deploy models +with Amazon algorithms, which are scalable implementations of core machine +learning algorithms that are optimized for SageMaker and GPU training. + +If you have your own algorithms built into SageMaker compatible Docker +containers, you can train and host models using these as well. |