dev-python/anthropic: new package, add 0.31.2
Closes: #3552 Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
ef87a89274
commit
557a43ca97
@ -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 1962 Ebuilds in total, 1951 of them have in total 1975 (42 different) licenses assigned.
|
||||
There are 1964 Ebuilds in total, 1953 of them have in total 1977 (42 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1131|
|
||||
|MIT|1133|
|
||||
|Apache-2.0|437|
|
||||
|GPL-3|114|
|
||||
|BSD|113|
|
||||
|
3
dev-python/anthropic/Manifest
Normal file
3
dev-python/anthropic/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST anthropic-0.31.2.tar.gz 887756 BLAKE2B 10b3aeea702391bdcf8683f40e7f65c1fd97f94fedb58c90f267b0456533853f0685cb1c5ce5b9014fbc5ca0174e5c078e731e4520b07daae4337c7b3f5cc92f SHA512 9c6a7b2e0f1a5b4a9ca6e0d8271a46d9a5108628a00352f59be911440e4ba927f844ef4b4a2c56223fb419512c992e4031ff6aa848cc46d64b82a24507d9b844
|
||||
EBUILD anthropic-0.31.2.ebuild 856 BLAKE2B 40273a75e5818d8475c1cff4cbe8f86b2a6f925440a3ec06ec18b022b08241dd8f123990a2d693a8f7fe23452fee100a41b4dc91215ea065946eba47f51e0bd0 SHA512 a3c3bc8a937a980408d2a555bd497fd6e05bb3a99bc74232c2a3c2c875487b38e7d7c546d3804872b8d8af823e969620af93c36d2eba751218f1d20bfe864a50
|
||||
MISC metadata.xml 525 BLAKE2B 0320be4b25afcb591dbea12fc550fcf43a892f6de113a12a6b5f56ffbc321ae4f4931784db962552abf5da8c73ff157e4b63a00562085fd969e9f97c9d0a7bb7 SHA512 c4118098a5f1221c1faac35db49fbd7da4e2fce1b02e1625a1c126df0a420ee60c6e09d40bf6bc25217d49815e8258a5ff2c9aa17eed52a9686a69c884517bd3
|
31
dev-python/anthropic/anthropic-0.31.2.ebuild
Normal file
31
dev-python/anthropic/anthropic-0.31.2.ebuild
Normal file
@ -0,0 +1,31 @@
|
||||
# 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=hatchling
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="The official Python library for the anthropic API"
|
||||
HOMEPAGE="https://github.com/anthropics/anthropic-sdk-python https://pypi.org/project/anthropic/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/httpx-0.23.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pydantic-1.9.0[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
dev-python/anyio[${PYTHON_USEDEP}]
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
dev-python/sniffio[${PYTHON_USEDEP}]
|
||||
sci-libs/tokenizers[${PYTHON_USEDEP}]
|
||||
"
|
||||
# WIP: dev-python/jiter[${PYTHON_USEDEP}]
|
||||
|
||||
distutils_enable_tests pytest
|
16
dev-python/anthropic/metadata.xml
Normal file
16
dev-python/anthropic/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">anthropic</remote-id>
|
||||
<remote-id type="github">anthropics/anthropic-sdk-python</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>support@anthropic.com</email>
|
||||
<name>Anthropic</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user