diff options
author | Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> | 2024-03-14 10:55:58 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-03-15 15:11:57 +0100 |
commit | a00ea592a7d1ae2ffe95363a3ed59ded7585e2c5 (patch) | |
tree | a8124f63a2907cbf0d72af2202cf9db3a11de782 /sci-physics/hepmc | |
parent | dev-ruby/aws-partitions: add 1.897.0 (diff) | |
download | gentoo-a00ea592a7d1ae2ffe95363a3ed59ded7585e2c5.tar.gz gentoo-a00ea592a7d1ae2ffe95363a3ed59ded7585e2c5.tar.bz2 gentoo-a00ea592a7d1ae2ffe95363a3ed59ded7585e2c5.zip |
sci-physics/hepmc: enable py3.12
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/35745
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-physics/hepmc')
-rw-r--r-- | sci-physics/hepmc/hepmc-3.2.6.ebuild | 2 | ||||
-rw-r--r-- | sci-physics/hepmc/hepmc-3.2.7.ebuild | 2 | ||||
-rw-r--r-- | 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 } |