dev-python/google-ai-generativelanguage: new package, add 0.3.3

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2023-10-22 10:57:02 +02:00
committed by Andreas Billmeier
parent baee84f78e
commit 84b356a0da
4 changed files with 55 additions and 2 deletions

View File

@@ -576,12 +576,12 @@ 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 1812 Ebuilds in total, 1801 of them have in total 1818 (40 different) licenses assigned.
There are 1814 Ebuilds in total, 1803 of them have in total 1820 (40 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1056|
|Apache-2.0|373|
|Apache-2.0|375|
|GPL-3|116|
|BSD|102|
|GPL-2|26|

View File

@@ -0,0 +1,3 @@
DIST google-ai-generativelanguage-0.3.3.tar.gz 233517 BLAKE2B cd1ec097fb3c4659249e3662aa251e47d5b3f2f399ba5f5013217e7e76bc4ceb17fbf6d7f2963a05b3f4cc2225034c11d35b98b888681c96230e9f363340785e SHA512 ff0ae889d4539dada3c5a1a914cf6347b46213fca4f061d066f2f74f64005c464f386eef6e4c3e3926a4bc1b6ccbacfc2c076bbef5993ca7cc62d1d0b1a1a3e8
EBUILD google-ai-generativelanguage-0.3.3.ebuild 828 BLAKE2B 4a648d777b8bcb9e8fa05d166422c48022f7eac709cd51017ed1bb82098a21d11b4c6b39fed7ea972e5154f697753265fd301a200e57c9aca505844048dc98d3 SHA512 aaa81fe4c7fe6e15d7fa83e113622fba02c7a2fdf552b2186f597d6c6b9468bed2e4bf8fcb20732139dbad143ba0d48b8ffd2b86db73f33cd630e5d94b882b44
MISC metadata.xml 553 BLAKE2B a869de8c268c30dbc373bd323d11a8be7a459c33a5af0397a1876526e778bf2f84d653b3bc25032818d9299c332be1888e444cc4fe0671e37166ff9c06029a2f SHA512 184f67c7f4cc407385e1d2d174c5033baaed631549877ed76b57fa2a0172712912b697fafa8424a2c153ef5a6affa104e1e0deb0b98f2f27249210a590148541

View File

@@ -0,0 +1,34 @@
# 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 pypi
DESCRIPTION="Google Ai Generativelanguage API client library"
HOMEPAGE="https://github.com/googleapis/google-cloud-python https://pypi.org/project/google-ai-generativelanguage/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND=">=dev-python/google-api-core-1.34.0[${PYTHON_USEDEP}]
>=dev-python/proto-plus-1.22.2[${PYTHON_USEDEP}]
>=dev-python/protobuf-python-3.19.5[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest

View 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-ai-generativelanguage</remote-id>
<remote-id type="github">googleapis/google-cloud-python</remote-id>
<maintainer status="unknown">
<email>googleapis-packages@google.com</email>
<name>Google LLC</name>
</maintainer>
</upstream>
</pkgmetadata>