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: Tue,  2 May 2023 11:54:45 +0000 (UTC)	[thread overview]
Message-ID: <1683028451.8ddc2070e5adb146d988e988d843fe65fd8e42a2.andrewammerlaan@gentoo> (raw)

commit:     8ddc2070e5adb146d988e988d843fe65fd8e42a2
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Sun Apr 30 18:03:24 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue May  2 11:54:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ddc2070

sci-physics/hepmc: Add fortran and numpy deps

Closes: https://bugs.gentoo.org/905129
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-physics/hepmc/Manifest                                  |  1 +
 ...2.5_p20230225.ebuild => hepmc-3.2.5_p20230225-r1.ebuild} | 13 ++++++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest
index ba98b1642ec6..0520bcb6914e 100644
--- a/sci-physics/hepmc/Manifest
+++ b/sci-physics/hepmc/Manifest
@@ -1,4 +1,5 @@
 DIST HepMC-2.06.09.tar.gz 4612637 BLAKE2B 6bbf1a6a8410b6717ddff29fc3643247582f7a61a05fd9e52a0b09f78bf75de587c1c55525f6a1367b306a26a4687ce55b64908c049d91bdb2db3d40467af62b SHA512 1030f31ad9d19d8ae184145a693c4a3092131f485e2ed89598b7172992a825ad9aa46fb44a9199a00c4a6bd7e163daead9452e9bc4fe32cb3b97351cf22906c4
 DIST HepMC3-3.2.5.tar.gz 9217649 BLAKE2B 520e4621cdfa277376e94b87a070f23e6479867bbf696dc972e7496c54504c7da921932fbeaf7713cbaab18c72101ad3fa79396fe8ee1737180946696dcd1fbd SHA512 de60aaa686f6499c62112c265438b9ba41a7ed312b767ddc3409178b6e908e4fffd6a1153bd9f2929cf479074b14bcbec33d377f51a11cfcd4c67e45fc9bb2b9
+DIST HepMC3-3.2.6.tar.gz 9344806 BLAKE2B da478157ad73915d77851e9da7b236a052cb32e98103c2701f874a81ed62cbc4397489e3a2f64cd25a46c9704ccfcaac4d854357251d8bbb4120cbc1f5149374 SHA512 d8a50f081db109c9c18e4aaee60230be062eaa2947dadfb14759649eb1c504975802b2c822b1fe024d4e73f703e9f399161fa4fe38b526722dda33c2ff2e8fab
 DIST HepMC3-e05d32ebac8705c0097e9e7d00ce815a205110db.tar.gz 9346161 BLAKE2B 9304d329332c2d4eb0ef6526a3308aecd29a38c569d3ba57d94767fd38ad052514f75a7a90f301c54185230d7693a67e48d59b66b12f42626a7ef900e309f743 SHA512 45f9edc6c56f9f8494b416bff147dccca64c52a90e0e169ede560ae8cf9e9255258b7af1586dd1c856f4010c22b2e668511bab160487a3ba802b629d03015e55
 DIST hepmc2.06.11.tgz 4893958 BLAKE2B ac8eef250cb330a167c9e0f4bd1aaf8df82e0ffec3557ab5cdaf8bc5b0b7333d6a45f73710ce63abab52d2c5758d5663c15c2a7c940a09504b3ef2fd4517aa0b SHA512 81c100d4931e0e4de62c8ffd18cc06e7996a642fecc092892988bdc0dd0dc3c0f5b336e85f09ceb8f5e0e09456775ae5928d37daf28d82923476089bc0e910f2

diff --git a/sci-physics/hepmc/hepmc-3.2.5_p20230225.ebuild b/sci-physics/hepmc/hepmc-3.2.5_p20230225-r1.ebuild
similarity index 87%
rename from sci-physics/hepmc/hepmc-3.2.5_p20230225.ebuild
rename to sci-physics/hepmc/hepmc-3.2.5_p20230225-r1.ebuild
index 4f6201190a03..e61cb750aa34 100644
--- a/sci-physics/hepmc/hepmc-3.2.5_p20230225.ebuild
+++ b/sci-physics/hepmc/hepmc-3.2.5_p20230225-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake python-single-r1
+inherit fortran-2 cmake python-single-r1
 
 MYPN=HepMC3
 MYP=${MYPN}-${PV}
@@ -28,7 +28,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:= )
@@ -54,5 +61,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:[~2023-05-02 11:54 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-02 11:54 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-14 12:11 [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-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-15 14:17 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-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=1683028451.8ddc2070e5adb146d988e988d843fe65fd8e42a2.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