git: 40de5f6263d9 - main - math/py-jaxlib: add flavors

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 27 Oct 2026 08:02:20 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=40de5f6263d958fef3d65188fbd67cb30c4b75ba

commit 40de5f6263d958fef3d65188fbd67cb30c4b75ba
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-27 08:01:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-27 08:02:18 +0000

    math/py-jaxlib: add flavors
---
 math/py-jaxlib/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/math/py-jaxlib/Makefile b/math/py-jaxlib/Makefile
index 60d799577cdf..fc5b306bdf12 100644
--- a/math/py-jaxlib/Makefile
+++ b/math/py-jaxlib/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	jaxlib
 DISTVERSIONPREFIX=	jax-v
 DISTVERSION=	0.12.0.1
+PORTREVISION=	1
 CATEGORIES=	math python # machine-learning
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DIST_SUBDIR=	${PORTNAME}
@@ -27,13 +28,15 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ml-dtypes>=0.5.0:math/py-ml-dtypes@${PY_FLAV
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jax>0:math/py-jax@${PY_FLAVOR}
 
 USES=		java:build python shebangfix
-JAVA_VERSION=	21
-JAVA_VENDOR=	openjdk
+USE_PYTHON=	flavors
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	jax-ml
 GH_PROJECT=	jax
 
+JAVA_VERSION=	21
+JAVA_VENDOR=	openjdk
+
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 
 # Bazel dependencies that are fetched ahead of time, see Makefile.MASTER_SITES