diff --git a/misc/py-instructor/Makefile b/misc/py-instructor/Makefile index 4bd05618510c..589c6aa10009 100644 --- a/misc/py-instructor/Makefile +++ b/misc/py-instructor/Makefile @@ -1,29 +1,32 @@ PORTNAME= instructor -DISTVERSION= 0.6.8 -PORTREVISION= 2 +DISTVERSION= 1.7.9 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tagattie@FreeBSD.org COMMENT= Structured outputs for llms -WWW= https://github.com/jxnl/instructor +WWW= https://python.useinstructor.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openai>=1.1.0<2.0.0:misc/py-openai@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0.2<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.15<0.16:textproc/py-docstring_parser@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openai>=1.52.0<2.0.0:misc/py-openai@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.8.0<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.16<1.0:textproc/py-docstring_parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>=0.9.0<1.0.0:devel/py-typer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=13.7.0:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.9.1<4.0.0:www/py-aiohttp@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tenacity8>=8.2.3<9.0.0:devel/py-tenacity8@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}tenacity>=9.0.0<10.0.0:devel/py-tenacity@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.18.0<3.0.0:devel/py-pydantic-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jiter>=0.6.1:textproc/py-jiter@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.4<4.0.0:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.32.3<3.0.0:www/py-requests@${PY_FLAVOR} USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes .include diff --git a/misc/py-instructor/distinfo b/misc/py-instructor/distinfo index 5b8f75ba2f21..4817d4ae95ac 100644 --- a/misc/py-instructor/distinfo +++ b/misc/py-instructor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1717403453 -SHA256 (instructor-0.6.8.tar.gz) = e261d73deb3535d62ee775c437b82aeb6e9c2b2f63bb533b53a9fa6a47dbb95a -SIZE (instructor-0.6.8.tar.gz) = 34352 +TIMESTAMP = 1744710464 +SHA256 (instructor-1.7.9.tar.gz) = 3b7ff9119b386ebdc3c683a8af3c6461f424b9d80795d5e12676990b8379dd8a +SIZE (instructor-1.7.9.tar.gz) = 69063860 diff --git a/misc/py-instructor/files/patch-pyproject.toml b/misc/py-instructor/files/patch-pyproject.toml deleted file mode 100644 index b5a7f6a310c0..000000000000 --- a/misc/py-instructor/files/patch-pyproject.toml +++ /dev/null @@ -1,13 +0,0 @@ -Obtained from: https://github.com/jxnl/instructor/commit/c6273700c9ef7eea4acb88ac9eebb559d300a6a2 - ---- pyproject.toml.orig 2024-01-23 17:39:46 UTC -+++ pyproject.toml -@@ -13,7 +13,7 @@ docstring-parser = "^0.15" - openai = "^1.1.0" - pydantic = "^2.0.2" - docstring-parser = "^0.15" --typer = "^0.9.0" -+typer = ">=0.9.0,<1.0.0" - rich = "^13.7.0" - aiohttp = "^3.9.1" -