commit:     145ae309c6ffbb2c26e75f8d46ba7c60b1c7bf30
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 03:00:53 2024 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 03:08:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=145ae309

sci-physics/root: call python-single-r1_pkg_setup unconditionally.

ROOT relies on python to generate headers, even if pyROOT is not
enabled.

Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 sci-physics/root/root-6.28.12-r1.ebuild | 4 +++-
 sci-physics/root/root-6.30.04-r1.ebuild | 4 +++-
 sci-physics/root/root-6.30.9999.ebuild  | 4 +++-
 sci-physics/root/root-9999.ebuild       | 4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/sci-physics/root/root-6.28.12-r1.ebuild 
b/sci-physics/root/root-6.28.12-r1.ebuild
index cb1bd02dcaa9..1c6e78d4b623 100644
--- a/sci-physics/root/root-6.28.12-r1.ebuild
+++ b/sci-physics/root/root-6.28.12-r1.ebuild
@@ -140,13 +140,15 @@ RDEPEND="${CDEPEND}
        )
 "
 
+BDEPEND="${PYTHON_DEPS}"
+
 PATCHES=(
        "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
 )
 
 pkg_setup() {
        use fortran && fortran-2_pkg_setup
-       use python && python-single-r1_pkg_setup
+       python-single-r1_pkg_setup
 
        elog "There are extra options on packages not available in Gentoo."
        elog "You can use the environment variable MYCMAKEARGS to enable"

diff --git a/sci-physics/root/root-6.30.04-r1.ebuild 
b/sci-physics/root/root-6.30.04-r1.ebuild
index cb1bd02dcaa9..1c6e78d4b623 100644
--- a/sci-physics/root/root-6.30.04-r1.ebuild
+++ b/sci-physics/root/root-6.30.04-r1.ebuild
@@ -140,13 +140,15 @@ RDEPEND="${CDEPEND}
        )
 "
 
+BDEPEND="${PYTHON_DEPS}"
+
 PATCHES=(
        "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
 )
 
 pkg_setup() {
        use fortran && fortran-2_pkg_setup
-       use python && python-single-r1_pkg_setup
+       python-single-r1_pkg_setup
 
        elog "There are extra options on packages not available in Gentoo."
        elog "You can use the environment variable MYCMAKEARGS to enable"

diff --git a/sci-physics/root/root-6.30.9999.ebuild 
b/sci-physics/root/root-6.30.9999.ebuild
index cb1bd02dcaa9..1c6e78d4b623 100644
--- a/sci-physics/root/root-6.30.9999.ebuild
+++ b/sci-physics/root/root-6.30.9999.ebuild
@@ -140,13 +140,15 @@ RDEPEND="${CDEPEND}
        )
 "
 
+BDEPEND="${PYTHON_DEPS}"
+
 PATCHES=(
        "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
 )
 
 pkg_setup() {
        use fortran && fortran-2_pkg_setup
-       use python && python-single-r1_pkg_setup
+       python-single-r1_pkg_setup
 
        elog "There are extra options on packages not available in Gentoo."
        elog "You can use the environment variable MYCMAKEARGS to enable"

diff --git a/sci-physics/root/root-9999.ebuild 
b/sci-physics/root/root-9999.ebuild
index cb1bd02dcaa9..1c6e78d4b623 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -140,13 +140,15 @@ RDEPEND="${CDEPEND}
        )
 "
 
+BDEPEND="${PYTHON_DEPS}"
+
 PATCHES=(
        "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
 )
 
 pkg_setup() {
        use fortran && fortran-2_pkg_setup
-       use python && python-single-r1_pkg_setup
+       python-single-r1_pkg_setup
 
        elog "There are extra options on packages not available in Gentoo."
        elog "You can use the environment variable MYCMAKEARGS to enable"

Reply via email to