dev-python/google-generativeai: add 0.6.0

Closes: #3490
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-06-16 10:11:11 +02:00
parent 96522109dd
commit 359f0c9d37
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 36 additions and 4 deletions

View File

@ -606,11 +606,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1887 Ebuilds in total, 1876 of them have in total 1899 (42 different) licenses assigned.
There are 1888 Ebuilds in total, 1877 of them have in total 1900 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1078|
|MIT|1079|
|Apache-2.0|426|
|GPL-3|110|
|BSD|109|

View File

@ -1,3 +1,5 @@
DIST google-generativeai-0.3.1.gh.tar.gz 122838 BLAKE2B 84a3d9a0c224b43f057d897877ae1cb5546f810740b16c9985a2aca3dcc0bbeb198364f5305e4d8b49e565fdac75d4cf2a0e489e83d1c60b42a5f7000bc06846 SHA512 ee8af82ce8a5142d90f449b3e4f9ce3630e46c875d7cd09c0099b309c0e4fcab54f35f7b0b1abcd96e00647af29e5c1c0ec47b1d03b07427d2194c6275062258
EBUILD google-generativeai-0.3.1.ebuild 1063 BLAKE2B f507d9e0a8ec3b9398d6826cadf539a3b374985d87b074037ac48203056f9328257a075073ff4bd39c2b30cb4131c3ca48b2b1af23f9dadd97aec1b1b5b2d38f SHA512 1bf6b6b9ae75a6c57c69aba9a837aeae22e6b1fc09991c8885f87fa0f1d586d1c21fb6241dfbf39ee9480b403009b156fa35dad87e3c0bbc278dd68d9a48e29b
DIST google-generativeai-0.6.0.gh.tar.gz 171543 BLAKE2B 8fbeaedbbbaa994f9a8f3013035f6fa8772c677ec1063645390be1353d03ce0d951d98927a6b46204cf194a3c69c6a3a0d0e9248ff8ca2e576bbf74a006da8d0 SHA512 c867943466a1de306a46b96b1980c0ab91223d00fda7429047b74cf337e4ad3220f5a8a471a1e0e582014b7c22c943de6b028856fa7f64357a3b59e8e7921151
EBUILD google-generativeai-0.3.1.ebuild 1063 BLAKE2B 51b453bb5100d40cf18329609a6046c93ba8bf6ef9dc1be2b520170ac653cd64331b4e224580e2df3291ff95af2d6a137611351ca69fe015429d1b183d509386 SHA512 31cf0d6540d589b79c6ffb12fd07d162a35d99f877259194ec9ca10962d6252d5dea6bb97ed619247778bd3079fd9eecc7615101fdbdf34374c1c75c4ca90f83
EBUILD google-generativeai-0.6.0.ebuild 969 BLAKE2B 075f4087a6936f97cffef6fe1f5fb19e64bb169947fa7e22202ebbba840288610815bb368838d3d7b1daf0e3dcd4fc45d4945ecb6a4fbcd5bddbe986d5a86507 SHA512 746bd14ce0a39bc3b9b8b40d51e6b85d8dd47d7fb141cc1f40e221f9ab941e99b3f4e2c83b667074eabc898cebf3210223476b11c9498ecbbbc3f26ce6a2c70f
MISC metadata.xml 541 BLAKE2B e1bd436ee3473054380dc6e7ba3a48250c79fa689389e56065e6a2cde99c836596208d44cc840d7b3bdf54b520dcaa9a6b702008d7a396a9910267f3596678e1 SHA512 6321d13991ed9b4914ff5755e4835f2c228906e6f6604aa9aaf9d6c4664cc18d1e37dda798e3e9a9a5c698c8c966e7f9143d5b1027da721ae20fb7697cf5db46

View File

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

View File

@ -0,0 +1,30 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
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.5[${PYTHON_USEDEP}]
dev-python/google-auth[${PYTHON_USEDEP}]
dev-python/google-api-core[${PYTHON_USEDEP}]
dev-python/protobuf-python[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]"