git: 39e841a05aaf - main - misc/py-openai: Update to 1.6.1

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Mon, 01 Jan 2024 21:50:49 UTC
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39e841a05aaf65e6cb5ece3b68c5b65db3c667ff

commit 39e841a05aaf65e6cb5ece3b68c5b65db3c667ff
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2024-01-01 21:48:19 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2024-01-01 21:48:19 +0000

    misc/py-openai: Update to 1.6.1
    
    Approved by:    yuri (maintainer)
---
 misc/py-openai/Makefile | 4 +++-
 misc/py-openai/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/misc/py-openai/Makefile b/misc/py-openai/Makefile
index a385ed576e45..f8231755b619 100644
--- a/misc/py-openai/Makefile
+++ b/misc/py-openai/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	openai
-DISTVERSION=	0.27.10
+DISTVERSION=	1.6.1
 CATEGORIES=	misc # machine-learning
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +12,10 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0<1:www/py-httpx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.20:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR}
 RUN_DEPENDS+=	${PYNUMPY} \
diff --git a/misc/py-openai/distinfo b/misc/py-openai/distinfo
index 9fb1b1520486..650823a62164 100644
--- a/misc/py-openai/distinfo
+++ b/misc/py-openai/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703667404
-SHA256 (openai-0.27.10.tar.gz) = 60e09edf7100080283688748c6803b7b3b52d5a55d21890f3815292a0552d83b
-SIZE (openai-0.27.10.tar.gz) = 61511
+TIMESTAMP = 1704145684
+SHA256 (openai-1.6.1.tar.gz) = d553ca9dbf9486b08e75b09e8671e4f638462aaadccfced632bf490fc3d75fa2
+SIZE (openai-1.6.1.tar.gz) = 124807