1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

misc/py-torchvision: update 0.17.2 → 0.18.1

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2024-06-20 09:21:43 -07:00
parent 38335ffab0
commit 4a4e442f72
2 changed files with 7 additions and 5 deletions

View File

@ -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 \

View File

@ -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