commit:     4b65e243abca6e810c80e05d645231a301dd483b
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Mon May 12 12:25:24 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Wed May 14 12:09:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b65e243

sci-physics/hepmc: Don't REQUIRE_USE python_single_target with -python

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Part-of: https://github.com/gentoo/gentoo/pull/42053
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 sci-physics/hepmc/hepmc-3.2.7.ebuild | 6 +++++-
 sci-physics/hepmc/hepmc-3.3.1.ebuild | 6 +++++-
 sci-physics/hepmc/hepmc-9999.ebuild  | 6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/sci-physics/hepmc/hepmc-3.2.7.ebuild 
b/sci-physics/hepmc/hepmc-3.2.7.ebuild
index 4074958aea33..8ab773c0544a 100644
--- a/sci-physics/hepmc/hepmc-3.2.7.ebuild
+++ b/sci-physics/hepmc/hepmc-3.2.7.ebuild
@@ -25,7 +25,7 @@ LICENSE="GPL-3+"
 SLOT="3"
 IUSE="doc test examples python root"
 RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
        python? (
@@ -46,6 +46,10 @@ BDEPEND="
        )
 "
 
+pkg_setup() {
+       use python && python-single-r1_pkg_setup
+}
+
 src_configure() {
        filter-lto # 941937 941936
        local mycmakeargs=(

diff --git a/sci-physics/hepmc/hepmc-3.3.1.ebuild 
b/sci-physics/hepmc/hepmc-3.3.1.ebuild
index 717ff88c7db3..04ee80aae1ea 100644
--- a/sci-physics/hepmc/hepmc-3.3.1.ebuild
+++ b/sci-physics/hepmc/hepmc-3.3.1.ebuild
@@ -24,7 +24,7 @@ LICENSE="GPL-3+"
 SLOT="3"
 IUSE="doc test examples python root static-libs"
 RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
        python? (
@@ -60,6 +60,10 @@ BDEPEND="
        )
 "
 
+pkg_setup() {
+       use python && python-single-r1_pkg_setup
+}
+
 src_configure() {
        filter-lto # 941937 941936
        local mycmakeargs=(

diff --git a/sci-physics/hepmc/hepmc-9999.ebuild 
b/sci-physics/hepmc/hepmc-9999.ebuild
index 717ff88c7db3..04ee80aae1ea 100644
--- a/sci-physics/hepmc/hepmc-9999.ebuild
+++ b/sci-physics/hepmc/hepmc-9999.ebuild
@@ -24,7 +24,7 @@ LICENSE="GPL-3+"
 SLOT="3"
 IUSE="doc test examples python root static-libs"
 RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
        python? (
@@ -60,6 +60,10 @@ BDEPEND="
        )
 "
 
+pkg_setup() {
+       use python && python-single-r1_pkg_setup
+}
+
 src_configure() {
        filter-lto # 941937 941936
        local mycmakeargs=(

Reply via email to