repo/gentoo:master commit in: sci-ml/pytorch/

"Alfredo Tupone" <[email protected]> Wed, 05 Aug 2026 15:39:50 +0000 (UTC)
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1785944363.82696780ac0085e25e4f4c207b2f305f8081951f.tupone@gentoo>
commit:     82696780ac0085e25e4f4c207b2f305f8081951f
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  5 15:34:49 2026 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Aug  5 15:39:23 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82696780

sci-ml/pytorch: drop 2.11.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/pytorch/Manifest              |  1 -
 sci-ml/pytorch/pytorch-2.11.0.ebuild | 70 ------------------------------------
 2 files changed, 71 deletions(-)

diff --git a/sci-ml/pytorch/Manifest b/sci-ml/pytorch/Manifest
index 3433497817d6..d41e29f2e8ca 100644
--- a/sci-ml/pytorch/Manifest
+++ b/sci-ml/pytorch/Manifest
@@ -1,5 +1,4 @@
 DIST composable_kernel-f1746955.tar.gz 7687217 BLAKE2B 973bf5b8eece2944e053c17eb3f8bf2d7f9a7744a651382c3d9677d6d4098f0107d64f3790899f74644681cdfb84e4989600c1e76bc1e96ee81579f870d55210 SHA512 dd03532d0487735d0ca6af5a37bf6a87917ab3ee81f70b14e29329d67a95f05bbccf18fb706ac9020918e7f6ac235e68b49164589fde073ff407a755daf26950
 DIST flash-attention-2.7.4.gh.tar.gz 5841323 BLAKE2B 432999d763f2b3d732580ddfea5d3e01370351db0656546259a5e500a07516dd03c98828bfb55855dabe4adc651033b5d97ea4725ca46158b9970f0fbc662710 SHA512 05a4afb09e666f7404d6a3f8b5256e7bed6eba60a6f1bde2b7dbb96d318975f0b458c2521c7a38d88e97b6e4c27f29077cf787849daf82586e33f43a3d9a84b3
-DIST pytorch-2.11.0.tar.gz 63504636 BLAKE2B d7227bd2d5475acf696bb48a3ca8cd8b7b6cd75fb99e64ebc71434e23817f94dea5164f48a176dcad1acd12186c33b02452582c1b41d6265b89cf54b29630670 SHA512 a5b27efdbce0506b49808e9dc5fbf1a56a22b1651b60236570823e1fe2c7395a0de9d3d7a01a568a201d593c52e7aa402e5d7645a54cb5932d5866e374ebf945
 DIST pytorch-2.12.0.tar.gz 64740318 BLAKE2B e5e46a93422454da420563d0a8057c87d1ed4b27e0bd9b3b30e46b5e40cfbb489072144ac00267af2f085432d55e12adf750daf15ea165a1252449b00dca1ff9 SHA512 f5ab0f6933d88271f772b416f8c9b3b0d3e1ffaf8d00838b455206266b40d7c805e34003d84b01cddc7f1ad917dd72d6f79a05063b0962cbf223d9042cff3206
 DIST pytorch-2.13.0.tar.gz 66369404 BLAKE2B 373df49b4f2d504aafedd948e34562696335d316ebcd497dbd86a54a3a3c39310d1595050cc2bcae858d0085e6a0c59ed5299962d6a2706441ab28c1699c4821 SHA512 0f7465835ae9206746d507e1b927afb94f8860248473f2d1c5d71ccd40defbd23d0e3e27a1b09deb907e753a7c9008352830170b53441701ade0916d68a42562

diff --git a/sci-ml/pytorch/pytorch-2.11.0.ebuild b/sci-ml/pytorch/pytorch-2.11.0.ebuild
deleted file mode 100644
index 59daa303387f..000000000000
--- a/sci-ml/pytorch/pytorch-2.11.0.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 2022-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..14} )
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_EXT=1
-inherit distutils-r1 prefix
-
-DESCRIPTION="Tensors and Dynamic neural networks in Python"
-HOMEPAGE="https://pytorch.org/"
-SRC_URI="https://github.com/pytorch/${PN}/archive/refs/tags/v${PV}.tar.gz
-	-> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-RESTRICT="test"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-RDEPEND="
-	${PYTHON_DEPS}
-	~sci-ml/caffe2-${PV}[${PYTHON_SINGLE_USEDEP}]
-	$(python_gen_cond_dep '
-		dev-python/sympy[${PYTHON_USEDEP}]
-		dev-python/typing-extensions[${PYTHON_USEDEP}]
-	')
-"
-DEPEND="${RDEPEND}
-	$(python_gen_cond_dep '
-		dev-python/pyyaml[${PYTHON_USEDEP}]
-	')
-"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-2.9.0-dontbuildagain.patch
-	"${FILESDIR}"/${PN}-2.10.0-cpp-extension-multilib.patch
-)
-
-src_prepare() {
-	# Replace placeholders added by cpp-extension.patch
-	sed -e "s|%LIB_DIR%|$(get_libdir)|g" \
-		-i torch/utils/cpp_extension.py || die
-
-	# Set build dir for pytorch's setup
-	sed -e "/BUILD_DIR/s|build|/var/lib/caffe2/|" \
-		-i tools/setup_helpers/env.py || die
-
-	# Drop legacy from pyproject.toml
-	sed -e "/build-backend/s|:__legacy__||" \
-		-i pyproject.toml || die
-
-	distutils-r1_src_prepare
-
-	hprefixify tools/setup_helpers/env.py
-}
-
-python_compile() {
-	PYTORCH_BUILD_VERSION=${PV} \
-	PYTORCH_BUILD_NUMBER=0 \
-	USE_SYSTEM_LIBS=ON \
-	CMAKE_BUILD_DIR="${BUILD_DIR}" \
-	distutils-r1_python_compile develop sdist
-}
-
-python_install() {
-	USE_SYSTEM_LIBS=ON distutils-r1_python_install
-}