dev-python/mcp: add 1.28.1

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
Florian Albrechtskirchinger
2026-07-05 15:19:23 +02:00
parent 889714c2b1
commit 326afb81f0
2 changed files with 69 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
DIST mcp-1.26.0.tar.gz 608005 BLAKE2B d1dd8dd2cbe38574a9a7a6e7e9369e5944a63b750ed932c1b7751e171f06dca7f95db7f76dd0d9cc4b049baa3c945bc1074efd9e1a583dd41e183b40bdce5f7e SHA512 3de0c77f0fe580065a92be570528d1e56839973e79c035616008f186a0ff0eec85fdb10d1b3b3adb36f1ad0d52adb41fd5360873cb73c9271c33ada351549f12
DIST mcp-1.26.0.tar.gz.provenance 9789 BLAKE2B a2457a56ac3ad700805a886606199d4053c532cf2ac202ca1713d83b3c9f2a88557174e54da4bc710b55ff85478ac738e47c1dd86ed4f0f089e95241d36525c7 SHA512 c38d1125b8049bccdfeccb686ffe324d6b1bac5b38fe96089f5652e34e1c38247c1d2c07e8ffed7ae849d580b15dba4eee1c9f5cf049ee608e3ce94ad6baacc1
DIST mcp-1.28.1.tar.gz 638501 BLAKE2B 8aed47464fdd3a8214fd3344ab4b81965c6d9b287b91919771484cb8049b2db4d92ee434894ad2e42be5fe9812018ec38a256af75bd071e727d82404ecaab435 SHA512 565cc9e6f17f031d864a346c3aa98b6b2c139b4672f6bfb82675e3bc23ce5adb295783563b964d9d0a62c307f1bae239add7d90ef7b48e0d95caaa0c75bad405
DIST mcp-1.28.1.tar.gz.provenance 10257 BLAKE2B 681b37aa9fadfd67f12df90a312a09f3722fbc7c927d5aa9dae9a81daaae83f7f561a0b06b3dd5c2c69b4896e9fce37843310f0b4ef2c09c439e59e171f01481 SHA512 1f11a3981b523f390a94e7a0c387d499a5ebc5b7008ed385398a30770719ddede3482d4a6b7a94713952b34caa8cb14c2771cf7de7d16ed8dc2d10a150f6bfc8

View File

@@ -0,0 +1,67 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO=https://github.com/modelcontextprotocol/python-sdk
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 optfeature pypi
DESCRIPTION="Model Context Protocol SDK"
HOMEPAGE="
https://modelcontextprotocol.io/
https://github.com/modelcontextprotocol/python-sdk
https://pypi.org/project/mcp/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# >=cryptography-3.4.0 via pywt[crypto] (>=pyjwt-2.10.1)
RDEPEND="
>=dev-python/anyio-4.5.0[${PYTHON_USEDEP}]
>=dev-python/cryptography-3.4.0[${PYTHON_USEDEP}]
>=dev-python/httpx-0.27.1[${PYTHON_USEDEP}]
>=dev-python/httpx-sse-0.4.0[${PYTHON_USEDEP}]
>=dev-python/jsonschema-4.20.0[${PYTHON_USEDEP}]
>=dev-python/pydantic-2.12.0[${PYTHON_USEDEP}]
>=dev-python/pydantic-settings-2.5.2[${PYTHON_USEDEP}]
>=dev-python/pyjwt-2.10.1[${PYTHON_USEDEP}]
>=dev-python/python-dotenv-1.0.0[${PYTHON_USEDEP}]
>=dev-python/python-multipart-0.0.9[${PYTHON_USEDEP}]
>=dev-python/typer-0.16.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.9.0[${PYTHON_USEDEP}]
>=dev-python/typing-inspection-0.4.1[${PYTHON_USEDEP}]
>=dev-python/sse-starlette-1.6.1[${PYTHON_USEDEP}]
>=dev-python/starlette-0.48.0[${PYTHON_USEDEP}]
>=dev-python/uvicorn-0.31.1[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/dirty-equals-0.9.0[${PYTHON_USEDEP}]
>=dev-python/rich-13.9.4[${PYTHON_USEDEP}]
>=dev-python/websockets-15.0.1[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( anyio inline-snapshot )
EPYTEST_XDIST=1
distutils_enable_tests pytest
EPYTEST_IGNORE=(
# Requires dev-python/pytest-examples which depends on missing Python
# bindings in dev-util/ruff::gentoo
tests/test_examples.py
)
EPYTEST_DESELECT=(
# Runs dev-python/uv and requires network access (v1.28.1)
tests/client/test_config.py::test_command_execution
)
pkg_postinst() {
optfeature "colorized log output" dev-python/rich
optfeature "WebSockets support" dev-python/websockets
}