diff options
author | Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> | 2023-11-29 17:10:55 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-12-11 15:12:06 +0100 |
commit | 881c4af9c6aee5bee5ccc6a7957c65a42afd9ba2 (patch) | |
tree | 3f87a7fe21e3d1f381ab399e110312f189fbf1cd /sci-physics | |
parent | media-gfx/exact-image: stabilize 1.0.2-r8 for amd64 (diff) | |
download | gentoo-881c4af9c6aee5bee5ccc6a7957c65a42afd9ba2.tar.gz gentoo-881c4af9c6aee5bee5ccc6a7957c65a42afd9ba2.tar.bz2 gentoo-881c4af9c6aee5bee5ccc6a7957c65a42afd9ba2.zip |
sci-physics/hepmc: add 3.2.7
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/34046
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/hepmc/Manifest | 1 | ||||
-rw-r--r-- | sci-physics/hepmc/hepmc-3.2.7.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest index 143bd6a6a44c..035473725dea 100644 --- a/sci-physics/hepmc/Manifest +++ b/sci-physics/hepmc/Manifest @@ -1,5 +1,6 @@ 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-3.2.7.tar.gz 9345591 BLAKE2B e053b9d91552e1e969742a4e3295e233afba1a9f37bc33474f9b8faeda69f3dccddf3fa0aa7d23e6620df1a321c2d8eab51fce08da6fb8f68de130fc5f90ece9 SHA512 c4072fe4e3d80b90f5e5437781d2c7e1439b777318eecd1202cf7611d1ba2910394d72280873c6f897c43f2dd274ebb7cb77f43b223efb13c823aeaef6ba0e71 DIST HepMC3-e05d32ebac8705c0097e9e7d00ce815a205110db.tar.gz 9346161 BLAKE2B 9304d329332c2d4eb0ef6526a3308aecd29a38c569d3ba57d94767fd38ad052514f75a7a90f301c54185230d7693a67e48d59b66b12f42626a7ef900e309f743 SHA512 45f9edc6c56f9f8494b416bff147dccca64c52a90e0e169ede560ae8cf9e9255258b7af1586dd1c856f4010c22b2e668511bab160487a3ba802b629d03015e55 DIST hepmc2.06.09.tgz 3802048 BLAKE2B 2d2ddb558a313f34fb035cc10e8b914e25c65f21224545834471861a0f84e73957e841aa64af214ebeafc368a3a765aaf59d82ce81365d2c12135a1b5c03e7aa SHA512 c06277eaa76da3d0853e235ae5ae2e2d01060dc0c171f94eab12ecf16c73870b48f9066735f17f463735bf4bf41c3cd1e151e03f5b827aabc844fcc04b577b3f DIST hepmc2.06.11.tgz 4893958 BLAKE2B ac8eef250cb330a167c9e0f4bd1aaf8df82e0ffec3557ab5cdaf8bc5b0b7333d6a45f73710ce63abab52d2c5758d5663c15c2a7c940a09504b3ef2fd4517aa0b SHA512 81c100d4931e0e4de62c8ffd18cc06e7996a642fecc092892988bdc0dd0dc3c0f5b336e85f09ceb8f5e0e09456775ae5928d37daf28d82923476089bc0e910f2 diff --git a/sci-physics/hepmc/hepmc-3.2.7.ebuild b/sci-physics/hepmc/hepmc-3.2.7.ebuild new file mode 100644 index 000000000000..1d86c5108e8c --- /dev/null +++ b/sci-physics/hepmc/hepmc-3.2.7.ebuild @@ -0,0 +1,64 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit fortran-2 cmake python-single-r1 + +MYPN=HepMC3 +MYP=${MYPN}-${PV} + +DESCRIPTION="Event Record for Monte Carlo Generators" +HOMEPAGE="https://hepmc.web.cern.ch/hepmc/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.cern.ch/hepmc/HepMC3" +else + SRC_URI="https://hepmc.web.cern.ch/hepmc/releases/${MYP}.tar.gz" + S="${WORKDIR}/${MYP}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="3" +IUSE="doc test examples python root" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ') + ) +" +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 + use python && python_optimize +} |