diff options
Diffstat (limited to '')
-rw-r--r-- | misc/py-fastmcp/Makefile | 56 | ||||
-rw-r--r-- | misc/py-fastmcp/distinfo | 3 | ||||
-rw-r--r-- | misc/py-fastmcp/pkg-descr | 11 |
3 files changed, 70 insertions, 0 deletions
diff --git a/misc/py-fastmcp/Makefile b/misc/py-fastmcp/Makefile new file mode 100644 index 000000000000..f0ae3eccab33 --- /dev/null +++ b/misc/py-fastmcp/Makefile @@ -0,0 +1,56 @@ +PORTNAME= fastmcp +DISTVERSION= 2.12.1 +CATEGORIES= misc python # machine-learning +MASTER_SITES= PYPI # no tarball +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Fast, Pythonic way to build MCP servers and clients +WWW= https://gofastmcp.com/getting-started/welcome \ + https://github.com/jlowin/fastmcp + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}uv-dynamic-versioning>=0.7.0:devel/py-uv-dynamic-versioning@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}authlib>=1.5.2:security/py-authlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cyclopts>=3.0.0:devel/py-cyclopts@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}exceptiongroup>=1.2.2:devel/py-exceptiongroup@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpx>=0.28.1:www/py-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mcp>0:misc/py-mcp@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openai>=1.95.1:misc/py-openai@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openapi-core>=0.19.5:devel/py-openapi-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openapi-pydantic>=0.5.1:devel/py-openapi-pydantic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.11.7:devel/py-pydantic2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyperclip>0:devel/py-pyperclip@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dotenv>=1.1.0:www/py-python-dotenv@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=13.9.4:textproc/py-rich@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}websockets>=15.0.1:devel/py-websockets@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dirty-equals>=0.9.0:devel/py-dirty-equals@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fastapi>=0.115.12:www/py-fastapi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ipython>=8.12.3:devel/ipython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.23.5:devel/py-pytest-asyncio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-env>0:devel/py-pytest-env@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-httpx>0:devel/py-pytest-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.6.1:devel/py-pytest-xdist@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=8.3.3:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ruff>0:devel/py-ruff@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ty>0:devel/py-ty@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest + +BINARY_ALIAS= python=${PYTHON_CMD} + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +# tests as of 2.12.0: 54 failed, 2580 passed, 14 xfailed, 1 xpassed, 8 warnings, 1 error in 298.28s (0:04:58), see https://github.com/jlowin/fastmcp/issues/1690 +# tests as of 2.12.1: 57 failed, 2568 passed, 14 xfailed, 1 xpassed, 8 warnings, 2 errors in 343.76s (0:05:43) + +.include <bsd.port.mk> diff --git a/misc/py-fastmcp/distinfo b/misc/py-fastmcp/distinfo new file mode 100644 index 000000000000..674a8ccd41fb --- /dev/null +++ b/misc/py-fastmcp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1756969969 +SHA256 (fastmcp-2.12.1.tar.gz) = 0804428b26f601684e7ac1d650b46ab2b7b6c1e6c7ac77d51cdc7f58474d725f +SIZE (fastmcp-2.12.1.tar.gz) = 5240512 diff --git a/misc/py-fastmcp/pkg-descr b/misc/py-fastmcp/pkg-descr new file mode 100644 index 000000000000..61c726c5cef5 --- /dev/null +++ b/misc/py-fastmcp/pkg-descr @@ -0,0 +1,11 @@ +xFormers is a Toolbox to Accelerate Research on Transformers. + +xFormers is: +* Customizable building blocks: Independent/customizable building blocks that + can be used without boilerplate code. The components are domain-agnostic and + xFormers is used by researchers in vision, NLP and more. +* Research first: xFormers contains bleeding-edge components, that are not yet + available in mainstream libraries like PyTorch. +* Built with efficiency in mind: Because speed of iteration matters, components + are as fast and memory-efficient as possible. xFormers contains its own CUDA + kernels, but dispatches to other libraries when relevant. |