Skip to content

Commit

Permalink
sci-physics/root: call python-single-r1_pkg_setup unconditionally.
Browse files Browse the repository at this point in the history
ROOT relies on python to generate headers, even if pyROOT is not
enabled.

Signed-off-by: Benda Xu <[email protected]>
  • Loading branch information
heroxbd committed Mar 11, 2024
1 parent 13e8063 commit 145ae30
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion sci-physics/root/root-6.28.12-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion sci-physics/root/root-6.30.04-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion sci-physics/root/root-6.30.9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion sci-physics/root/root-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 145ae30

Please sign in to comment.