From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D2980158041 for ; Fri, 15 Mar 2024 14:17:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00080E29EE; Fri, 15 Mar 2024 14:17:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7A31E29EE for ; Fri, 15 Mar 2024 14:17:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 25A6F335DE9 for ; Fri, 15 Mar 2024 14:17:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BC1114A8 for ; Fri, 15 Mar 2024 14:17:43 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1710511917.a00ea592a7d1ae2ffe95363a3ed59ded7585e2c5.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/hepmc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/hepmc/hepmc-3.2.6.ebuild sci-physics/hepmc/hepmc-3.2.7.ebuild sci-physics/hepmc/hepmc-9999.ebuild X-VCS-Directories: sci-physics/hepmc/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: a00ea592a7d1ae2ffe95363a3ed59ded7585e2c5 X-VCS-Branch: master Date: Fri, 15 Mar 2024 14:17:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cf0f0e08-a729-4755-a1a6-13855afcc70d X-Archives-Hash: 8bf761759f67627a6ad000aa37b80dad commit: a00ea592a7d1ae2ffe95363a3ed59ded7585e2c5 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Thu Mar 14 09:55:58 2024 +0000 Commit: Andrew Ammerlaan gentoo 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 neuwirth-informatik.de> Closes: https://github.com/gentoo/gentoo/pull/35745 Signed-off-by: Andrew Ammerlaan 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 }