google-generativeai-0.2.2.ebuild

This commit is contained in:
Anton Bolshakov 2023-12-08 16:23:22 +08:00
parent 7fabb6b193
commit 4451a25d39
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
6 changed files with 64 additions and 2 deletions

View file

@ -1 +1,2 @@
DIST google-ai-generativelanguage-0.3.1.tar.gz 91437 BLAKE2B b1b5b76d40657a1c993d654cad47afbfc03815f1d6d6f86a38fdf26acff938afc14aa9fff0563811e30d3c3f7f87f625f8376e9e4df31490e31e48f6b59d9a4e SHA512 f8daa1a6606376ffffbfe9419474e15c912b40d2f6208044938c6abe51c48cdfb6853afb367543fd96ad4e67fd91e6d16c69a0afcd29aee45fdd6f9d78bafd9f
DIST google-ai-generativelanguage-0.3.5.tar.gz 237858 BLAKE2B b30d8b2244e300aea5a7114fdd6b79829d17adb8960ec2bbb9413500aa637888529d8197d6cf57d3848e5021c1e942efb9c5179f45f9cac6fe83bc0c6f8db794 SHA512 f56861782d3bf00b2951d3ae7fc6534bbb4957d7aff0076204af052832de9903df1d7242e655e6ed2ed49003d05261b5f44aeb6a2f61c84f2c2af74a67ab384b

View file

@ -5,7 +5,7 @@ EAPI=8
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 pypi

View file

@ -0,0 +1,29 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 pypi
DESCRIPTION="Google Ai Generativelanguage API client library"
HOMEPAGE="https://pypi.org/project/google-ai-generativelanguage/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
IUSE=""
RESTRICT="test"
RDEPEND="
dev-python/google-api-core[${PYTHON_USEDEP}]
dev-python/proto-plus[${PYTHON_USEDEP}]
dev-python/protobuf-python[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
#distutils_enable_tests pytest

View file

@ -1 +1,2 @@
DIST v0.1.0.tar.gz 78001 BLAKE2B 33303163ca141c747b515e8704b3913b438001b0179ea851eaf6814e56ea0a6e2530550facd08498146ddf6125e1139a8a94e3a365cd3b7f843b2fb7f75fd1e0 SHA512 9b9eb9da24836d5577ac6e4cbe198d81f9433ab713751ea48c165a60c6d13f30f7738e03d817846da7e577773fad0f55f7b3b235f7b91d0f1cb3c930bbbcaccd
DIST v0.2.2.tar.gz 95613 BLAKE2B e35676400c68bfef20e2cfd0c96694f6fbecd038aa8a38bf24622da82d5aca9dfb8817d07f50e1827a5bf5342aae2c48818737a4a239b9277ec144691feeb57d SHA512 4007ce9dbf57677429f0a3729b65c9dbd1a40d417667b48619cf5b08d1ab8aad4a9eb2b756ac158adc757d9da6a1453d1ce2bc5479147fa2b43502f7c8cb616a

View file

@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1

View file

@ -0,0 +1,31 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
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"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
IUSE=""
RESTRICT="test"
RDEPEND=">=dev-python/google-ai-generativelanguage-0.3.3[${PYTHON_USEDEP}]
dev-python/google-auth[${PYTHON_USEDEP}]
dev-python/google-api-core[${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}