Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2024 16:22:28 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4a4e442f72b3 - main - misc/py-torchvision: update 0.17.2 =?utf-8?Q?=E2=86=92?= 0.18.1
Message-ID:  <202406201622.45KGMS5w013533@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4a4e442f72b3b945b254c039c8b7a88c264299c6

commit 4a4e442f72b3b945b254c039c8b7a88c264299c6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-20 16:21:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-20 16:22:26 +0000

    misc/py-torchvision: update 0.17.2 → 0.18.1
    
    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406201622.45KGMS5w013533>