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, 26 Aug 2022 11:13:12 +0000 (UTC) [thread overview]
Message-ID: <1661512373.4bff080f8e9d88d5f3523e8c4d73c2d1b87ed1c3.andrewammerlaan@gentoo> (raw)
commit: 4bff080f8e9d88d5f3523e8c4d73c2d1b87ed1c3
Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Wed Jul 27 02:36:31 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 11:12:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bff080f
sci-physics/hepmc: add 3.2.5
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 +
sci-physics/hepmc/hepmc-3.2.5.ebuild | 51 ++++++++++++++++++++++++++++++++++++
sci-physics/hepmc/metadata.xml | 1 +
3 files changed, 53 insertions(+)
diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest
index cf51f51c18a5..956b4d3fc19a 100644
--- a/sci-physics/hepmc/Manifest
+++ b/sci-physics/hepmc/Manifest
@@ -1 +1,2 @@
DIST HepMC-2.06.09.tar.gz 4612637 BLAKE2B 6bbf1a6a8410b6717ddff29fc3643247582f7a61a05fd9e52a0b09f78bf75de587c1c55525f6a1367b306a26a4687ce55b64908c049d91bdb2db3d40467af62b SHA512 1030f31ad9d19d8ae184145a693c4a3092131f485e2ed89598b7172992a825ad9aa46fb44a9199a00c4a6bd7e163daead9452e9bc4fe32cb3b97351cf22906c4
+DIST HepMC3-3.2.5.tar.gz 9217649 BLAKE2B 520e4621cdfa277376e94b87a070f23e6479867bbf696dc972e7496c54504c7da921932fbeaf7713cbaab18c72101ad3fa79396fe8ee1737180946696dcd1fbd SHA512 de60aaa686f6499c62112c265438b9ba41a7ed312b767ddc3409178b6e908e4fffd6a1153bd9f2929cf479074b14bcbec33d377f51a11cfcd4c67e45fc9bb2b9
diff --git a/sci-physics/hepmc/hepmc-3.2.5.ebuild b/sci-physics/hepmc/hepmc-3.2.5.ebuild
new file mode 100644
index 000000000000..6a91e322f3ec
--- /dev/null
+++ b/sci-physics/hepmc/hepmc-3.2.5.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# python3_11 fails
+PYTHON_COMPAT=( python3_{8..10} )
+inherit cmake python-single-r1
+
+MYP=HepMC3-${PV}
+
+DESCRIPTION="Event Record for Monte Carlo Generators"
+HOMEPAGE="https://hepmc.web.cern.ch/hepmc/"
+SRC_URI="https://hepmc.web.cern.ch/hepmc/releases/${MYP}.tar.gz"
+S="${WORKDIR}/${MYP}"
+
+LICENSE="GPL-3+"
+SLOT="3"
+KEYWORDS="~amd64"
+IUSE="doc test examples python root"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ root? ( sci-physics/root:= )
+ doc? (
+ app-doc/doxygen[dot]
+ dev-texlive/texlive-latex
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-latexrecommended
+ )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DHEPMC3_ENABLE_ROOTIO=$(usex root ON OFF)
+ -DHEPMC3_ENABLE_PYTHON=$(usex python ON OFF)
+ -DHEPMC3_ENABLE_TEST=$(usex test ON OFF)
+ -DHEPMC3_BUILD_DOCS=$(usex doc ON OFF)
+ -DHEPMC3_BUILD_EXAMPLES=$(usex examples ON OFF)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ use examples && docompress -x /usr/share/doc/${PF}/examples
+ python_optimize
+}
diff --git a/sci-physics/hepmc/metadata.xml b/sci-physics/hepmc/metadata.xml
index 568fd23f5361..f767f2a48679 100644
--- a/sci-physics/hepmc/metadata.xml
+++ b/sci-physics/hepmc/metadata.xml
@@ -24,5 +24,6 @@
<use>
<flag name="gev">Build with GeV instead of default MeV for momentum units</flag>
<flag name="cm">Build with cm instead of default mm for length units</flag>
+ <flag name="root">Build with ROOTIO enabled</flag>
</use>
</pkgmetadata>
next reply other threads:[~2022-08-26 11:13 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-26 11:13 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-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-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=1661512373.4bff080f8e9d88d5f3523e8c4d73c2d1b87ed1c3.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