From nobody Wed Dec 03 00:20:53 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dLdbC09h6z6JTLJ for ; Wed, 03 Dec 2025 00:20:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dLdbB0m1Xz3ZNV for ; Wed, 03 Dec 2025 00:20:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764721254; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yW4hjVOZH3DdWaeZF0hJy3HHjBdRrSNHNsVXCafj4MI=; b=CAgKjQ7J30oU7Ne6hhhchdvpjqkMfEAGBNMgrZ+ItSpEJ3xsdCnNkZKncwd1/1S6X3Upvw qP7tHAfmHdl9TfUfrOs3WbSpsEG3XOSMPHW28Wkvyo32LY1xenEav/wllxCyHLs9x4i0kO IRk76xjnw0pK3C47wbruXGLLr6WrTwTuv16ZJIOS1gExysiEF419SUEjQ4LliXMZqp54GH R42msOebT094Sk/RbfpQvmVZGLdwvyNvf4+CkFTlTg9PxGe8KLCiDWtt1Avye78flT9b3Y lOL90B7cH1tqIPmwGlJ9fFDhq5eJhgwaiB5exHi9SPi7M9JuS68Gqj69fiv8Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764721254; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yW4hjVOZH3DdWaeZF0hJy3HHjBdRrSNHNsVXCafj4MI=; b=BrSIB3guxrvpAChEjDDHSYjxuOvPCz6KiOQKENqZnTTDwLwTXsVr2Va9m+6QOHLKIdhvxq iYXkYUvFG6/dJQqnfSUN8enBjKf57NZFgySaos/zkbphw5Wd4AtOH5HEYB92g2bZvqD6AY jgd89x7wVv9Ak7T7M0rAlMSQos4pupF7QXNwJzm/u5KODPEZrD5RC7/+LO1eO5GhJi69RP RSd4dik4F6dmuz+UlIm6SvucFyABUUu4+DZ79adH7udxWbHIo6a2thnWbI1d0rZRCMI5ry J+x/3U9puwoqe64eaHO2+VKdbjKYT2uTxBCucFbkvTl1hpnUjBAv2W4mxhzXGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764721254; a=rsa-sha256; cv=none; b=Ss2aXC3+UrXymupDJ/uH/l836T2nUZ9sYYce1OsCOCfg3rIw/u0Zmot2bohWwEjOvXVHwy UlC3ZAhUbSHXB44PGSPAsdG0vcI3hPjxQuKvIoKCAse2ryB6c819gxo6AKfekznLk6g57Q LAUh6lRQH+UfJZlxcZo0QUEZb1T2fLdNCsxIiVQiE4hdsZ2MaVo25wTQHbAvlxnY8qH2Qx ENIkNVCCuLeokFH5eooUN19bs9F+6OEUepK9auoWoR+iaLT+e1/GOAZLxBdxJNYMT1i7tx M6cej3Ecn/NrCTFTqfWg4MqENImi8s0AOwLyb5It44P/W4+S+ZqhQ8HMJTpwbw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dLdb96wvYzHC for ; Wed, 03 Dec 2025 00:20:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 232a5 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 03 Dec 2025 00:20:53 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 83364a5e5f01 - main - misc/py-sagemaker-shim: New port: SageMaker: Adapter algorithms for Grand Challenge inference API List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 83364a5e5f0145da91e39bd85f7bc3c636b98bc6 Auto-Submitted: auto-generated Date: Wed, 03 Dec 2025 00:20:53 +0000 Message-Id: <692f8265.232a5.4f64ee7e@gitrepo.freebsd.org> The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=83364a5e5f0145da91e39bd85f7bc3c636b98bc6 commit 83364a5e5f0145da91e39bd85f7bc3c636b98bc6 Author: Yuri Victorovich AuthorDate: 2025-12-03 00:19:11 +0000 Commit: Yuri Victorovich CommitDate: 2025-12-03 00:20:48 +0000 misc/py-sagemaker-shim: New port: SageMaker: Adapter algorithms for Grand Challenge inference API --- misc/Makefile | 1 + misc/py-sagemaker-shim/Makefile | 28 +++++++++++++++++++++++ misc/py-sagemaker-shim/distinfo | 3 +++ misc/py-sagemaker-shim/files/patch-pyproject.toml | 19 +++++++++++++++ misc/py-sagemaker-shim/pkg-descr | 2 ++ 5 files changed, 53 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 09627b5bf2a5..032797b85fa3 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -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 diff --git a/misc/py-sagemaker-shim/Makefile b/misc/py-sagemaker-shim/Makefile new file mode 100644 index 000000000000..d87c70ab0bc9 --- /dev/null +++ b/misc/py-sagemaker-shim/Makefile @@ -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 diff --git a/misc/py-sagemaker-shim/distinfo b/misc/py-sagemaker-shim/distinfo new file mode 100644 index 000000000000..e16e07eb2dbd --- /dev/null +++ b/misc/py-sagemaker-shim/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1733176900 +SHA256 (sagemaker_shim-0.6.1.tar.gz) = 139e55ccecbed90230fc3365606954850317a0700f3581cb8dbe64e2f4454f83 +SIZE (sagemaker_shim-0.6.1.tar.gz) = 35684 diff --git a/misc/py-sagemaker-shim/files/patch-pyproject.toml b/misc/py-sagemaker-shim/files/patch-pyproject.toml new file mode 100644 index 000000000000..a56b3fe0247b --- /dev/null +++ b/misc/py-sagemaker-shim/files/patch-pyproject.toml @@ -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" diff --git a/misc/py-sagemaker-shim/pkg-descr b/misc/py-sagemaker-shim/pkg-descr new file mode 100644 index 000000000000..16d4b289d430 --- /dev/null +++ b/misc/py-sagemaker-shim/pkg-descr @@ -0,0 +1,2 @@ +sagemaker-shim adapts algorithms that implement the Grand Challenge inference +API for running in Amazon SageMaker.