commit:     e6da30824d2c3738ed215a22ee3f1619474bd6d1
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 14 12:33:09 2023 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 15:13:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6da3082

sci-physics/root: fix dependencies for USE=jupyter

Closes: https://bugs.gentoo.org/917264
Fixes: 4cf3d9955693efdf7c3f4f4fcff869886fbae6d8

Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 sci-physics/root/root-6.28.08.ebuild   | 13 ++++++++-----
 sci-physics/root/root-6.28.9999.ebuild | 13 ++++++++-----
 sci-physics/root/root-9999.ebuild      | 13 ++++++++-----
 3 files changed, 24 insertions(+), 15 deletions(-)

diff --git a/sci-physics/root/root-6.28.08.ebuild 
b/sci-physics/root/root-6.28.08.ebuild
index f116da228820..32012c31e7b4 100644
--- a/sci-physics/root/root-6.28.08.ebuild
+++ b/sci-physics/root/root-6.28.08.ebuild
@@ -43,6 +43,7 @@ REQUIRED_USE="
        cudnn? ( cuda )
        !X? ( !asimage !opengl !qt5 )
        davix? ( ssl xml )
+       jupyter? ( python )
        python? ( ${PYTHON_REQUIRED_USE} )
        qt5? ( root7 )
        roofit? ( minuit )
@@ -128,11 +129,13 @@ DEPEND="${CDEPEND}
        virtual/pkgconfig"
 
 RDEPEND="${CDEPEND}
-       $(python_gen_cond_dep '
-               dev-python/jupyter[${PYTHON_USEDEP}]
-               dev-python/notebook[${PYTHON_USEDEP}]
-               dev-python/metakernel[${PYTHON_USEDEP}]
-       ')
+       jupyter? (
+               $(python_gen_cond_dep '
+                       dev-python/jupyter[${PYTHON_USEDEP}]
+                       dev-python/notebook[${PYTHON_USEDEP}]
+                       dev-python/metakernel[${PYTHON_USEDEP}]
+               ')
+       )
 "
 
 PATCHES=(

diff --git a/sci-physics/root/root-6.28.9999.ebuild 
b/sci-physics/root/root-6.28.9999.ebuild
index f116da228820..32012c31e7b4 100644
--- a/sci-physics/root/root-6.28.9999.ebuild
+++ b/sci-physics/root/root-6.28.9999.ebuild
@@ -43,6 +43,7 @@ REQUIRED_USE="
        cudnn? ( cuda )
        !X? ( !asimage !opengl !qt5 )
        davix? ( ssl xml )
+       jupyter? ( python )
        python? ( ${PYTHON_REQUIRED_USE} )
        qt5? ( root7 )
        roofit? ( minuit )
@@ -128,11 +129,13 @@ DEPEND="${CDEPEND}
        virtual/pkgconfig"
 
 RDEPEND="${CDEPEND}
-       $(python_gen_cond_dep '
-               dev-python/jupyter[${PYTHON_USEDEP}]
-               dev-python/notebook[${PYTHON_USEDEP}]
-               dev-python/metakernel[${PYTHON_USEDEP}]
-       ')
+       jupyter? (
+               $(python_gen_cond_dep '
+                       dev-python/jupyter[${PYTHON_USEDEP}]
+                       dev-python/notebook[${PYTHON_USEDEP}]
+                       dev-python/metakernel[${PYTHON_USEDEP}]
+               ')
+       )
 "
 
 PATCHES=(

diff --git a/sci-physics/root/root-9999.ebuild 
b/sci-physics/root/root-9999.ebuild
index f116da228820..32012c31e7b4 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -43,6 +43,7 @@ REQUIRED_USE="
        cudnn? ( cuda )
        !X? ( !asimage !opengl !qt5 )
        davix? ( ssl xml )
+       jupyter? ( python )
        python? ( ${PYTHON_REQUIRED_USE} )
        qt5? ( root7 )
        roofit? ( minuit )
@@ -128,11 +129,13 @@ DEPEND="${CDEPEND}
        virtual/pkgconfig"
 
 RDEPEND="${CDEPEND}
-       $(python_gen_cond_dep '
-               dev-python/jupyter[${PYTHON_USEDEP}]
-               dev-python/notebook[${PYTHON_USEDEP}]
-               dev-python/metakernel[${PYTHON_USEDEP}]
-       ')
+       jupyter? (
+               $(python_gen_cond_dep '
+                       dev-python/jupyter[${PYTHON_USEDEP}]
+                       dev-python/notebook[${PYTHON_USEDEP}]
+                       dev-python/metakernel[${PYTHON_USEDEP}]
+               ')
+       )
 "
 
 PATCHES=(

Reply via email to