diff --git a/misc/py-langchain-protocol/Makefile b/misc/py-langchain-protocol/Makefile index 6c9b6d6d343e..8257588cf6d9 100644 --- a/misc/py-langchain-protocol/Makefile +++ b/misc/py-langchain-protocol/Makefile @@ -1,23 +1,23 @@ PORTNAME= langchain-protocol -DISTVERSION= 0.0.18 +DISTVERSION= 0.0.19 CATEGORIES= misc python # machine-learning MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Python bindings for the LangChain agent streaming protocol WWW= https://github.com/langchain-ai/agent-protocol/tree/main/streaming \ https://github.com/langchain-ai/agent-protocol LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.13.0:devel/py-typing-extensions@${PY_FLAVOR} USES= python USE_PYTHON= pep517 autoplist NO_ARCH= yes .include diff --git a/misc/py-langchain-protocol/distinfo b/misc/py-langchain-protocol/distinfo index a6befddcc217..2dbe970a043f 100644 --- a/misc/py-langchain-protocol/distinfo +++ b/misc/py-langchain-protocol/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1781896385 -SHA256 (langchain_protocol-0.0.18.tar.gz) = ec3e11782f1ed0c9db38e5a9ed01b0e7a0d3fba406faa8aef6594b73c56a63e6 -SIZE (langchain_protocol-0.0.18.tar.gz) = 6150 +TIMESTAMP = 1788718646 +SHA256 (langchain_protocol-0.0.19.tar.gz) = 79d90a1425122ac87e8052e2ec054fbd09c3edbf341bdfb6397112a495c7bf8c +SIZE (langchain_protocol-0.0.19.tar.gz) = 6265 diff --git a/misc/py-langchain-protocol/files/patch-pyproject.toml b/misc/py-langchain-protocol/files/patch-pyproject.toml new file mode 100644 index 000000000000..fd33ff5a09eb --- /dev/null +++ b/misc/py-langchain-protocol/files/patch-pyproject.toml @@ -0,0 +1,14 @@ +-- Remove the upper bound on hatchling. Upstream pins hatchling<1.30, but the +-- FreeBSD Python ports ship hatchling 1.32.0 and the pin is only a build-tool +-- policy, not a runtime requirement. Keeping the lower bound preserves the +-- upstream minimum while allowing the current Ports tree version. + +--- pyproject.toml.orig 2026-09-06 00:00:00 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["hatchling>=1.26,<1.30"] ++requires = ["hatchling>=1.26"] + build-backend = "hatchling.build" + + [project]