git: 5163d1e1a894 - main - misc/py-google-genai: update 1.39.0 → 1.56.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jan 2026 09:28:28 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5163d1e1a8945c93c7e02cb1b9cf762babccb303
commit 5163d1e1a8945c93c7e02cb1b9cf762babccb303
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-01-05 06:07:46 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-01-05 09:28:16 +0000
misc/py-google-genai: update 1.39.0 → 1.56.0
---
misc/py-google-genai/Makefile | 8 +++++---
misc/py-google-genai/distinfo | 6 +++---
misc/py-google-genai/files/patch-pyproject.toml | 10 ++++++++++
3 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/misc/py-google-genai/Makefile b/misc/py-google-genai/Makefile
index b3edf608b030..a056a37238a1 100644
--- a/misc/py-google-genai/Makefile
+++ b/misc/py-google-genai/Makefile
@@ -1,6 +1,6 @@
PORTNAME= google-genai
DISTVERSIONPREFIX= v
-DISTVERSION= 1.39.0
+DISTVERSION= 1.56.0
CATEGORIES= misc python # machine-learning
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,10 +20,12 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=24.2:devel/py-packaging@${PY_FL
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
#from pyproject.toml
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=4.8.0<5.0.0:devel/py-anyio@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}google-auth>=2.14.1<3.0.0:security/py-google-auth@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}distro>=1.7.0:sysutils/py-distro@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}google-auth>0:security/py-google-auth@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}httpx>=0.28.1<1.0.0:www/py-httpx@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0.0<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.9.0<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.28.1<3.0.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sniffio>0:devel/py-sniffio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tenacity>=8.2.3<9.2.0:devel/py-tenacity@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.11.0<5.0.0:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websockets>=13.0.0<15.1.0:devel/py-websockets@${PY_FLAVOR}
diff --git a/misc/py-google-genai/distinfo b/misc/py-google-genai/distinfo
index 04b5f62a8e0f..97b02c181e73 100644
--- a/misc/py-google-genai/distinfo
+++ b/misc/py-google-genai/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1758869608
-SHA256 (googleapis-python-genai-v1.39.0_GH0.tar.gz) = e6f866566a21bf17f1b34f97ae46ec13692a1e756c4a4cece50af47739dcbc87
-SIZE (googleapis-python-genai-v1.39.0_GH0.tar.gz) = 3920378
+TIMESTAMP = 1767581812
+SHA256 (googleapis-python-genai-v1.56.0_GH0.tar.gz) = 40f5974d5f6b668fc6226e413536a9a7bbea00c1ddaf810d1d1890dc80feddea
+SIZE (googleapis-python-genai-v1.56.0_GH0.tar.gz) = 9074456
diff --git a/misc/py-google-genai/files/patch-pyproject.toml b/misc/py-google-genai/files/patch-pyproject.toml
new file mode 100644
index 000000000000..fe59b5daa0c4
--- /dev/null
+++ b/misc/py-google-genai/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+--- pyproject.toml.orig 2026-01-05 06:06:35 UTC
++++ pyproject.toml
+@@ -6,7 +6,6 @@ readme = "README.md"
+ version = "1.56.0"
+ description = "GenAI Python SDK"
+ readme = "README.md"
+-license = "Apache-2.0"
+ requires-python = ">=3.10"
+ authors = [
+ { name = "Google LLC", email = "googleapis-packages@google.com" },