chromadb: WiP

This commit is contained in:
Anton Bolshakov 2026-01-18 17:24:46 +08:00
parent 4bf7beb635
commit 6ad0441864
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
11 changed files with 92 additions and 6 deletions

View file

@ -1,4 +1,4 @@
# Copyright 2025 Gentoo Authors
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -35,11 +35,11 @@ RDEPEND="
>=dev-python/httpx-0.27.0[${PYTHON_USEDEP}]
>=dev-python/rich-10.11.0[${PYTHON_USEDEP}]
>=dev-python/jsonschema-4.19.0[${PYTHON_USEDEP}]
>=sci-ml/tokenizers-0.13.2[${PYTHON_USEDEP}]
>=dev-python/pypika-0.48.9[${PYTHON_USEDEP}]
>=dev-python/pybase64-1.4.1[${PYTHON_USEDEP}]
"
# >=dev-python/tokenizers-0.13.2[${PYTHON_USEDEP}]
# >=dev-python/pypika-0.48.9[${PYTHON_USEDEP}]
# >=dev-python/pybase64-1.4.1[${PYTHON_USEDEP}]
# >=dev-python/posthog-2.4.0[${PYTHON_USEDEP}]
# >=dev-python/onnxruntime-1.14.1[${PYTHON_USEDEP}]
# >=dev-python/opentelemetry-exporter-otlp-proto-grpc-1.2.0[${PYTHON_USEDEP}]

View file

@ -14,6 +14,7 @@ HOMEPAGE="https://github.com/modelcontextprotocol/python-sdk"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
IUSE="cli rich ws"
RESTRICT="test"
@ -25,5 +26,11 @@ RDEPEND="
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}"

View file

@ -5,6 +5,11 @@
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<use>
<flag name="cli">cli support</flag>
<flag name="rich">rich support</flag>
<flag name="ws">ws support</flag>
</use>
<upstream>
<remote-id type="github">modelcontextprotocol/python-sdk</remote-id>
<remote-id type="pypi">mcp</remote-id>

View file

@ -0,0 +1 @@
DIST pybase64-1.4.3.tar.gz 137272 BLAKE2B 11a7a4f0d8e2a79b47b3258c5f781dd0885ac4ad9fdcac5d56787bfe9faf8f4585e170b636d7596abaad70ca8cc696fc11ea7cac0fb1bcba0ee0a17598dea228 SHA512 305984d17d117c218312750daaf72d0a4dce2b6a7714fe0ad7f7d732bbe5728f4721d93fd67de742d4ed3cbb8ff30e8b697a9378386ede55bae9ec44a2cda621

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">mayeut/pybase64</remote-id>
<remote-id type="pypi">pybase64</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,26 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Fast Base64 implementation"
HOMEPAGE="https://github.com/mayeut/pybase64 https://pypi.org/project/pybase64"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
distutils_enable_sphinx doc \
dev-python/furo
distutils_enable_tests pytest

View file

@ -18,7 +18,7 @@ KEYWORDS="amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/click-8.2.1[${PYTHON_USEDEP}]
>=dev-python/click-option-group-0.5.9[${PYTHON_USEDEP}]
>=dev-python/mcp-1.9.4[${PYTHON_USEDEP}]
>=dev-python/mcp-1.9.4[cli,${PYTHON_USEDEP}]
>=dev-python/pyghidra-2.2.1[${PYTHON_USEDEP}]
>=dev-python/chromadb-1.3.5[${PYTHON_USEDEP}]
>=dev-python/ghidrecomp-0.5.8[${PYTHON_USEDEP}]

View file

@ -0,0 +1 @@
DIST pypika-0.50.0.tar.gz 81033 BLAKE2B e0fbfd1383bcd9572c5fea8623e043ae057c119e87d6d99cfba800d097938e454268bc88246c284909d80e061dfb9b3283724f0b2163391fa394e73d6385170b SHA512 3792608d458a32e102d6d34ac8ffe701b34c09f3a2406a93871a1a46aa2bef0b8e073cb704557f00e90a35795796adbaaadf9fa9336756158915e7c0dbe2e8b1

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="pypi">PyPika</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,23 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="A SQL query builder API for Python"
HOMEPAGE="https://pypi.org/project/PyPika/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
#RDEPEND=""
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="test"
#distutils_enable_tests pytest

View file

@ -1,4 +1,4 @@
# Copyright 2025 Gentoo Authors
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8