commit:     99221a7072b26b57ba8ce4b3ad5e1716ede5f46a
Author:     Raouf Bencheraiet <foufou33 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 12 19:23:09 2021 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Apr 20 15:41:12 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=99221a70

sci-libs/pytorch: require 0 or oneof (cuda rocm)

instead of exactly oneof (cuda rocm)
Signed-off-by:  Raouf Bencheraiet <foufou33 <AT> gmail.com>
Closes: https://github.com/gentoo/sci/pull/1078
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 sci-libs/pytorch/pytorch-1.7.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pytorch/pytorch-1.7.1-r2.ebuild 
b/sci-libs/pytorch/pytorch-1.7.1-r2.ebuild
index dff47d8da..99cc2e750 100644
--- a/sci-libs/pytorch/pytorch-1.7.1-r2.ebuild
+++ b/sci-libs/pytorch/pytorch-1.7.1-r2.ebuild
@@ -58,7 +58,7 @@ KEYWORDS="~amd64"
 IUSE="asan blas cuda +fbgemm ffmpeg gflags glog +gloo leveldb lmdb mkldnn mpi 
namedtensor +nnpack numa +observers opencl opencv +openmp +python +qnnpack 
redis rocm static test tools zeromq"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="
-       ^^ ( cuda rocm )
+       ?? ( cuda rocm )
 "
 
 RDEPEND="

Reply via email to