Install this version:
emerge -a =dev-python/agent-client-protocol-1.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/agent-client-protocol-1.0.0
Or alternatively:
emerge --autounmask-write -a =dev-python/agent-client-protocol-1.0.0
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=pdm-backend
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
MY_PN="python-sdk"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A Python implement of Agent Client Protocol (ACP, by Zed Industries)"
HOMEPAGE="
https://github.com/agentclientprotocol/python-sdk
https://pypi.org/project/agent-client-protocol/
"
SRC_URI="
https://github.com/agentclientprotocol/${MY_PN}/archive/refs/tags/${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
>=dev-python/pydantic-2.7.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/h2-3[${PYTHON_USEDEP}]
>=dev-python/httpx-0.27[${PYTHON_USEDEP}]
>=dev-python/uvicorn-0.30[${PYTHON_USEDEP}]
>=dev-python/websockets-12.0[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-asyncio )
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# raise timeout
sed -i "s/timeout=2/timeout=10/" tests/real_user/test_stdio_limits.py || die
}
>=dev-python/pydantic-2.7.0[]
test? ( >=dev-python/h2-3[] >=dev-python/httpx-0.27[] >=dev-python/uvicorn-0.30[] >=dev-python/websockets-12.0[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | python-sdk-1.0.0.gh.tar.gz | 396434 bytes | https://github.com/agentclientprotocol/python-sdk/archive/refs/tags/1.0.0.tar.gz |