misc/py-anthropic: update to 0.64.0
Sponsored by: SkunkWerks, GmbH Reported by: yuri
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
PORTNAME= anthropic
|
||||
DISTVERSION= 0.52.2
|
||||
CATEGORIES= misc python
|
||||
DISTVERSION= 0.64.0
|
||||
CATEGORIES= misc python # machine-learning
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
@@ -12,19 +12,19 @@ LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=3.5:devel/py-anyio@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}cached-property>=1.2.0:devel/py-cached-property@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0:www/py-httpx@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}jiter>=0.4.0<1:textproc/py-jiter@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pydantic2>1.9.0:devel/py-pydantic2@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sniffio>0:devel/py-sniffio@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}tokenizers>0:textproc/py-tokenizers@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.7:devel/py-typing-extensions@${PY_FLAVOR}
|
||||
${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=3.5.0:devel/py-anyio@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}distro>=1.7.0:sysutils/py-distro@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}httpx>=0.25.0:www/py-httpx@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}jiter>=0.4.0:textproc/py-jiter@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pydantic2>=1.9.0:devel/py-pydantic2@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}tokenizers>=0:textproc/py-tokenizers@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.10:devel/py-typing-extensions@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
USE_PYTHON= pep517 autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1749503482
|
||||
SHA256 (anthropic-0.52.2.tar.gz) = 9047bc960e8513950579c9cb730c16a84af3fcb56341ad7dc730772f83757050
|
||||
SIZE (anthropic-0.52.2.tar.gz) = 306204
|
||||
TIMESTAMP = 1756024233
|
||||
SHA256 (anthropic-0.64.0.tar.gz) = 3d496c91a63dff64f451b3e8e4b238a9640bf87b0c11d0b74ddc372ba5a3fe58
|
||||
SIZE (anthropic-0.64.0.tar.gz) = 427893
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
--- pyproject.toml.orig 2025-09-28 01:45:18 UTC
|
||||
--- pyproject.toml.orig 2025-08-24 08:31:41 UTC
|
||||
+++ pyproject.toml
|
||||
@@ -63,7 +63,7 @@ dev-dependencies = [
|
||||
@@ -65,7 +65,7 @@ dev-dependencies = [
|
||||
]
|
||||
|
||||
[build-system]
|
||||
-requires = ["hatchling==1.26.3", "hatch-fancy-pypi-readme"]
|
||||
+requires = ["hatchling", "hatch-fancy-pypi-readme"]
|
||||
+requires = ["hatchling>=1.26.3", "hatch-fancy-pypi-readme"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build]
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
Provides convenient access to the Anthropic REST API from any Python application.
|
||||
It includes type definitions for all request params and response fields, and
|
||||
offers both synchronous and asynchronous clients powered by httpx.
|
||||
The Anthropic Python library provides convenient access to the Anthropic
|
||||
REST API from any Python application. It includes type definitions for all
|
||||
request params and response fields, and offers both synchronous and
|
||||
asynchronous clients powered by httpx.
|
||||
|
||||
The REST API documentation can be found on docs.anthropic.com.
|
||||
|
||||
Reference in New Issue
Block a user