Skip to content

Commit

Permalink
misc/py-torchvision: update 0.17.2 → 0.18.1
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Jun 20, 2024
1 parent 38335ff commit 4a4e442
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions misc/py-torchvision/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= torchvision
DISTVERSIONPREFIX= v
DISTVERSION= 0.17.2
DISTVERSION= 0.18.1
CATEGORIES= misc # machine-learning
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

Expand All @@ -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 \
Expand Down
6 changes: 3 additions & 3 deletions misc/py-torchvision/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4a4e442

Please sign in to comment.