commit:     3f9262ae557799fac8401f7bcd3f6412fc133ab3
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  9 21:27:16 2026 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Feb  9 21:27:16 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f9262ae

sci-ml/torchvision: drop 0.23.0-r1

Bug: https://bugs.gentoo.org/969777
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/torchvision/Manifest                     |   1 -
 sci-ml/torchvision/torchvision-0.23.0-r1.ebuild | 114 ------------------------
 2 files changed, 115 deletions(-)

diff --git a/sci-ml/torchvision/Manifest b/sci-ml/torchvision/Manifest
index 1cb86a5884dc..812c2f1bd960 100644
--- a/sci-ml/torchvision/Manifest
+++ b/sci-ml/torchvision/Manifest
@@ -1,2 +1 @@
-DIST torchvision-0.23.0.tar.gz 14496885 BLAKE2B 
601c47ff313bbf94fe2d2afd3dba4cbd4167ef6b8a5c53010636bc550fdcd76ae92d0c5a97156bfa039d5a7baad229132f320dc7355a282c073debbb667ea153
 SHA512 
2a78723fe719b7cf1598516fa2d05beb6c9af28299b86a5424d7e4b5c2413bf26114ccaedcb26b44689e049625cb7210b0608584ca344773ac07022462e483c1
 DIST torchvision-0.24.1.tar.gz 14588923 BLAKE2B 
a9ed0856f3b5b69175191b90904d13b3bca607a27ae9d87675223c34497a2c5dcde3e3a5a03710e2f6d71600d2e7d41d98b6a4455812c677cbee4f169be4623a
 SHA512 
51f958527c17ddbc46275e5850295e3e21a79edf992c8a9b4c78b045977200440158e8efa9ca718fbe88e494596a38c92b5b2b6410f32e4370654bd417090076

diff --git a/sci-ml/torchvision/torchvision-0.23.0-r1.ebuild 
b/sci-ml/torchvision/torchvision-0.23.0-r1.ebuild
deleted file mode 100644
index dfebd8855d15..000000000000
--- a/sci-ml/torchvision/torchvision-0.23.0-r1.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_EXT=1
-ROCM_SKIP_GLOBALS=1
-inherit cuda distutils-r1 multiprocessing rocm
-
-DESCRIPTION="Datasets, transforms and models to specific to computer vision"
-HOMEPAGE="https://github.com/pytorch/vision";
-SRC_URI="https://github.com/pytorch/vision/archive/refs/tags/v${PV}.tar.gz
-       -> ${P}.tar.gz"
-
-S="${WORKDIR}"/vision-${PV}
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="cuda +ffmpeg +jpeg +png rocm +webp"
-
-REQUIRED_USE="
-       ?? ( cuda rocm )
-"
-
-RDEPEND="
-       $(python_gen_cond_dep '
-               dev-python/numpy[${PYTHON_USEDEP}]
-               dev-python/pillow[${PYTHON_USEDEP}]
-       ')
-       jpeg? ( media-libs/libjpeg-turbo:= )
-       png? ( media-libs/libpng:= )
-       webp? ( media-libs/libwebp )
-       ffmpeg? ( media-video/ffmpeg )
-       sci-ml/caffe2[cuda?,rocm?,${PYTHON_SINGLE_USEDEP}]
-       sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}]
-"
-
-BDEPEND="
-       test? (
-               $(python_gen_cond_dep '
-                       dev-python/pytest-mock[${PYTHON_USEDEP}]
-                       dev-python/lmdb[${PYTHON_USEDEP}]
-               ')
-       )
-"
-
-distutils_enable_tests pytest
-
-PATCHES=( "${FILESDIR}"/${PN}-0.24.0-ffmpeg8.patch )
-
-src_prepare() {
-       # multilib fixes
-       sed "s/ffmpeg_root, \"lib\"/ffmpeg_root, \"$(get_libdir)\"/" \
-               -i setup.py || die
-
-       use cuda && cuda_src_prepare
-       distutils-r1_src_prepare
-}
-
-src_configure() {
-       rocm_add_sandbox -w
-       distutils-r1_src_configure
-}
-
-python_compile() {
-       addpredict /dev/kfd
-
-       export FORCE_CUDA=0
-       if use cuda || use rocm ; then
-         export FORCE_CUDA=1
-       fi
-
-       export TORCHVISION_USE_PNG=$(usex png 1 0)
-       export TORCHVISION_USE_JPEG=$(usex jpeg 1 0)
-       export TORCHVISION_USE_WEBP=$(usex webp 1 0)
-       export TORCHVISION_USE_FFMPEG=$(usex ffmpeg 1 0)
-
-       export TORCHVISION_USE_NVJPEG=$(usex cuda 1 0)
-       export TORCHVISION_USE_VIDEO_CODEC=$(usex cuda 1 0)
-
-       NVCC_FLAGS="${NVCCFLAGS}" \
-               MAX_JOBS="$(makeopts_jobs)" \
-               distutils-r1_python_compile -j1
-}
-
-python_test() {
-       rm -r torchvision || die
-
-       local EPYTEST_IGNORE=(
-               test/test_videoapi.py
-       )
-       local EPYTEST_DESELECT=(
-               
test/test_backbone_utils.py::TestFxFeatureExtraction::test_forward_backward
-               
test/test_backbone_utils.py::TestFxFeatureExtraction::test_jit_forward_backward
-               test/test_models.py::test_classification_model
-               
test/test_extended_models.py::TestHandleLegacyInterface::test_pretrained_pos
-               
test/test_extended_models.py::TestHandleLegacyInterface::test_equivalent_behavior_weights
-               test/test_image.py::test_decode_avif[decode_avif]
-               test/test_image.py::test_decode_bad_encoded_data
-               test/test_image.py::test_decode_gif[False-earth]
-               test/test_image.py::test_decode_gif[True-earth]
-               test/test_image.py::test_decode_heic[decode_heic]
-               test/test_image.py::test_decode_webp
-               test/test_models.py::test_quantized_classification_model
-               test/test_ops.py::test_roi_opcheck
-               
test/test_ops.py::TestDeformConv::test_aot_dispatch_dynamic__test_backward
-               
test/test_ops.py::TestDeformConv::test_aot_dispatch_dynamic__test_forward
-       )
-       epytest
-}

Reply via email to