summaryrefslogtreecommitdiff
path: root/misc/py-instructor
diff options
context:
space:
mode:
Diffstat (limited to 'misc/py-instructor')
-rw-r--r--misc/py-instructor/Makefile21
-rw-r--r--misc/py-instructor/distinfo6
2 files changed, 18 insertions, 9 deletions
diff --git a/misc/py-instructor/Makefile b/misc/py-instructor/Makefile
index f3e5b5a70e38..2eeac6e0de5f 100644
--- a/misc/py-instructor/Makefile
+++ b/misc/py-instructor/Makefile
@@ -1,5 +1,5 @@
PORTNAME= instructor
-DISTVERSION= 1.8.3
+DISTVERSION= 1.10.0
CATEGORIES= misc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,17 +16,26 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openai>=1.70.0<2.0.0:misc/py-openai@${PY_FLA
${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}rich>=13.7.0<15.0.0:textproc/py-rich@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}aiohttp>=3.9.1<4.0.0:www/py-aiohttp@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tenacity>=9.0.0<10.0.0:devel/py-tenacity@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tenacity>=8.2.3<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}jiter>=0.6.1<0.11: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}
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.32.3<3.0.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}diskcache>=5.6.3:devel/py-diskcache@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist pep517
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
+PORTDOCS= CONTRIBUTING.md README.md
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>
diff --git a/misc/py-instructor/distinfo b/misc/py-instructor/distinfo
index 9d637b959dde..3f05b5720365 100644
--- a/misc/py-instructor/distinfo
+++ b/misc/py-instructor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1748059843
-SHA256 (instructor-1.8.3.tar.gz) = 04d64ebc0d6e5eee104f4715b18fac1a02c21757ae6ce76efa65d38cbd536b0b
-SIZE (instructor-1.8.3.tar.gz) = 69265823
+TIMESTAMP = 1752974651
+SHA256 (instructor-1.10.0.tar.gz) = 887d33e058b913290dbf526b0096b1bb8d7ea1a07d75afecbf716161f959697b
+SIZE (instructor-1.10.0.tar.gz) = 69388981