commit:     0396599c81e3c642c58fdfee91772c126d9f7060
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  4 16:27:46 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Apr  4 16:27:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0396599c

sci-libs/caffe2: disable py3.9

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

 sci-libs/caffe2/caffe2-2.1.2-r7.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild 
b/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild
index f57406145c6a..9fa0ecb0aa74 100644
--- a/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild
+++ b/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
 ROCM_VERSION=5.7
 inherit python-single-r1 cmake cuda flag-o-matic prefix rocm
 
@@ -48,7 +48,7 @@ RDEPEND="
        cuda? (
                =dev-libs/cudnn-8*
                >=dev-libs/cudnn-frontend-0.9.2:0/8
-               dev-util/nvidia-cuda-toolkit:=[profiler]
+               <dev-util/nvidia-cuda-toolkit-12.4.0:=[profiler]
        )
        fbgemm? ( >=dev-libs/FBGEMM-2023.11.02 )
        ffmpeg? ( media-video/ffmpeg:= )
@@ -97,8 +97,6 @@ DEPEND="
        ')
 "
 
-S="${WORKDIR}"/${MYP}
-
 PATCHES=(
        "${FILESDIR}"/${PN}-2.1.1-gentoo.patch
        "${FILESDIR}"/${PN}-1.13.0-install-dirs.patch
@@ -112,6 +110,8 @@ PATCHES=(
        "${FILESDIR}"/${PN}-2.1.2-rocm-fix-std-cpp17.patch
 )
 
+S="${WORKDIR}"/${MYP}
+
 src_prepare() {
        filter-lto #bug 862672
        sed -i \

Reply via email to