diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2026-07-09 08:00:08 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2026-07-09 08:00:08 +0000 |
| commit | ea78ac500847fff4583e1f6a50ca5668d9faa25f (patch) | |
| tree | ced28fc367a1e7eb71cda425c7e57094f491bc96 | |
| parent | 0941000bc8f4b82411cec1e8e839ec5a596e5852 (diff) | |
misc/py-ibm-watsonx-ai: New port: IBM watsonx.ai API Client
| -rw-r--r-- | misc/Makefile | 1 | ||||
| -rw-r--r-- | misc/py-ibm-watsonx-ai/Makefile | 38 | ||||
| -rw-r--r-- | misc/py-ibm-watsonx-ai/distinfo | 3 | ||||
| -rw-r--r-- | misc/py-ibm-watsonx-ai/pkg-descr | 4 |
4 files changed, 46 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 64275e52fda2..1a69af444ad7 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -523,6 +523,7 @@ SUBDIR += py-ibm-cos-sdk SUBDIR += py-ibm-cos-sdk-core SUBDIR += py-ibm-cos-sdk-s3transfer + SUBDIR += py-ibm-watsonx-ai SUBDIR += py-icoextract SUBDIR += py-instructor SUBDIR += py-ipyfastscape diff --git a/misc/py-ibm-watsonx-ai/Makefile b/misc/py-ibm-watsonx-ai/Makefile new file mode 100644 index 000000000000..508774e629a5 --- /dev/null +++ b/misc/py-ibm-watsonx-ai/Makefile @@ -0,0 +1,38 @@ +PORTNAME= ibm-watsonx-ai +PORTVERSION= 1.5.14 +CATEGORIES= misc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= IBM watsonx.ai API Client +WWW= https://pypi.org/project/ibm-watsonx-ai/ + +LICENSE= BSD3CLAUSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachetools>=0:devel/py-cachetools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpx>=0.27:www/py-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ibm-cos-sdk>=2.12.0:misc/py-ibm-cos-sdk@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lomond>0:www/py-lomond@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=0.24.2:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +post-extract: + @${REINPLACE_CMD} -e 's/^license = "\([^"]*\)"/license = {text = "\1"}/' \ + -e '/^license-files/d' \ + -e 's/exclude = \["tests\.\*", "tests"\]/exclude = ["tests.*", "tests", "docs", "docs.*", "scripts", "scripts.*"]/' \ + ${WRKSRC}/pyproject.toml + +.include <bsd.port.mk> diff --git a/misc/py-ibm-watsonx-ai/distinfo b/misc/py-ibm-watsonx-ai/distinfo new file mode 100644 index 000000000000..c6198cd26f84 --- /dev/null +++ b/misc/py-ibm-watsonx-ai/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1783087764 +SHA256 (ibm_watsonx_ai-1.5.14.tar.gz) = a756488bd57e87c0fc51be42dcba871143cfe0ac1e805c497c5047e1e4f13e9d +SIZE (ibm_watsonx_ai-1.5.14.tar.gz) = 735804 diff --git a/misc/py-ibm-watsonx-ai/pkg-descr b/misc/py-ibm-watsonx-ai/pkg-descr new file mode 100644 index 000000000000..0afeb5d16302 --- /dev/null +++ b/misc/py-ibm-watsonx-ai/pkg-descr @@ -0,0 +1,4 @@ +IBM watsonx.ai API Client provides Python bindings for the IBM +watsonx.ai platform. It enables interaction with IBM's AI and machine +learning services, including foundation model inference, model training, +and prompt engineering capabilities. |
