commit: a00ea592a7d1ae2ffe95363a3ed59ded7585e2c5 Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Thu Mar 14 09:55:58 2024 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Fri Mar 15 14:11:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00ea592
sci-physics/hepmc: enable py3.12 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> Closes: https://github.com/gentoo/gentoo/pull/35745 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> sci-physics/hepmc/hepmc-3.2.6.ebuild | 2 +- sci-physics/hepmc/hepmc-3.2.7.ebuild | 2 +- sci-physics/hepmc/hepmc-9999.ebuild | 15 +++++++++++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/sci-physics/hepmc/hepmc-3.2.6.ebuild b/sci-physics/hepmc/hepmc-3.2.6.ebuild index ebedecfcd50b..2c4ebb116007 100644 --- a/sci-physics/hepmc/hepmc-3.2.6.ebuild +++ b/sci-physics/hepmc/hepmc-3.2.6.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit fortran-2 cmake python-single-r1 MYPN=HepMC3 diff --git a/sci-physics/hepmc/hepmc-3.2.7.ebuild b/sci-physics/hepmc/hepmc-3.2.7.ebuild index fa5e9a78a45b..2c4ebb116007 100644 --- a/sci-physics/hepmc/hepmc-3.2.7.ebuild +++ b/sci-physics/hepmc/hepmc-3.2.7.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit fortran-2 cmake python-single-r1 MYPN=HepMC3 diff --git a/sci-physics/hepmc/hepmc-9999.ebuild b/sci-physics/hepmc/hepmc-9999.ebuild index cb2ff090e84d..788d8d48adf5 100644 --- a/sci-physics/hepmc/hepmc-9999.ebuild +++ b/sci-physics/hepmc/hepmc-9999.ebuild @@ -3,8 +3,8 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) -inherit cmake python-single-r1 +PYTHON_COMPAT=( python3_{10..12} ) +inherit fortran-2 cmake python-single-r1 MYP=HepMC3-${PV} @@ -26,7 +26,14 @@ IUSE="doc test examples python root" RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RDEPEND="python? ( ${PYTHON_DEPS} )" +RDEPEND=" + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ') + ) +" DEPEND="${RDEPEND}" BDEPEND=" root? ( sci-physics/root:= ) @@ -52,5 +59,5 @@ src_configure() { src_install() { cmake_src_install use examples && docompress -x /usr/share/doc/${PF}/examples - python_optimize + use python && python_optimize }