summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/py-torchvision/Makefile4
-rw-r--r--misc/py-torchvision/distinfo6
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