summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-08-01 09:29:25 +0200
committerAlfredo Tupone <tupone@gentoo.org>2023-08-01 09:30:12 +0200
commitdad0c736cba97bd2cc73f529aa4b10693829a8e9 (patch)
treeee3f13602156738a84cb79179e9a49bad15ba647 /sci-libs
parentsci-libs/caffe2: prefixify (by ZongyuZ) (diff)
downloadgentoo-dad0c736cba97bd2cc73f529aa4b10693829a8e9.tar.gz
gentoo-dad0c736cba97bd2cc73f529aa4b10693829a8e9.tar.bz2
gentoo-dad0c736cba97bd2cc73f529aa4b10693829a8e9.zip
sci-libs/pytorch: prefixify (by ZongyuZ)
Closes: https://bugs.gentoo.org/911421 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/pytorch/pytorch-2.0.1-r1.ebuild (renamed from sci-libs/pytorch/pytorch-2.0.1.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/sci-libs/pytorch/pytorch-2.0.1.ebuild b/sci-libs/pytorch/pytorch-2.0.1-r1.ebuild
index b778dcb357c3..11f7d447a1e1 100644
--- a/sci-libs/pytorch/pytorch-2.0.1.ebuild
+++ b/sci-libs/pytorch/pytorch-2.0.1-r1.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_EXT=1
-inherit distutils-r1
+inherit distutils-r1 prefix
DESCRIPTION="Tensors and Dynamic neural networks in Python"
HOMEPAGE="https://pytorch.org/"
@@ -49,6 +49,8 @@ src_prepare() {
tools/setup_helpers/env.py \
|| die
distutils-r1_src_prepare
+
+ hprefixify tools/setup_helpers/env.py
}
src_compile() {