From 4a4e442f72b3b945b254c039c8b7a88c264299c6 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Thu, 20 Jun 2024 09:21:43 -0700 Subject: [PATCH] =?UTF-8?q?misc/py-torchvision:=20update=200.17.2=20?= =?UTF-8?q?=E2=86=92=200.18.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported by: portscout --- misc/py-torchvision/Makefile | 6 ++++-- misc/py-torchvision/distinfo | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/misc/py-torchvision/Makefile b/misc/py-torchvision/Makefile index 05168ec4309e..973a4e17bb9d 100644 --- a/misc/py-torchvision/Makefile +++ b/misc/py-torchvision/Makefile @@ -1,6 +1,6 @@ PORTNAME= torchvision DISTVERSIONPREFIX= v -DISTVERSION= 0.17.2 +DISTVERSION= 0.18.1 CATEGORIES= misc # machine-learning PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,13 +19,15 @@ PY_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=5.3.0:graphics/py-pillow@${PY_FLAVOR BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -USES= python +USES= jpeg python USE_PYTHON= distutils autoplist pytest # tests run in a very high memory ; in 0.17.1 tests fail to run, see https://github.com/pytorch/vision/issues/8278 USE_GITHUB= yes GH_ACCOUNT= pytorch GH_PROJECT= vision +MAKE_ENV= TORCHVISION_INCLUDE=${LOCALBASE}/include # workaround for build failure suggested here: https://github.com/pytorch/vision/issues/8397#issuecomment-2168351425 + 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 9e8e84386a1f..01d231d98536 100644 --- a/misc/py-torchvision/distinfo +++ b/misc/py-torchvision/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1711741695 -SHA256 (pytorch-vision-v0.17.2_GH0.tar.gz) = 0f9304acd77aafb7cfaf3fd5e318b2986ecc73547394b971d710eacd59f3e78e -SIZE (pytorch-vision-v0.17.2_GH0.tar.gz) = 13091218 +TIMESTAMP = 1718852076 +SHA256 (pytorch-vision-v0.18.1_GH0.tar.gz) = 347d472a9ceecc44e0bee1eda140d63cfaffc74a54ec07d4b98da7698ce75516 +SIZE (pytorch-vision-v0.18.1_GH0.tar.gz) = 9485686