diff --git a/misc/py-anthropic/Makefile b/misc/py-anthropic/Makefile index 1d764df39a67..6beff670faea 100644 --- a/misc/py-anthropic/Makefile +++ b/misc/py-anthropic/Makefile @@ -1,31 +1,31 @@ PORTNAME= anthropic -DISTVERSION= 0.64.0 +DISTVERSION= 0.100.0 CATEGORIES= misc python # machine-learning MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +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}distro>=1.7.0:sysutils/py-distro@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.15:textproc/py-docstring_parser@${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} + ${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 bfad285e1a16..9dcf85eb37dd 100644 --- a/misc/py-anthropic/distinfo +++ b/misc/py-anthropic/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1756024233 -SHA256 (anthropic-0.64.0.tar.gz) = 3d496c91a63dff64f451b3e8e4b238a9640bf87b0c11d0b74ddc372ba5a3fe58 -SIZE (anthropic-0.64.0.tar.gz) = 427893 +TIMESTAMP = 1778175599 +SHA256 (anthropic-0.100.0.tar.gz) = 650dee9e023afb16395939ee4104bbc21f966b380210119fb91122c12099c79a +SIZE (anthropic-0.100.0.tar.gz) = 758255 diff --git a/misc/py-anthropic/files/patch-pyproject.toml b/misc/py-anthropic/files/patch-pyproject.toml index b14aec397d19..cab5675e6923 100644 --- a/misc/py-anthropic/files/patch-pyproject.toml +++ b/misc/py-anthropic/files/patch-pyproject.toml @@ -1,11 +1,11 @@ ---- pyproject.toml.orig 2025-08-24 08:31:41 UTC +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC +++ pyproject.toml -@@ -65,7 +65,7 @@ dev-dependencies = [ +@@ -95,7 +95,7 @@ pydantic-v2 = [ ] [build-system] -requires = ["hatchling==1.26.3", "hatch-fancy-pypi-readme"] +requires = ["hatchling>=1.26.3", "hatch-fancy-pypi-readme"] build-backend = "hatchling.build" [tool.hatch.build]