mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-22 16:14:02 +01:00
36 lines
942 B
Bash
36 lines
942 B
Bash
# Copyright 2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{12..14} )
|
|
DISTUTILS_USE_PEP517=hatchling
|
|
|
|
inherit distutils-r1 pypi
|
|
|
|
DESCRIPTION="Python SDK for Model Context Protocol"
|
|
HOMEPAGE="https://github.com/modelcontextprotocol/python-sdk"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm64 ~x86"
|
|
IUSE="cli rich ws"
|
|
|
|
RESTRICT="test"
|
|
|
|
RDEPEND="
|
|
>=dev-python/agent-client-protocol-0.6.3[${PYTHON_USEDEP}]
|
|
dev-python/anyio[${PYTHON_USEDEP}]
|
|
>=dev-python/jsonschema-4.20.0[${PYTHON_USEDEP}]
|
|
dev-python/httpx-sse[${PYTHON_USEDEP}]
|
|
dev-python/pydantic[${PYTHON_USEDEP}]
|
|
dev-python/starlette[${PYTHON_USEDEP}]
|
|
dev-python/sse-starlette[${PYTHON_USEDEP}]
|
|
rich? ( dev-python/rich[${PYTHON_USEDEP}] )
|
|
cli? (
|
|
dev-python/typer[${PYTHON_USEDEP}]
|
|
dev-python/python-dotenv[${PYTHON_USEDEP}]
|
|
)
|
|
ws? ( dev-python/websockets[${PYTHON_USEDEP}] )
|
|
"
|
|
DEPEND="${RDEPEND}"
|