diff --git a/misc/py-anthropic/Makefile b/misc/py-anthropic/Makefile index 0ffa80933e1b..8a15e14c90af 100644 --- a/misc/py-anthropic/Makefile +++ b/misc/py-anthropic/Makefile @@ -1,30 +1,30 @@ PORTNAME= anthropic -DISTVERSION= 1.2.0 +DISTVERSION= 1.4.0 CATEGORIES= misc python # machine-learning MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= olivier@FreeBSD.org COMMENT= Convenient access to the Anthropic REST API via python WWW= https://github.com/anthropics/anthropic-sdk-python 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} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=3.5.0:devel/py-anyio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.15:textproc/py-docstring_parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx2>=2.0.0:www/py-httpx2@${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}typing-extensions>=4.14:devel/py-typing-extensions@${PY_FLAVOR} USES= python USE_PYTHON= pep517 autoplist NO_ARCH= yes .include diff --git a/misc/py-anthropic/distinfo b/misc/py-anthropic/distinfo index a87bf8c778fd..dda0b8352428 100644 --- a/misc/py-anthropic/distinfo +++ b/misc/py-anthropic/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1788068163 -SHA256 (anthropic-1.2.0.tar.gz) = 12f8eedee7b7fb5685837b1371b7bfae1b281703f62355f4632598ec2fc53b34 -SIZE (anthropic-1.2.0.tar.gz) = 1137443 +TIMESTAMP = 1788588994 +SHA256 (anthropic-1.4.0.tar.gz) = f0d017e901e48b343520b5d458f8240c283c8d850bf6d119834c622207e0a74c +SIZE (anthropic-1.4.0.tar.gz) = 1150831 diff --git a/misc/py-anthropic/files/patch-pyproject.toml b/misc/py-anthropic/files/patch-pyproject.toml index 2ff15e54630e..60c0f26fc3d8 100644 --- a/misc/py-anthropic/files/patch-pyproject.toml +++ b/misc/py-anthropic/files/patch-pyproject.toml @@ -1,11 +1,11 @@ ---- pyproject.toml.orig 2026-08-22 07:29:04 UTC +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC +++ pyproject.toml -@@ -98,7 +98,7 @@ pydantic-v2 = [ +@@ -99,7 +99,7 @@ pydantic-v2 = [ ] [build-system] -requires = ["hatchling==1.26.3", "hatch-fancy-pypi-readme>=22.4, <26"] +requires = ["hatchling>=1.26.3", "hatch-fancy-pypi-readme>=22.4, <26"] build-backend = "hatchling.build" [tool.hatch.build]