dev-python/google-generativeai: new package, add 0.1.0
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
3
dev-python/google-generativeai/Manifest
Normal file
3
dev-python/google-generativeai/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST google-generativeai-0.1.0.tar.gz 78001 BLAKE2B 33303163ca141c747b515e8704b3913b438001b0179ea851eaf6814e56ea0a6e2530550facd08498146ddf6125e1139a8a94e3a365cd3b7f843b2fb7f75fd1e0 SHA512 9b9eb9da24836d5577ac6e4cbe198d81f9433ab713751ea48c165a60c6d13f30f7738e03d817846da7e577773fad0f55f7b3b235f7b91d0f1cb3c930bbbcaccd
|
||||
EBUILD google-generativeai-0.1.0.ebuild 1060 BLAKE2B e9f39c4fd8eff102f892358f80b7ddd184feddcd37762aaf4d57ac9d1a120216fec24f444a5a89d4165ffe103f99c08eaa2c489f43988ec02e969ded544df128 SHA512 5da2161ee8a37152be12408c9971cb276f19150619836feaba86ded3083dcacaad379735d2b1e73569d9d7418c8bfb1476335c0ace00d62fa0f6c59f7c67eea9
|
||||
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}.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.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}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
16
dev-python/google-generativeai/metadata.xml
Normal file
16
dev-python/google-generativeai/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">google-generativeai</remote-id>
|
||||
<remote-id type="github">google/generative-ai-python</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>googleapis-packages@google.com</email>
|
||||
<name>Google LLC</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user