git: 386f2cd94ebb - main - misc/py-torchvision: update 0.22.0 → 0.23.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 19 Aug 2025 15:45:36 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=386f2cd94ebb37cd10a5306eb2e1043188ab950f

commit 386f2cd94ebb37cd10a5306eb2e1043188ab950f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-08-19 15:00:27 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-08-19 15:45:31 +0000

    misc/py-torchvision: update 0.22.0 → 0.23.0
---
 misc/py-torchvision/Makefile | 4 +++-
 misc/py-torchvision/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/misc/py-torchvision/Makefile b/misc/py-torchvision/Makefile
index a93703c3eaa5..3daab2cd49db 100644
--- a/misc/py-torchvision/Makefile
+++ b/misc/py-torchvision/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	torchvision
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.22.0
+DISTVERSION=	0.23.0
 CATEGORIES=	misc # machine-learning
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -35,6 +35,8 @@ GH_PROJECT=	vision
 
 MAKE_ENV=	TORCHVISION_INCLUDE=${LOCALBASE}/include # workaround for build failure suggested here: https://github.com/pytorch/vision/issues/8397#issuecomment-2168351425
 
+LDFLAGS+=	-Wl,-rpath=${PYTHON_SITELIBDIR}/torch/lib # https://github.com/pytorch/vision/issues/9185
+
 post-install: # strip binaries
 	@${STRIP_CMD} \
 		${STAGEDIR}${PYTHON_SITELIBDIR}/torchvision/_C.so \
diff --git a/misc/py-torchvision/distinfo b/misc/py-torchvision/distinfo
index 60131f3a7003..b2195d2a383c 100644
--- a/misc/py-torchvision/distinfo
+++ b/misc/py-torchvision/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745480170
-SHA256 (pytorch-vision-v0.22.0_GH0.tar.gz) = 83ed8855cdfb138aba6f116f8fd8da8b83463170dad67a70f60327915ed12014
-SIZE (pytorch-vision-v0.22.0_GH0.tar.gz) = 13266414
+TIMESTAMP = 1755592258
+SHA256 (pytorch-vision-v0.23.0_GH0.tar.gz) = db5a91569e5eb4a3b02e9eaad6080335f5ae3824890a697f5618541999f04027
+SIZE (pytorch-vision-v0.23.0_GH0.tar.gz) = 14496885