Install this version:
emerge -a =dev-python/google-generativeai-0.8.6
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/google-generativeai-0.8.6
Or alternatively:
emerge --autounmask-write -a =dev-python/google-generativeai-0.8.6
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1
DESCRIPTION="Google Generative AI High level API client library and tools."
HOMEPAGE="https://github.com/google/generative-ai-python https://pypi.org/project/google-generativeai/"
MY_PN="generative-ai-python"
SRC_URI="https://github.com/google/generative-ai-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S=${WORKDIR}/${MY_PN}-${PV}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="~dev-python/google-ai-generativelanguage-0.6.15[${PYTHON_USEDEP}]
dev-python/google-api-core[${PYTHON_USEDEP}]
dev-python/google-api-python-client[${PYTHON_USEDEP}]
>=dev-python/google-auth-2.38.0[${PYTHON_USEDEP}]
dev-python/protobuf[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]"
Manage flags for this package:
euse -i <flag> -p dev-python/google-generativeai |
euse -E <flag> -p dev-python/google-generativeai |
euse -D <flag> -p dev-python/google-generativeai
~dev-python/google-ai-generativelanguage-0.6.15[] dev-python/google-api-core[] dev-python/google-api-python-client[] >=dev-python/google-auth-2.38.0[] dev-python/protobuf[] dev-python/pydantic[] dev-python/tqdm[] dev-python/typing-extensions[]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | google-generativeai-0.8.6.gh.tar.gz | 46170985 bytes | https://github.com/google/generative-ai-python/archive/refs/tags/v0.8.6.tar.gz |