public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/hepmc/
Date: Fri, 15 Mar 2024 14:17:43 +0000 (UTC)	[thread overview]
Message-ID: <1710511917.a00ea592a7d1ae2ffe95363a3ed59ded7585e2c5.andrewammerlaan@gentoo> (raw)

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
 }


             reply	other threads:[~2024-03-15 14:17 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15 14:17 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-27 11:22 [gentoo-commits] repo/gentoo:master commit in: sci-physics/hepmc/ Nowa Ammerlaan
2025-03-27 11:22 Nowa Ammerlaan
2025-03-27 11:22 Nowa Ammerlaan
2025-03-24 12:32 Nowa Ammerlaan
2025-01-14  8:58 Nowa Ammerlaan
2024-12-03  8:54 Nowa Ammerlaan
2024-11-28 15:19 Nowa Ammerlaan
2024-06-20 11:22 Andrew Ammerlaan
2024-04-12 16:57 Andrew Ammerlaan
2024-03-08  9:03 Guilherme Amadio
2024-03-08  9:03 Guilherme Amadio
2023-12-11 14:12 Andrew Ammerlaan
2023-06-09 15:06 Arthur Zamarin
2023-05-04  2:31 Sam James
2023-05-03 22:09 Sam James
2023-05-02 11:54 Andrew Ammerlaan
2023-05-02 11:54 Andrew Ammerlaan
2023-05-02 11:54 Andrew Ammerlaan
2023-02-25 22:23 Sam James
2023-02-25 22:23 Sam James
2022-12-11 17:55 Arthur Zamarin
2022-08-26 11:13 Andrew Ammerlaan
2022-08-26 11:13 Andrew Ammerlaan
2022-08-26 11:13 Andrew Ammerlaan
2022-03-05 21:40 David Seifert
2020-07-24 11:10 Ulrich Müller
2018-10-14 19:04 Andreas Sturmlechner
2018-10-14 19:04 Andreas Sturmlechner
2018-10-14 19:04 Andreas Sturmlechner
2018-10-14 19:04 Andreas Sturmlechner
2017-10-16  3:34 David Seifert
2016-11-13  9:39 David Seifert
2015-11-11  9:12 Agostino Sarubbo
2015-11-06 11:59 José María Alonso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1710511917.a00ea592a7d1ae2ffe95363a3ed59ded7585e2c5.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox