dev-python/google-generativeai: add 0.3.1
Closes: #2611 Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
d559d7d311
commit
5c02e18ccf
|
@ -612,7 +612,7 @@ 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 1599 Ebuilds in total, 1588 of them have in total 1603 (42 different) licenses assigned.
|
||||
There are 1600 Ebuilds in total, 1589 of them have in total 1603 (42 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
DIST google-generativeai-0.1.0.gh.tar.gz 78001 BLAKE2B 33303163ca141c747b515e8704b3913b438001b0179ea851eaf6814e56ea0a6e2530550facd08498146ddf6125e1139a8a94e3a365cd3b7f843b2fb7f75fd1e0 SHA512 9b9eb9da24836d5577ac6e4cbe198d81f9433ab713751ea48c165a60c6d13f30f7738e03d817846da7e577773fad0f55f7b3b235f7b91d0f1cb3c930bbbcaccd
|
||||
DIST google-generativeai-0.3.1.gh.tar.gz 122838 BLAKE2B 84a3d9a0c224b43f057d897877ae1cb5546f810740b16c9985a2aca3dcc0bbeb198364f5305e4d8b49e565fdac75d4cf2a0e489e83d1c60b42a5f7000bc06846 SHA512 ee8af82ce8a5142d90f449b3e4f9ce3630e46c875d7cd09c0099b309c0e4fcab54f35f7b0b1abcd96e00647af29e5c1c0ec47b1d03b07427d2194c6275062258
|
||||
EBUILD google-generativeai-0.1.0.ebuild 1063 BLAKE2B 1802afe2ab6dc061029f147d0862e16ca96e749520b05311bfddca06c79633ee0ec8ff6a7ecfc7dc2976e54a0d3dc888d84c22d6f103798af9efb9db8554a236 SHA512 0ad3e5c900c929a3dc2b3548f19a0989b0ef4cb66826e89f966e4984fa7bdf1cca99eba8bb6823b60a3f79154410a1db08dc4fa2e09c7570e94e64fa2de2a205
|
||||
EBUILD google-generativeai-0.3.1.ebuild 1063 BLAKE2B 2ce76a90857bb7069785876df1c4d964bb09a3cb6c420730e01bde5c41199b271606942ff388c7204acba3c59d3b9375401990fe6d0479610720cb575de9bb65 SHA512 78467940f94b7e747cdadf99ad6546a61bab97ba0f70c816fa124c705e4cd1c8d955c9d3fa455c86e42a051d91d1d179c2a4d224e167803120bd1cf81d7ba2ef
|
||||
MISC metadata.xml 541 BLAKE2B e1bd436ee3473054380dc6e7ba3a48250c79fa689389e56065e6a2cde99c836596208d44cc840d7b3bdf54b520dcaa9a6b702008d7a396a9910267f3596678e1 SHA512 6321d13991ed9b4914ff5755e4835f2c228906e6f6604aa9aaf9d6c4664cc18d1e37dda798e3e9a9a5c698c8c966e7f9143d5b1027da721ae20fb7697cf5db46
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
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.4.0[${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}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
Loading…
Reference in New Issue