mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
31 lines
918 B
Bash
31 lines
918 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{10..12} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Python client library for Google's large language model PaLM API"
|
|
HOMEPAGE="https://github.com/google/generative-ai-python"
|
|
SRC_URI="https://github.com/google/generative-ai-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm64 ~x86"
|
|
|
|
RESTRICT="test"
|
|
|
|
RDEPEND=">=dev-python/google-ai-generativelanguage-0.4.0[${PYTHON_USEDEP}]
|
|
dev-python/google-auth[${PYTHON_USEDEP}]
|
|
dev-python/google-api-core[${PYTHON_USEDEP}]
|
|
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
|
dev-python/protobuf-python[${PYTHON_USEDEP}]
|
|
dev-python/tqdm[${PYTHON_USEDEP}]
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
S=${WORKDIR}/generative-ai-python-${PV}
|