|
| 1 | +# Copyright 2026 Gentoo Authors |
| 2 | +# Distributed under the terms of the GNU General Public License v2 |
| 3 | + |
| 4 | +EAPI=8 |
| 5 | + |
| 6 | +PYTHON_COMPAT=( python3_{12..14} ) |
| 7 | +DISTUTILS_USE_PEP517=hatchling |
| 8 | + |
| 9 | +inherit distutils-r1 pypi |
| 10 | + |
| 11 | +DESCRIPTION="Python SDK for Model Context Protocol" |
| 12 | +HOMEPAGE="https://github.com/modelcontextprotocol/python-sdk" |
| 13 | + |
| 14 | +LICENSE="MIT" |
| 15 | +SLOT="0" |
| 16 | +KEYWORDS="amd64 ~arm64 ~x86" |
| 17 | +IUSE="cli rich" |
| 18 | + |
| 19 | +RESTRICT="test" |
| 20 | + |
| 21 | +RDEPEND=" |
| 22 | + >=dev-python/anyio-4.9[${PYTHON_USEDEP}] |
| 23 | + >=dev-python/cryptography-3.4.0[${PYTHON_USEDEP}] |
| 24 | + >=dev-python/httpx2-2.5.0[${PYTHON_USEDEP}] |
| 25 | + >=dev-python/jsonschema-4.20.0[${PYTHON_USEDEP}] |
| 26 | + =dev-python/mcp-types-${PV}[${PYTHON_USEDEP}] |
| 27 | + >=dev-python/opentelemetry-api-1.28.0[${PYTHON_USEDEP}] |
| 28 | + >=dev-python/pydantic-2.12.0[${PYTHON_USEDEP}] |
| 29 | + >=dev-python/pyjwt-2.10.1[${PYTHON_USEDEP}] |
| 30 | + >=dev-python/python-multipart-0.0.9[${PYTHON_USEDEP}] |
| 31 | + >=dev-python/sse-starlette-3.0.0[${PYTHON_USEDEP}] |
| 32 | + >=dev-python/starlette-0.48.0[${PYTHON_USEDEP}] |
| 33 | + >=dev-python/typing-extensions-4.13.0[${PYTHON_USEDEP}] |
| 34 | + >=dev-python/typing-inspection-0.4.1[${PYTHON_USEDEP}] |
| 35 | + >=dev-python/uvicorn-0.31.1[${PYTHON_USEDEP}] |
| 36 | + cli? ( |
| 37 | + >=dev-python/python-dotenv-1.0.0[${PYTHON_USEDEP}] |
| 38 | + >=dev-python/typer-0.16.0[${PYTHON_USEDEP}] |
| 39 | + ) |
| 40 | + rich? ( >=dev-python/rich-13.9.4[${PYTHON_USEDEP}] ) |
| 41 | +" |
| 42 | +DEPEND="${RDEPEND}" |
0 commit comments